/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_commands_global_registry.cc | 54 const std::string& command_name) { 56 if (ShouldIgnoreCommand(command_name)) 72 if (!command_name.empty() && (iter->second.command_name() != command_name)) 76 << " " << command_name.c_str() 80 std::make_pair(extension->id(), iter->second.command_name())); 93 const std::string& command_name) { 94 VLOG(0) << "Removing keybinding for " << command_name.c_str(); 52 AddExtensionKeybinding( const extensions::Extension* extension, const std::string& command_name) argument 91 RemoveExtensionKeybindingImpl( const ui::Accelerator& accelerator, const std::string& command_name) argument
|
H A D | extension_commands_global_registry.h | 59 const std::string& command_name) OVERRIDE; 62 const std::string& command_name) OVERRIDE;
|
H A D | extension_keybinding_registry.h | 65 // |command_name| is optional, but if not blank then only the command 69 const std::string& command_name) = 0; 70 // Remove extension bindings for |extension|. |command_name| is optional, 74 const std::string& command_name); 79 const std::string& command_name) = 0;
|
H A D | extension_keybinding_registry.cc | 40 const std::string& command_name) { 47 (command_name.empty() || command_name == target->second)) 56 RemoveExtensionKeybindingImpl(old->first, command_name); 59 // If a specific command_name was requested, it has now been deleted so no 61 if (!command_name.empty()) 38 RemoveExtensionKeybinding( const Extension* extension, const std::string& command_name) argument
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
H A D | extension_keybinding_registry_views.cc | 39 const std::string& command_name) { 41 if (ShouldIgnoreCommand(command_name)) 57 if (!command_name.empty() && (iter->second.command_name() != command_name)) 61 std::make_pair(extension->id(), iter->second.command_name())); 77 const std::string& command_name) { 37 AddExtensionKeybinding( const extensions::Extension* extension, const std::string& command_name) argument 75 RemoveExtensionKeybindingImpl( const ui::Accelerator& accelerator, const std::string& command_name) argument
|
H A D | extension_keybinding_registry_views.h | 48 const std::string& command_name) OVERRIDE; 51 const std::string& command_name) OVERRIDE;
|
/external/chromium_org/chrome/common/extensions/ |
H A D | command.h | 27 Command(const std::string& command_name, 39 const std::string& command_name); 47 const std::string& command_name, 57 const std::string& command_name() const { return command_name_; } function in class:extensions::Command
|
H A D | command_unittest.cc | 58 const char* command_name; member in struct:__anon6969 63 // test |command_name| being blank as it is used as a key in the manifest, 127 SCOPED_TRACE(std::string("Command name: |") + kTests[i].command_name + 135 command.Parse(input.get(), kTests[i].command_name, i, &error); 141 EXPECT_STREQ(kTests[i].command_name, command.command_name().c_str()); 155 result = command.Parse(input.get(), kTests[i].command_name, i, &error); 161 EXPECT_STREQ(kTests[i].command_name, command.command_name().c_str()); 170 std::string command_name local [all...] |
H A D | command.cc | 33 bool IsNamedCommand(const std::string& command_name) { argument 34 return command_name != values::kPageActionCommandEvent && 35 command_name != values::kBrowserActionCommandEvent && 36 command_name != values::kScriptBadgeCommandEvent; 257 Command::Command(const std::string& command_name, argument 261 : command_name_(command_name), 266 IsNamedCommand(command_name), &error); 288 const std::string& command_name) { 292 IsNamedCommand(command_name), &error); 385 const std::string& command_name, 287 StringToAccelerator(const std::string& accelerator, const std::string& command_name) argument 384 Parse(const base::DictionaryValue* command, const std::string& command_name, int index, base::string16* error) argument [all...] |
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
H A D | extension_keybinding_registry_gtk.cc | 60 const std::string& command_name) { 72 if (!command_name.empty() && (iter->second.command_name() != command_name)) 77 std::make_pair(extension->id(), iter->second.command_name())); 108 std::make_pair(extension->id(), browser_action.command_name())); 122 std::make_pair(extension->id(), page_action.command_name())); 136 std::make_pair(extension->id(), script_badge.command_name())); 144 const std::string& command_name) { 147 if (!ShouldIgnoreCommand(command_name)) { 58 AddExtensionKeybinding( const extensions::Extension* extension, const std::string& command_name) argument 142 RemoveExtensionKeybindingImpl( const ui::Accelerator& accelerator, const std::string& command_name) argument [all...] |
H A D | extension_keybinding_registry_gtk.h | 60 const std::string& command_name) OVERRIDE; 63 const std::string& command_name) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
H A D | extension_keybinding_registry_cocoa.h | 57 const std::string& command_name) OVERRIDE; 60 const std::string& command_name) OVERRIDE;
|
/external/chromium_org/chrome/browser/extensions/api/commands/ |
H A D | command_service.cc | 37 const char kCommandName[] = "command_name"; 191 FindCommandByName(extension_id, iter->second.command_name()); 205 (*command_map)[iter->second.command_name()] = command; 214 std::string command_name, 222 (command_name != manifest_values::kPageActionCommandEvent && 223 command_name != manifest_values::kBrowserActionCommandEvent && 224 command_name != manifest_values::kScriptBadgeCommandEvent)); 251 keybinding->SetString(kCommandName, command_name); 257 std::make_pair(extension_id, command_name); 288 const std::string& command_name, 211 AddKeybindingPref( const ui::Accelerator& accelerator, std::string extension_id, std::string command_name, bool allow_overrides, bool global) argument 287 UpdateKeybindingPrefs(const std::string& extension_id, const std::string& command_name, const std::string& keystroke) argument 302 SetScope(const std::string& extension_id, const std::string& command_name, bool global) argument 330 std::string command_name; local 421 RemoveKeybindingPrefs(const std::string& extension_id, const std::string& command_name) argument [all...] |
H A D | command_service.h | 119 // |extension_id| and command with the name |command_name|. If 128 std::string command_name, 133 // |command_name| is optional and if specified, causes only the command with 134 // the name |command_name| to be removed. 136 const std::string& command_name); 139 // and |command_name|) to |keystroke|. If the command had another key assigned 142 const std::string& command_name, 149 const std::string& command_name, 152 // Finds the command with the name |command_name| within an extension with id
|
H A D | commands.cc | 14 result->SetString("name", command.command_name()); 64 extension_->id(), iter->second.command_name());
|
/external/chromium_org/chrome/common/extensions/api/commands/ |
H A D | commands_handler.cc | 108 std::string command_name = binding->command_name(); local 109 if (command_name == manifest_values::kBrowserActionCommandEvent) { 111 } else if (command_name == 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 D | commands_manifest_unittest.cc | 45 ASSERT_STREQ("feature1", named_command->command_name().c_str()); 53 browser_action->command_name().c_str()); 61 page_action->command_name().c_str());
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
H A D | command_handler.cc | 90 std::string command_name; local 93 !args->GetString(1, &command_name) || 101 command_service->UpdateKeybindingPrefs(extension_id, command_name, keystroke); 109 std::string command_name; local 112 !args->GetString(1, &command_name) || 120 if (command_service->SetScope(extension_id, command_name, global)) 182 (*extension)->id(), iter->second.command_name());
|
/external/chromium_org/chrome/test/chromedriver/ |
H A D | commands.h | 55 const char* command_name,
|
H A D | commands.cc | 131 const char* command_name, 150 VLOG(0) << "COMMAND " << command_name << " " 193 VLOG(0) << "RESPONSE " << command_name 212 const char* command_name, 226 command_name, 130 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 210 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
|
/external/chromium/sdch/open-vcdiff/src/ |
H A D | vcdiff_main.cc | 581 const char* const command_name = argv[0]; local 585 std::cerr << command_name << ": Must specify exactly one command option" 587 ShowUsageWithFlagsRestrict(command_name, "vcdiff"); 592 std::cerr << command_name << " " << command_option 594 ShowUsageWithFlagsRestrict(command_name, "vcdiff"); 599 std::cerr << command_name << ": Option --buffersize cannot be 0" 601 ShowUsageWithFlagsRestrict(command_name, "vcdiff"); 626 std::cerr << command_name 646 std::cerr << command_name << ": Unrecognized command option " 648 ShowUsageWithFlagsRestrict(command_name, "vcdif [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
H A D | vcdiff_main.cc | 585 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...] |
/external/open-vcdiff/src/ |
H A D | vcdiff_main.cc | 585 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...] |
/external/chromium_org/tools/telemetry/telemetry/ |
H A D | test_runner.py | 209 command_name = 'run' 212 command_name = arg 217 if command.name.startswith(command_name)] 220 % (command_name, _GetScriptName()))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/ |
H A D | multicommandtool.py | 266 def command_by_name(self, command_name): 268 if command_name == command.name: 293 (command_name, args) = self._split_command_name_from_args(argv[1:]) 298 command = self.command_by_name(command_name) or self.help_command 300 option_parser.error("%s is not a recognized command" % command_name)
|