/external/chromium_org/chrome/browser/ui/views/extensions/ |
extension_keybinding_registry_views.cc | 37 const std::string& command_name) { 39 if (ShouldIgnoreCommand(command_name)) 55 if (!command_name.empty() && (iter->second.command_name() != command_name)) 65 iter->second.command_name()); 71 const std::string& command_name) {
|
extension_keybinding_registry_views.h | 48 const std::string& command_name) OVERRIDE; 51 const std::string& command_name) OVERRIDE;
|
/external/chromium_org/chrome/browser/extensions/ |
extension_commands_global_registry.cc | 63 const std::string& command_name) { 65 if (ShouldIgnoreCommand(command_name)) 81 if (!command_name.empty() && (iter->second.command_name() != command_name)) 86 << " " << command_name.c_str() 95 AddEventTarget(accelerator, extension->id(), iter->second.command_name()); 101 const std::string& command_name) { 102 VLOG(0) << "Removing keybinding for " << command_name.c_str();
|
extension_commands_global_registry.h | 61 const std::string& command_name) OVERRIDE; 64 const std::string& command_name) OVERRIDE;
|
extension_keybinding_registry.h | 71 // |command_name| is optional, but if not blank then only the command 75 const std::string& command_name) = 0; 76 // Remove extension bindings for |extension|. |command_name| is optional, 80 const std::string& command_name); 85 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;
|
extension_keybinding_registry.cc | 46 const std::string& command_name) { 53 (command_name.empty() || command_name == target->second)) 62 RemoveExtensionKeybindingImpl(old->first, command_name); 65 // If a specific command_name was requested, it has now been deleted so no 67 if (!command_name.empty()) 133 const std::string& command_name) { 135 std::make_pair(extension_id, command_name)); 145 std::string* command_name) const { 153 *command_name = first_target->second [all...] |
/external/chromium_org/chrome/common/extensions/ |
command.h | 27 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
|
command_unittest.cc | 58 const char* command_name; member in struct:__anon10193 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 = "foo" local [all...] |
command.cc | 32 bool IsNamedCommand(const std::string& command_name) { 33 return command_name != values::kPageActionCommandEvent && 34 command_name != values::kBrowserActionCommandEvent; 255 Command::Command(const std::string& command_name, 259 : command_name_(command_name), 264 IsNamedCommand(command_name), &error); 286 const std::string& command_name) { 290 IsNamedCommand(command_name), &error); 394 const std::string& command_name, 397 DCHECK(!command_name.empty()) [all...] |
/external/chromium_org/chrome/browser/extensions/api/commands/ |
command_service.h | 121 // |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 222 const std::string& command_name); [all...] |
command_service.cc | 39 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_keys.release()) 355 std::string command_name; local 464 std::string command_name = it->first; local [all...] |
commands.cc | 15 result->SetString("name", command.command_name()); 57 extension_->id(), iter->second.command_name());
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
extension_keybinding_registry_cocoa.h | 57 const std::string& command_name) OVERRIDE; 60 const std::string& command_name) OVERRIDE;
|
/external/chromium_org/chrome/common/extensions/api/commands/ |
commands_handler.cc | 108 std::string command_name = binding->command_name(); local 109 if (command_name == manifest_values::kBrowserActionCommandEvent) { 111 } else if (command_name == 115 if (command_name[0] != '_') // All commands w/underscore are reserved. 116 commands_info->named_commands[command_name] = *binding.get();
|
commands_manifest_unittest.cc | 46 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/ |
command_handler.cc | 92 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/chrome/test/chromedriver/ |
commands.h | 55 const char* command_name,
|
commands.cc | 132 const char* command_name, 151 VLOG(0) << "COMMAND " << command_name << " " 195 VLOG(0) << "RESPONSE " << command_name 220 const char* command_name, 234 command_name,
|
/external/chromium_org/sdch/open-vcdiff/src/ |
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, "vcdiff") [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/ |
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)
|
/external/chromium_org/tools/telemetry/telemetry/ |
test_runner.py | 272 command_name = 'run' 275 command_name = arg 279 commands = _MatchingCommands(command_name) 282 % (command_name, _ScriptName()))
|
/external/lldb/include/lldb/API/ |
SBCommandInterpreter.h | 119 SetCommandOverrideCallback (const char *command_name,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/bot/ |
commitannouncer.py | 139 command_name = message[len(prefix):].strip() 140 if command_name in self.commands: 141 return self.commands[command_name]
|
/external/lldb/source/API/ |
SBCommandInterpreter.cpp | 363 SBCommandInterpreter::SetCommandOverrideCallback (const char *command_name, 367 if (command_name && command_name[0] && m_opaque_ptr) 369 std::string command_name_str (command_name);
|
/external/chromium_org/sandbox/win/tests/common/ |
controller.cc | 307 std::string command_name = base::SysWideToMultiByte(argv[3], CP_UTF8); 309 ::GetProcAddress(module, command_name.c_str()));
|