/external/chromium_org/chrome/browser/extensions/ |
context_menu_matcher.h | 49 void AppendExtensionItems(const MenuItem::ExtensionKey& extension_key, 59 const MenuItem::ExtensionKey& extension_key, 72 const MenuItem::ExtensionKey& extension_key,
|
menu_manager.cc | 348 const MenuItem::ExtensionKey& key = item->id().extension_key; 433 const MenuItem::ExtensionKey& child_key = child->id().extension_key; 453 const MenuItem::ExtensionKey& child_key = child->id().extension_key; 467 const MenuItem::ExtensionKey extension_key = id.extension_key; local 468 MenuItemMap::iterator i = context_items_.find(extension_key); 513 context_items_.erase(extension_key); 514 icon_manager_.RemoveIcon(extension_key.extension_id); 520 const MenuItem::ExtensionKey& extension_key) { 522 for (i = context_items_[extension_key].begin() [all...] |
context_menu_matcher.cc | 54 const MenuItem::ExtensionKey& extension_key, 68 extension_key, &extension, &can_cross_incognito, &items)) 126 SetExtensionIcon(extension_key.extension_id); 136 const MenuItem::ExtensionKey& extension_key, 142 extension_key, &extension, &can_cross_incognito, &items); 184 const MenuItem::ExtensionKey& extension_key, 190 extension_key.extension_id); 196 const MenuItem::List* all_items = manager->MenuItems(extension_key);
|
menu_manager.h | 72 Id(bool incognito, const ExtensionKey& extension_key); 80 ExtensionKey extension_key; member in struct:extensions::MenuItem::Id 165 return id_.extension_key.extension_id; 290 // for the given extension specified by |extension_key|, *not* including child 294 const MenuItem::List* MenuItems(const MenuItem::ExtensionKey& extension_key); 319 // Removes all items for the given extension specified by |extension_key|. 320 void RemoveAllContextItems(const MenuItem::ExtensionKey& extension_key); 356 const MenuItem::ExtensionKey& extension_key);
|
menu_manager_unittest.cc | 116 const MenuItem::List* items = manager_.MenuItems(item1->id().extension_key); 124 items = manager_.MenuItems(item2->id().extension_key); 132 const MenuItem::ExtensionKey extension_key3(item3->id().extension_key); 189 ASSERT_EQ(1u, manager_.MenuItems(item1->id().extension_key)->size()); 190 ASSERT_EQ(item1, manager_.MenuItems(item1->id().extension_key)->at(0)); 201 ASSERT_EQ(1u, manager_.MenuItems(item2->id().extension_key)->size()); 202 ASSERT_EQ(item2, manager_.MenuItems(item2->id().extension_key)->at(0)); 206 ASSERT_EQ(1u, manager_.MenuItems(item2->id().extension_key)->size()); 207 ASSERT_EQ(item2, manager_.MenuItems(item2->id().extension_key)->at(0)); 352 const MenuItem::List* items = manager_.MenuItems(item1->id().extension_key); [all...] |
extension_action_manager_unittest.cc | 40 // |extension|'s icon for size |extension_key|; 42 int extension_key, 95 int extension_key, 100 IconsInfo::GetIcons(&extension).Get(extension_key,
|
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
context_menus_api_helpers.h | 133 bool is_webview = item_id.extension_key.webview_instance_id != 0; 207 create_properties, profile->IsOffTheRecord(), item_id.extension_key)); 220 menu_manager->WriteToStorage(extension, item_id.extension_key); 232 bool is_webview = item_id.extension_key.webview_instance_id != 0; 303 update_properties, profile->IsOffTheRecord(), item_id.extension_key)); 322 menu_manager->WriteToStorage(extension, item_id.extension_key);
|
context_menus_api.cc | 102 manager->WriteToStorage(extension(), id.extension_key);
|
/external/chromium_org/chrome/browser/extensions/api/web_view/ |
chrome_web_view_internal_api.cc | 96 if (!item || item->id().extension_key != id.extension_key) {
|
/external/chromium_org/chrome/browser/renderer_context_menu/ |
render_view_context_menu.cc | 452 const MenuItem::ExtensionKey extension_key(id); 453 extension_items_.AppendExtensionItems(extension_key, [all...] |