/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | global_menu_bar.cc | 30 int command; member in struct:GlobalMenuBarCommand 227 commands[i].str_id, commands[i].command, commands[i].tag, 275 g_object_set_data(G_OBJECT(menu_item), "command-id", 308 int id = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(sender), "command-id"));
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | reload_button.cc | 161 int command; local 164 command = IDC_RELOAD_IGNORING_CACHE; 168 command = IDC_RELOAD; 175 // browser to execute the reload command). 179 ExecuteBrowserCommand(command, flags); 235 void ReloadButton::ExecuteBrowserCommand(int command, int event_flags) { argument 247 command_updater_->ExecuteCommandWithDisposition(command, disposition);
|
/external/chromium_org/chrome/installer/util/ |
H A D | google_chrome_distribution.cc | 89 string16 command = iexplore.value() + L" " + GetUninstallSurveyUrl() + local 98 command += uninstall_metrics; 100 command += L"&"; 101 command += distribution_data; 110 installer::WMIProcess::Launch(command, &pid);
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
H A D | adb_impl.cc | 44 "Adb command timed out after %d seconds", 50 "Failed to run adb command, is the adb server running?"); 65 const std::string& command, scoped_refptr<ResponseBuffer> response_buffer) { 67 AdbClientSocket::AdbQuery(5037, command, 122 "Chrome command line arguments must not contain single quotes"); 131 return Status(kUnknownError, "Failed to set command line file " + 139 std::string command = "pm path " + package; local 140 Status status = ExecuteHostShellCommand(device_serial, command, &response); 152 std::string command = "pm clear " + package; local 153 Status status = ExecuteHostShellCommand(device_serial, command, 64 ExecuteCommandOnIOThread( const std::string& command, scoped_refptr<ResponseBuffer> response_buffer) argument 218 ExecuteCommand( const std::string& command, std::string* response) argument [all...] |
H A D | console_logger_unittest.cc | 26 std::string command; local 28 command = sent_command_queue_.front(); 31 return command;
|
/external/chromium_org/chrome/test/chromedriver/ |
H A D | chrome_launcher.cc | 72 CommandLine command = capabilities.command; local 73 base::FilePath program = command.GetProgram(); 77 command.SetProgram(program); 84 command.AppendSwitchASCII("remote-debugging-port", base::IntToString(port)); 85 command.AppendSwitch("no-first-run"); 86 command.AppendSwitch("enable-logging"); 87 command.AppendSwitchASCII("logging-level", "1"); 88 command.AppendArg("data:text/html;charset=utf-8,"); 90 if (!command 304 ProcessExtensions(const std::vector<std::string>& extensions, const base::FilePath& temp_dir, bool include_automation_extension, CommandLine* command) argument [all...] |
H A D | commands.cc | 234 const SessionCommand& command, 252 Status status = command.Run(session, *params, &value); 271 const SessionCommand& command, 284 command, 233 ExecuteSessionCommandOnSessionThread( const SessionCommand& command, bool return_ok_without_session, scoped_ptr<base::DictionaryValue> params, scoped_refptr<base::SingleThreadTaskRunner> cmd_task_runner, const CommandCallback& callback_on_cmd, const base::Closure& terminate_on_cmd) argument 269 ExecuteSessionCommand( SessionThreadMap* session_thread_map, const SessionCommand& command, bool return_ok_without_session, const base::DictionaryValue& params, const std::string& session_id, const CommandCallback& callback) argument
|
H A D | element_commands.cc | 84 const ElementCommand& command, 91 return command.Run(session, web_view, id, params, value); 83 ExecuteElementCommand( const ElementCommand& command, Session* session, WebView* web_view, const base::DictionaryValue& params, scoped_ptr<base::Value>* value) argument
|
/external/chromium_org/chrome/test/chromedriver/server/ |
H A D | http_handler.cc | 54 const Command& command) 55 : method(method), path_pattern(path_pattern), command(command) {} 494 base::StringPrintf("handling command: %s %s %s", 506 response->SetBody("unknown command: " + trimmed_path, "text/plain"); 523 response->SetBody("missing command parameters", "test/plain"); 530 iter->command.Run(params, 564 response->SetBody("unimplemented command: " + trimmed_path, "text/plain"); 624 const CommandMapping& command, 627 if (!MatchesMethod(command 52 CommandMapping(HttpMethod method, const std::string& path_pattern, const Command& command) argument 622 MatchesCommand(const std::string& method, const std::string& path, const CommandMapping& command, std::string* session_id, base::DictionaryValue* out_params) argument [all...] |
/external/chromium_org/chrome/test/mini_installer_test/ |
H A D | installer_test_util.cc | 162 CommandLine command(installer); 163 LOG(INFO) << "Running installer command: " 164 << command.GetCommandLineString(); 165 return installer_test::RunAndWaitForCommandToFinish(command); 173 CommandLine command(installer); 174 command.AppendArguments(switches.GetSwitches(), false); 175 LOG(INFO) << "Running installer command: " 176 << command.GetCommandLineString(); 177 return installer_test::RunAndWaitForCommandToFinish(command); 193 LOG(INFO) << "Browser launch command 282 RunAndWaitForCommandToFinish(CommandLine command) argument [all...] |
/external/chromium_org/chromeos/process_proxy/ |
H A D | process_proxy.cc | 47 bool ProcessProxy::Open(const std::string& command, pid_t* pid) { argument 55 process_launched_ = LaunchProcess(command, pt_pair_[PT_SLAVE_FD], &pid_); 218 bool ProcessProxy::LaunchProcess(const std::string& command, int slave_fd, argument 234 return base::LaunchProcess(CommandLine(base::FilePath(command)), options,
|
/external/chromium_org/content/browser/devtools/ |
H A D | render_view_devtools_agent_host.cc | 159 scoped_refptr<DevToolsProtocol::Command> command = local 162 if (command) { 164 overrides_handler_->HandleCommand(command); 166 overridden_response = tracing_handler_->HandleCommand(command);
|
H A D | renderer_overrides_handler.cc | 78 scoped_refptr<DevToolsProtocol::Command> command) { 79 base::DictionaryValue* params = command->params(); 84 return command->InvalidParamResponse(param); 92 return command->InvalidParamResponse(param); 101 scoped_refptr<DevToolsProtocol::Command> command) { 102 base::DictionaryValue* params = command->params(); 107 return command->InvalidParamResponse(paramAccept); 128 return command->InternalErrorResponse("No JavaScript dialog to handle"); 133 scoped_refptr<DevToolsProtocol::Command> command) { 134 base::DictionaryValue* params = command 77 GrantPermissionsForSetFileInputFiles( scoped_refptr<DevToolsProtocol::Command> command) argument 100 PageHandleJavaScriptDialog( scoped_refptr<DevToolsProtocol::Command> command) argument 132 PageNavigate( scoped_refptr<DevToolsProtocol::Command> command) argument 156 PageCaptureScreenshot( scoped_refptr<DevToolsProtocol::Command> command) argument 213 ScreenshotCaptured( scoped_refptr<DevToolsProtocol::Command> command, const std::string& format, int quality, double scale, bool success, const SkBitmap& bitmap) argument [all...] |
H A D | tethering_handler.cc | 267 static int GetPort(scoped_refptr<DevToolsProtocol::Command> command) { argument 268 base::DictionaryValue* params = command->params(); 277 TetheringHandler::OnBind(scoped_refptr<DevToolsProtocol::Command> command) { argument 278 int port = GetPort(command); 280 return command->InvalidParamResponse(kPortParam); 283 return command->InternalErrorResponse("Port already bound"); 287 return command->InternalErrorResponse("Could not bind port"); 290 return command->SuccessResponse(NULL); 294 TetheringHandler::OnUnbind(scoped_refptr<DevToolsProtocol::Command> command) { argument 295 int port = GetPort(command); [all...] |
/external/chromium_org/content/browser/media/ |
H A D | webrtc_internals.cc | 186 void WebRTCInternals::SendUpdate(const string& command, base::Value* value) { argument 191 OnUpdate(command, value));
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | backing_store_manager.cc | 54 const CommandLine& command = *CommandLine::ForCurrentProcess(); local 55 unlimited = command.HasSwitch(switches::kDisableBackingStoreLimit);
|
H A D | backing_store_win.cc | 87 const CommandLine& command = *CommandLine::ForCurrentProcess(); local 88 enabled = command.HasSwitch(switches::kEnableMonitorProfile);
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | cmd_buffer_helper_test.cc | 79 // Adds a command to the buffer through the helper, while adding it as an 82 unsigned int command, 87 header.command = command; 95 EXPECT_CALL(*api_mock_, DoCommand(command, arg_count, 204 // Checks the case where the command inserted exactly matches the space left in 205 // the command buffer. 267 // Add a first command. 276 // Add another command. 279 // check that the get pointer is beyond the first command 81 AddCommandWithExpect(error::Error _return, unsigned int command, int arg_count, CommandBufferEntry *args) argument [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | common_decoder.cc | 114 // A struct to hold info about each command. 116 int arg_flags; // How to handle the arguments for this command 117 int arg_count; // How many arguments are expected for this command. 133 // Decode command with its arguments, and call the corresponding method. 134 // Note: args is a pointer to the command buffer. As such, it could be changed 138 unsigned int command, 141 if (command < arraysize(g_command_info)) { 142 const CommandInfo& info = g_command_info[command]; 148 switch (command) { 137 DoCommonCommand( unsigned int command, unsigned int arg_count, const void* cmd_data) argument
|
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/ |
H A D | sdk_update_main.py | 27 # Import late so each command script can find our imports 28 import command.info namespace 29 import command.list namespace 30 import command.sources namespace 31 import command.uninstall namespace 32 import command.update namespace 181 command.info.Info(remote_manifest, args) 195 command.list.List(remote_manifest, local_manifest, options.revision) 211 args = [command.update.RECOMMENDED] 214 delegate = command [all...] |
/external/chromium_org/net/test/spawned_test_server/ |
H A D | spawner_communicator.cc | 26 GURL GenerateSpawnerCommandURL(const std::string& command, uint16 port) { argument 27 // Always performs HTTP request for sending command to the spawner server. 29 command.c_str())); 34 // A class to hold all data needed to send a command to spawner server. 92 // sending a command to spawner server. 143 const std::string& command, 158 base::Unretained(this), command, post_data, result_code, data_received)); 163 const std::string& command, 171 // Prepare the URLRequest for sending the command. 175 GenerateSpawnerCommandURL(command, port 142 SendCommandAndWaitForResult( const std::string& command, const std::string& post_data, int* result_code, std::string* data_received) argument 162 SendCommandAndWaitForResultOnIOThread( const std::string& command, const std::string& post_data, int* result_code, std::string* data_received) argument [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | testing_instance.cc | 241 void TestingInstance::SendTestCommand(const std::string& command) { argument 243 msg += command; 247 void TestingInstance::SendTestCommand(const std::string& command, argument 249 SendTestCommand(command + ":" + params);
|
/external/chromium_org/sandbox/win/src/ |
H A D | Wow64.cc | 151 std::wstringstream command; local 152 command << std::hex << std::showbase << L"\"" << path << 156 scoped_ptr_malloc<wchar_t> writable_command(_wcsdup(command.str().c_str()));
|
H A D | file_policy_test.cc | 446 wchar_t command[MAX_PATH*2 + 20] = {0}; local 447 wsprintf(command, L"File_Rename \"%ls\" \"%ls\"", temp_file_name1, 449 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(command)); 451 wsprintf(command, L"File_Rename \"%ls\" \"%ls\"", temp_file_name3, 453 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(command)); 455 wsprintf(command, L"File_Rename \"%ls\" \"%ls\"", temp_file_name5, 457 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(command)); 459 wsprintf(command, L"File_Rename \"%ls\" \"%ls\"", temp_file_name7, 461 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(command)); 560 // Prepare the command t [all...] |
/external/chromium_org/sandbox/win/tests/common/ |
H A D | controller.cc | 179 int TestRunner::RunTest(const wchar_t* command) { argument 188 full_command += command; 193 int TestRunner::InternalRunTest(const wchar_t* command) { argument 217 arguments += command; 281 // argv[2] = SboxTestsState when to run the command 282 // argv[3] = command to run 283 // argv[4...] = command arguments. 308 CommandFunction command = reinterpret_cast<CommandFunction>( local 310 if (!command) 314 return command(arg [all...] |