Home
last modified time | relevance | path

Searched refs:command_service (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
Dextension_keybinding_apitest.cc371 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
380 command_service->UpdateKeybindingPrefs( in IN_PROC_BROWSER_TEST_F()
455 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
463 ui::Accelerator accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
473 accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
500 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
508 ui::Accelerator accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
521 accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
548 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
556 ui::Accelerator accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_commands_global_registry.cc76 extensions::CommandService* command_service = in AddExtensionKeybinding() local
80 if (!command_service->GetNamedCommands( in AddExtensionKeybinding()
/external/chromium_org/chrome/browser/extensions/api/commands/
Dcommand_service_browsertest.cc58 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
67 ui::Accelerator accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
75 command_service->RemoveKeybindingPrefs( in IN_PROC_BROWSER_TEST_F()
79 accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
88 accelerator = command_service->FindCommandByName( in IN_PROC_BROWSER_TEST_F()
114 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local
115 command_service->RemoveKeybindingPrefs(extension->id(), kNamedCommandName); in IN_PROC_BROWSER_TEST_F()
Dcommands.cc28 extensions::CommandService* command_service = in RunSync() local
33 if (command_service->GetBrowserActionCommand(extension_->id(), in RunSync()
41 if (command_service->GetPageActionCommand(extension_->id(), in RunSync()
49 command_service->GetNamedCommands(extension_->id(), in RunSync()
56 extensions::Command command = command_service->FindCommandByName( in RunSync()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dcommand_handler.cc102 CommandService* command_service = CommandService::Get(profile); in HandleSetExtensionCommandShortcut() local
103 command_service->UpdateKeybindingPrefs(extension_id, command_name, keystroke); in HandleSetExtensionCommandShortcut()
121 CommandService* command_service = CommandService::Get(profile); in HandleSetCommandScope() local
122 if (command_service->SetScope(extension_id, command_name, global)) in HandleSetCommandScope()
142 CommandService* command_service = CommandService::Get(profile); in GetAllCommands() local
159 if (command_service->GetBrowserActionCommand((*extension)->id(), in GetAllCommands()
168 if (command_service->GetPageActionCommand((*extension)->id(), in GetAllCommands()
176 if (command_service->GetNamedCommands((*extension)->id(), in GetAllCommands()
183 Command command = command_service->FindCommandByName( in GetAllCommands()
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_keybinding_registry_cocoa.mm8 #include "chrome/browser/extensions/api/commands/command_service.h"
87 extensions::CommandService* command_service =
90 command_service->GetNamedCommands(
110 if (command_service->GetBrowserActionCommand(
122 if (command_service->GetPageActionCommand(
Dextension_installed_bubble_controller.mm13 #include "chrome/browser/extensions/api/commands/command_service.h"
352 extensions::CommandService* command_service =
356 command_service->GetPageActionCommand(
369 extensions::CommandService* command_service =
373 command_service->GetBrowserActionCommand(
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_keybinding_registry_views.cc42 extensions::CommandService* command_service = in AddExtensionKeybinding() local
47 if (!command_service->GetNamedCommands( in AddExtensionKeybinding()
Dextension_action_view_controller.cc276 CommandService* command_service = CommandService::Get(browser_->profile()); in GetExtensionCommand() local
278 return command_service->GetPageActionCommand( in GetExtensionCommand()
281 return command_service->GetBrowserActionCommand( in GetExtensionCommand()
Dextension_installed_bubble_view.cc272 extensions::CommandService* command_service = in GetKeybinding() local
275 return command_service->GetBrowserActionCommand( in GetKeybinding()
281 return command_service->GetPageActionCommand( in GetKeybinding()
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_utils.cc161 extensions::CommandService* command_service = in GetBookmarkShortcutDisposition() local
179 if (command_service->OverridesBookmarkShortcut(i->get())) in GetBookmarkShortcutDisposition()
/external/chromium_org/chrome/browser/ui/
Dbrowser_commands.cc148 extensions::CommandService* command_service = in GetBookmarkOverrideCommand() local
157 if (command_service->GetBoundExtensionCommand((*i)->id(), in GetBookmarkOverrideCommand()
/external/chromium_org/chrome/
Dchrome_browser_extensions.gypi165 'browser/extensions/api/commands/command_service.cc',
166 'browser/extensions/api/commands/command_service.h',