Home
last modified time | relevance | path

Searched refs:CommandService (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/commands/
Dcommand_service.cc115 void CommandService::RegisterProfilePrefs( in RegisterProfilePrefs()
122 CommandService::CommandService(content::BrowserContext* context) in CommandService() function in extensions::CommandService
131 CommandService::~CommandService() { in ~CommandService()
134 static base::LazyInstance<BrowserContextKeyedAPIFactory<CommandService> >
138 BrowserContextKeyedAPIFactory<CommandService>*
139 CommandService::GetFactoryInstance() { in GetFactoryInstance()
144 CommandService* CommandService::Get(content::BrowserContext* context) { in Get()
145 return BrowserContextKeyedAPIFactory<CommandService>::Get(context); in Get()
149 bool CommandService::RemovesBookmarkShortcut(const Extension* extension) { in RemovesBookmarkShortcut()
157 bool CommandService::RemovesBookmarkOpenPagesShortcut( in RemovesBookmarkOpenPagesShortcut()
[all …]
Dcommands.cc28 extensions::CommandService* command_service = in RunSync()
29 extensions::CommandService::Get(GetProfile()); in RunSync()
34 extensions::CommandService::ALL, in RunSync()
42 extensions::CommandService::ALL, in RunSync()
50 extensions::CommandService::ALL, in RunSync()
51 extensions::CommandService::ANY_SCOPE, in RunSync()
Dcommand_service.h41 class CommandService : public BrowserContextKeyedAPI,
71 explicit CommandService(content::BrowserContext* context);
72 virtual ~CommandService();
75 static BrowserContextKeyedAPIFactory<CommandService>* GetFactoryInstance();
78 static CommandService* Get(content::BrowserContext* context);
173 friend class BrowserContextKeyedAPIFactory<CommandService>;
248 DISALLOW_COPY_AND_ASSIGN(CommandService);
253 BrowserContextKeyedAPIFactory<CommandService>::DeclareFactoryDependencies();
Dcommand_service_browsertest.cc58 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
114 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dcommand_handler.cc102 CommandService* command_service = CommandService::Get(profile); in HandleSetExtensionCommandShortcut()
121 CommandService* command_service = CommandService::Get(profile); in HandleSetCommandScope()
142 CommandService* command_service = CommandService::Get(profile); in GetAllCommands()
160 CommandService::ALL, in GetAllCommands()
169 CommandService::ALL, in GetAllCommands()
177 CommandService::ALL, in GetAllCommands()
178 CommandService::ANY_SCOPE, in GetAllCommands()
Dcommand_handler.h26 class CommandService; variable
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_keybinding_registry_views.cc42 extensions::CommandService* command_service = in AddExtensionKeybinding()
43 extensions::CommandService::Get(profile_); in AddExtensionKeybinding()
49 extensions::CommandService::ACTIVE_ONLY, in AddExtensionKeybinding()
50 extensions::CommandService::REGULAR, in AddExtensionKeybinding()
Dextension_action_view_controller.cc24 using extensions::CommandService;
276 CommandService* command_service = CommandService::Get(browser_->profile()); in GetExtensionCommand()
279 extension_->id(), CommandService::ACTIVE_ONLY, command, NULL); in GetExtensionCommand()
282 extension_->id(), CommandService::ACTIVE_ONLY, command, NULL); in GetExtensionCommand()
Dextension_installed_bubble_view.cc272 extensions::CommandService* command_service = in GetKeybinding()
273 extensions::CommandService::Get(browser_->profile()); in GetKeybinding()
277 extensions::CommandService::ACTIVE_ONLY, in GetKeybinding()
283 extensions::CommandService::ACTIVE_ONLY, in GetKeybinding()
/external/chromium_org/chrome/browser/extensions/
Dextension_commands_global_registry.cc76 extensions::CommandService* command_service = in AddExtensionKeybinding()
77 extensions::CommandService::Get(browser_context_); in AddExtensionKeybinding()
82 extensions::CommandService::ACTIVE_ONLY, in AddExtensionKeybinding()
83 extensions::CommandService::GLOBAL, in AddExtensionKeybinding()
Dextension_keybinding_apitest.cc371 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
455 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
500 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
548 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
594 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
644 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
697 CommandService* command_service = CommandService::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
Dbrowser_context_keyed_service_factories.cc96 extensions::CommandService::GetFactoryInstance(); in EnsureBrowserContextKeyedServiceFactoriesBuilt()
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_keybinding_registry_cocoa.mm87 extensions::CommandService* command_service =
88 extensions::CommandService::Get(profile_);
92 extensions::CommandService::ACTIVE_ONLY,
93 extensions::CommandService::REGULAR,
112 extensions::CommandService::ACTIVE_ONLY,
124 extensions::CommandService::ACTIVE_ONLY,
Dextension_installed_bubble_controller.mm352 extensions::CommandService* command_service =
353 extensions::CommandService::Get(browser_->profile());
358 extensions::CommandService::ACTIVE_ONLY,
369 extensions::CommandService* command_service =
370 extensions::CommandService::Get(browser_->profile());
375 extensions::CommandService::ACTIVE_ONLY,
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_utils.cc161 extensions::CommandService* command_service = in GetBookmarkShortcutDisposition()
162 extensions::CommandService::Get(profile); in GetBookmarkShortcutDisposition()
183 extensions::CommandService::RemovesBookmarkShortcut(i->get())) { in GetBookmarkShortcutDisposition()
368 if (extensions::CommandService::RemovesBookmarkOpenPagesShortcut(i->get())) in ShouldRemoveBookmarkOpenPagesUI()
Dbookmark_utils.h28 class CommandService; variable
/external/chromium_org/chrome/browser/ui/
Dbrowser_commands.cc137 extensions::CommandService::ExtensionCommandType* command_type) { in GetBookmarkOverrideCommand()
148 extensions::CommandService* command_service = in GetBookmarkOverrideCommand()
149 extensions::CommandService::Get(profile); in GetBookmarkOverrideCommand()
156 extensions::CommandService::ExtensionCommandType prospective_command_type; in GetBookmarkOverrideCommand()
750 extensions::CommandService::ExtensionCommandType command_type; in BookmarkCurrentPage()
756 case extensions::CommandService::NAMED: in BookmarkCurrentPage()
759 case extensions::CommandService::BROWSER_ACTION: in BookmarkCurrentPage()
760 case extensions::CommandService::PAGE_ACTION: in BookmarkCurrentPage()
/external/chromium_org/chrome/browser/prefs/
Dbrowser_prefs.cc457 extensions::CommandService::RegisterProfilePrefs(registry); in RegisterProfilePrefs()