Searched refs:command_name (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/test/chromedriver/
H A Dcommand_listener_proxy.cc17 Status CommandListenerProxy::BeforeCommand(const std::string& command_name) { argument
18 return command_listener_->BeforeCommand(command_name);
H A Dcommand_listener.h19 virtual Status BeforeCommand(const std::string& command_name) = 0;
H A Dcommand_listener_proxy_unittest.cc20 virtual Status BeforeCommand(const std::string& command_name) OVERRIDE {
22 EXPECT_STREQ("cmd", command_name.c_str());
H A Dcommand_listener_proxy.h22 virtual Status BeforeCommand(const std::string& command_name) OVERRIDE;
H A Dutil.h46 const std::string& command_name);
H A Dcommands.h55 const char* command_name,
H A Dcommands.cc132 const char* command_name,
151 VLOG(0) << "COMMAND " << command_name << " "
157 Status status = NotifyCommandListenersBeforeCommand(session, command_name);
205 VLOG(0) << "RESPONSE " << command_name
231 const char* command_name,
245 command_name,
131 ExecuteSessionCommandOnSessionThread( const char* command_name, 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
229 ExecuteSessionCommand( SessionThreadMap* session_thread_map, const char* command_name, const SessionCommand& command, bool return_ok_without_session, const base::DictionaryValue& params, const std::string& session_id, const CommandCallback& callback) argument
H A Dperformance_logger.h54 virtual Status BeforeCommand(const std::string& command_name) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/
H A Dextension_commands_global_registry.cc71 const std::string& command_name) {
73 if (ShouldIgnoreCommand(command_name))
89 if (!command_name.empty() && (iter->second.command_name() != command_name))
94 << " " << command_name.c_str()
103 AddEventTarget(accelerator, extension->id(), iter->second.command_name());
109 const std::string& command_name) {
110 VLOG(0) << "Removing keybinding for " << command_name.c_str();
69 AddExtensionKeybinding( const extensions::Extension* extension, const std::string& command_name) argument
107 RemoveExtensionKeybindingImpl( const ui::Accelerator& accelerator, const std::string& command_name) argument
H A Dextension_keybinding_registry.h74 // |command_name| is optional, but if not blank then only the command
78 const std::string& command_name) = 0;
79 // Remove extension bindings for |extension|. |command_name| is optional,
83 const std::string& command_name);
88 const std::string& command_name) = 0;
110 const std::string& command_name);
114 // Returns true if we can find it, |extension_id| and |command_name| will be
116 // |command_name| are unchanged.
119 std::string* command_name) const;
H A Dextension_keybinding_registry.cc50 const std::string& command_name) {
57 (command_name.empty() || command_name == target->second))
66 RemoveExtensionKeybindingImpl(old->first, command_name);
69 // If a specific command_name was requested, it has now been deleted so no
71 if (!command_name.empty())
137 const std::string& command_name) {
139 std::make_pair(extension_id, command_name));
149 std::string* command_name) const {
157 *command_name
48 RemoveExtensionKeybinding( const Extension* extension, const std::string& command_name) argument
134 AddEventTarget( const ui::Accelerator& accelerator, const std::string& extension_id, const std::string& command_name) argument
[all...]
H A Dextension_commands_global_registry.h75 const std::string& command_name) OVERRIDE;
78 const std::string& command_name) OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_keybinding_registry_views.cc37 const std::string& command_name) {
39 if (ShouldIgnoreCommand(command_name))
55 if (!command_name.empty() && (iter->second.command_name() != command_name))
63 AddEventTarget(accelerator, extension->id(), iter->second.command_name());
69 const std::string& command_name) {
75 std::string extension_id, command_name; local
76 GetFirstTarget(accelerator, &extension_id, &command_name);
35 AddExtensionKeybinding( const extensions::Extension* extension, const std::string& command_name) argument
67 RemoveExtensionKeybindingImpl( const ui::Accelerator& accelerator, const std::string& command_name) argument
H A Dextension_keybinding_registry_views.h48 const std::string& command_name) OVERRIDE;
51 const std::string& command_name) OVERRIDE;
/external/chromium_org/chrome/common/extensions/
H A Dcommand.h27 Command(const std::string& command_name,
39 const std::string& command_name);
52 const std::string& command_name,
62 const std::string& command_name() const { return command_name_; } function in class:extensions::Command
H A Dcommand_unittest.cc20 const char* command_name; member in struct:__anon5646
34 SCOPED_TRACE(std::string("Command name: |") + data.command_name + "| key: |" +
47 bool result = command.Parse(input.get(), data.command_name, i, &error);
52 EXPECT_STREQ(data.command_name, command.command_name().c_str());
78 bool result = command.Parse(input.get(), data.command_name, i, &error);
84 EXPECT_STREQ(data.command_name, command.command_name().c_str());
130 // test |command_name| being blank as it is used as a key in the manifest,
200 std::string command_name local
[all...]
H A Dcommand.cc31 bool IsNamedCommand(const std::string& command_name) { argument
32 return command_name != values::kPageActionCommandEvent &&
33 command_name != values::kBrowserActionCommandEvent;
263 Command::Command(const std::string& command_name, argument
267 : command_name_(command_name),
272 IsNamedCommand(command_name), &error);
294 const std::string& command_name) {
298 IsNamedCommand(command_name), &error);
407 const std::string& command_name,
410 DCHECK(!command_name
293 StringToAccelerator(const std::string& accelerator, const std::string& command_name) argument
406 Parse(const base::DictionaryValue* command, const std::string& command_name, int index, base::string16* error) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/commands/
H A Dcommand_service.cc39 const char kCommandName[] = "command_name";
199 FindCommandByName(extension_id, iter->second.command_name());
213 (*command_map)[iter->second.command_name()] = command;
222 std::string command_name,
230 Command existing_command = FindCommandByName(extension_id, command_name);
237 (command_name != manifest_values::kPageActionCommandEvent &&
238 command_name != manifest_values::kBrowserActionCommandEvent));
266 RemoveKeybindingPrefs(extension_id, command_name);
271 keybinding->SetString(kCommandName, command_name);
281 suggested_key_prefs->Set(command_name, command_key
219 AddKeybindingPref( const ui::Accelerator& accelerator, std::string extension_id, std::string command_name, bool allow_overrides, bool global) argument
313 UpdateKeybindingPrefs(const std::string& extension_id, const std::string& command_name, const std::string& keystroke) argument
328 SetScope(const std::string& extension_id, const std::string& command_name, bool global) argument
356 std::string command_name; local
464 std::string command_name = it->first; local
694 IsCommandShortcutUserModified( const Extension* extension, const std::string& command_name) argument
725 IsKeybindingChanging(const Extension* extension, const std::string& command_name) argument
748 GetSuggestedKeyPref( const Extension* extension, const std::string& command_name) argument
769 RemoveKeybindingPrefs(const std::string& extension_id, const std::string& command_name) argument
[all...]
H A Dcommand_service.h121 // |extension_id| and command with the name |command_name|. If
130 std::string command_name,
135 // |command_name| is optional and if specified, causes only the command with
136 // the name |command_name| to be removed.
138 const std::string& command_name);
141 // and |command_name|) to |keystroke|. If the command had another key assigned
144 const std::string& command_name,
151 const std::string& command_name,
154 // Finds the command with the name |command_name| within an extension with id
224 const std::string& command_name);
[all...]
H A Dcommands.cc15 result->SetString("name", command.command_name());
57 extension_->id(), iter->second.command_name());
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
H A Dextension_keybinding_registry_cocoa.h59 const std::string& command_name) OVERRIDE;
62 const std::string& command_name) OVERRIDE;
/external/chromium_org/chrome/common/extensions/api/commands/
H A Dcommands_handler.cc111 std::string command_name = binding->command_name(); local
112 if (command_name == manifest_values::kBrowserActionCommandEvent) {
114 } else if (command_name ==
118 if (command_name[0] != '_') // All commands w/underscore are reserved.
119 commands_info->named_commands[command_name] = *binding.get();
H A Dcommands_manifest_unittest.cc46 ASSERT_STREQ("feature1", named_command->command_name().c_str());
55 browser_action->command_name().c_str());
63 page_action->command_name().c_str());
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dcommand_handler.cc92 std::string command_name; local
95 !args->GetString(1, &command_name) ||
103 command_service->UpdateKeybindingPrefs(extension_id, command_name, keystroke);
111 std::string command_name; local
114 !args->GetString(1, &command_name) ||
122 if (command_service->SetScope(extension_id, command_name, global))
184 (*extension)->id(), iter->second.command_name());
/external/chromium_org/sdch/open-vcdiff/src/
H A Dvcdiff_main.cc585 const char* const command_name = argv[0]; local
589 std::cerr << command_name << ": Must specify exactly one command option"
591 ShowUsageWithFlagsRestrict(command_name, "vcdiff");
596 std::cerr << command_name << " " << command_option
598 ShowUsageWithFlagsRestrict(command_name, "vcdiff");
603 std::cerr << command_name << ": Option --buffersize cannot be 0"
605 ShowUsageWithFlagsRestrict(command_name, "vcdiff");
630 std::cerr << command_name
650 std::cerr << command_name << ": Unrecognized command option "
652 ShowUsageWithFlagsRestrict(command_name, "vcdif
[all...]

Completed in 3814 milliseconds

12