/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
context_menus_api.cc | 12 #include "chrome/browser/extensions/menu_manager.h" 130 const extensions::MenuManager* menu_manager, 132 extensions::MenuItem* parent = menu_manager->GetItemById(parent_id); 178 MenuManager* menu_manager = MenuManager::Get(GetProfile()); local 180 if (menu_manager->GetItemById(id)) { 234 MenuItem* parent = GetParent(*parent_id, menu_manager, &error_); 237 success = menu_manager->AddChildItem(parent->id(), item.release()); 239 success = menu_manager->AddContextItem(GetExtension(), item.release()); 245 menu_manager->WriteToStorage(GetExtension());
|
/external/chromium/chrome/browser/extensions/ |
extension_context_menu_api.cc | 220 ExtensionMenuManager* menu_manager = 221 profile()->GetExtensionService()->menu_manager(); 251 ExtensionMenuItem* parent = menu_manager->GetItemById(parent_id); 261 success = menu_manager->AddChildItem(parent_id, item.release()); 263 success = menu_manager->AddContextItem(GetExtension(), item.release()); 277 ExtensionMenuManager* manager = service->menu_manager(); 289 ExtensionMenuManager* menu_manager = local 290 profile()->GetExtensionService()->menu_manager(); 328 if (!GetParent(*properties, *menu_manager, &parent)) 330 if (parent && !menu_manager->ChangeParent(item->id(), &parent->id()) [all...] |
extension_context_menu_browsertest.cc | 149 ExtensionMenuManager* menu_manager() { function in class:ExtensionContextMenuBrowserTest 150 return browser()->profile()->GetExtensionService()->menu_manager(); 171 std::set<std::string> extension_ids = menu_manager()->ExtensionIds(); 174 const ExtensionMenuItem::List* list = menu_manager()->MenuItems(*i);
|
extension_service.h | 404 ExtensionMenuManager* menu_manager() { return &menu_manager_; } function in class:ExtensionService
|
/external/chromium_org/chrome/browser/extensions/ |
context_menu_matcher.cc | 261 MenuManager* menu_manager = MenuManager::Get(profile_); local 266 const SkBitmap& icon = menu_manager->GetIconForExtension(extension_id);
|
extension_context_menu_browsertest.cc | 129 extensions::MenuManager* menu_manager() { function in class:ExtensionContextMenuBrowserTest 151 std::set<std::string> extension_ids = menu_manager()->ExtensionIds(); 154 const MenuItem::List* list = menu_manager()->MenuItems(*i);
|
/external/chromium/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 289 ExtensionMenuManager* manager = service->menu_manager(); 408 ExtensionMenuManager* menu_manager = service->menu_manager(); local 413 const SkBitmap& icon = menu_manager->GetIconForExtension(extension_id); 425 ExtensionMenuManager* menu_manager = service->menu_manager(); 427 if (!menu_manager->HasAllowedScheme(document_url)) 432 std::set<std::string> ids = menu_manager->ExtensionIds(); 839 profile_->GetExtensionService()->menu_manager(); [all...] |