MenuItem 55 ash/shelf/shelf_alignment_menu.cc switch (static_cast<MenuItem>(command_id)) { MenuItem 55 ash/shell/context_menu.cc switch (static_cast<MenuItem>(command_id)) { MenuItem 12 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java import android.view.MenuItem; MenuItem 97 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean onMenuItemSelected(int featureId, MenuItem item) { MenuItem 12 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java import android.view.MenuItem; MenuItem 104 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java List<MenuItem> menuItems = new ArrayList<MenuItem>(); MenuItem 106 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java MenuItem item = mMenu.getItem(i); MenuItem 171 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java void onItemClick(MenuItem menuItem) { MenuItem 9 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java import android.view.MenuItem; MenuItem 45 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java private final List<MenuItem> mMenuItems; MenuItem 48 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java public AppMenuAdapter(AppMenu appMenu, List<MenuItem> menuItems, LayoutInflater inflater) { MenuItem 83 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java public MenuItem getItem(int position) { MenuItem 92 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java final MenuItem item = getItem(position); MenuItem 157 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java final MenuItem titleItem = item.getSubMenu().getItem(0); MenuItem 185 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java private void setupImageButton(ImageButton button, final MenuItem item) { MenuItem 12 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java import android.view.MenuItem; MenuItem 143 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java void onOptionsItemSelected(MenuItem item) { MenuItem 11 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java import android.view.MenuItem; MenuItem 12 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java import android.view.MenuItem.OnMenuItemClickListener; MenuItem 105 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java public boolean onMenuItemClick(MenuItem item) { MenuItem 21 chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java import android.view.MenuItem; MenuItem 130 chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java public static void configureDirectShareMenuItem(Activity activity, MenuItem item) { MenuItem 11 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java import android.view.MenuItem; MenuItem 47 chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/AppMenuTest.java void onOptionsItemSelected(MenuItem item) { MenuItem 14 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import android.view.MenuItem; MenuItem 283 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java public boolean onOptionsItemSelected(MenuItem item) { MenuItem 351 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem backMenuItem = menu.findItem(R.id.back_menu_id); MenuItem 355 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem forwardMenuItem = menu.findItem(R.id.forward_menu_id); MenuItem 361 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem signinItem = menu.findItem(R.id.signin); MenuItem 370 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem distillPageItem = menu.findItem(R.id.distill_page); MenuItem 49 chrome/browser/apps/web_view_browsertest.cc using extensions::MenuItem; MenuItem 513 chrome/browser/apps/web_view_browsertest.cc MenuItem::List GetItems() { MenuItem 514 chrome/browser/apps/web_view_browsertest.cc MenuItem::List result; MenuItem 515 chrome/browser/apps/web_view_browsertest.cc std::set<MenuItem::ExtensionKey> extension_ids = MenuItem 517 chrome/browser/apps/web_view_browsertest.cc std::set<MenuItem::ExtensionKey>::iterator i; MenuItem 519 chrome/browser/apps/web_view_browsertest.cc const MenuItem::List* list = menu_manager()->MenuItems(*i); MenuItem 1637 chrome/browser/apps/web_view_browsertest.cc MenuItem::List items = GetItems(); MenuItem 1639 chrome/browser/apps/web_view_browsertest.cc MenuItem* item = items.at(0); MenuItem 1644 chrome/browser/apps/web_view_browsertest.cc MenuItem::List items_after_removal = GetItems(); MenuItem 1650 chrome/browser/apps/web_view_browsertest.cc MenuItem::List items_after_insertion = GetItems(); MenuItem 1655 chrome/browser/apps/web_view_browsertest.cc MenuItem::List items_after_all_removal = GetItems(); MenuItem 375 chrome/browser/chromeos/input_method/input_method_engine.cc bool InputMethodEngine::SetMenuItems(const std::vector<MenuItem>& items) { MenuItem 380 chrome/browser/chromeos/input_method/input_method_engine.cc const std::vector<MenuItem>& items) { MenuItem 385 chrome/browser/chromeos/input_method/input_method_engine.cc for (std::vector<MenuItem>::const_iterator item = items.begin(); MenuItem 604 chrome/browser/chromeos/input_method/input_method_engine.cc const MenuItem& item, MenuItem 76 chrome/browser/chromeos/input_method/input_method_engine.h virtual bool SetMenuItems(const std::vector<MenuItem>& items) OVERRIDE; MenuItem 77 chrome/browser/chromeos/input_method/input_method_engine.h virtual bool UpdateMenuItems(const std::vector<MenuItem>& items) OVERRIDE; MenuItem 103 chrome/browser/chromeos/input_method/input_method_engine.h void MenuItemToProperty(const MenuItem& item, MenuItem 19 chrome/browser/chromeos/input_method/input_method_engine_interface.cc InputMethodEngineInterface::MenuItem::MenuItem() { MenuItem 22 chrome/browser/chromeos/input_method/input_method_engine_interface.cc InputMethodEngineInterface::MenuItem::~MenuItem() { MenuItem 73 chrome/browser/chromeos/input_method/input_method_engine_interface.h MenuItem(); MenuItem 74 chrome/browser/chromeos/input_method/input_method_engine_interface.h virtual ~MenuItem(); MenuItem 84 chrome/browser/chromeos/input_method/input_method_engine_interface.h std::vector<MenuItem> children; MenuItem 225 chrome/browser/chromeos/input_method/input_method_engine_interface.h virtual bool SetMenuItems(const std::vector<MenuItem>& items) = 0; MenuItem 228 chrome/browser/chromeos/input_method/input_method_engine_interface.h virtual bool UpdateMenuItems(const std::vector<MenuItem>& items) = 0; MenuItem 80 chrome/browser/chromeos/input_method/mock_input_method_engine.cc bool MockInputMethodEngine::SetMenuItems(const std::vector<MenuItem>& items) { MenuItem 85 chrome/browser/chromeos/input_method/mock_input_method_engine.cc const std::vector<MenuItem>& items) { MenuItem 66 chrome/browser/chromeos/input_method/mock_input_method_engine.h virtual bool SetMenuItems(const std::vector<MenuItem>& items) OVERRIDE; MenuItem 67 chrome/browser/chromeos/input_method/mock_input_method_engine.h virtual bool UpdateMenuItems(const std::vector<MenuItem>& items) OVERRIDE; MenuItem 74 chrome/browser/chromeos/status/network_menu.cc MenuItem() MenuItem 79 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::ItemType type, base::string16 label, gfx::ImageSkia icon, MenuItem 88 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::ItemType type, base::string16 label, gfx::ImageSkia icon, MenuItem 104 chrome/browser/chromeos/status/network_menu.cc typedef std::vector<MenuItem> MenuItemVector; MenuItem 370 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::TYPE_COMMAND, MenuItem 375 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem( MenuItem 409 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem(ui::MenuModel::TYPE_COMMAND, MenuItem 451 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::TYPE_COMMAND, MenuItem 462 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem( MenuItem 512 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem( MenuItem 545 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem()); // Separator MenuItem 555 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem(ui::MenuModel::TYPE_COMMAND, label, MenuItem 572 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem(ui::MenuModel::TYPE_COMMAND, label, MenuItem 582 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem()); // Separator MenuItem 583 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem( MenuItem 609 chrome/browser/chromeos/status/network_menu.cc link_items.push_back(MenuItem(ui::MenuModel::TYPE_COMMAND, MenuItem 619 chrome/browser/chromeos/status/network_menu.cc address_items.push_back(MenuItem( MenuItem 630 chrome/browser/chromeos/status/network_menu.cc address_items.push_back(MenuItem( MenuItem 640 chrome/browser/chromeos/status/network_menu.cc address_items.push_back(MenuItem( MenuItem 647 chrome/browser/chromeos/status/network_menu.cc menu_items_.push_back(MenuItem()); // Separator MenuItem 36 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem::Id id(GetProfile()->IsOffTheRecord(), MenuItem 37 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem::ExtensionKey(extension_id())); MenuItem 61 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem::Id item_id(GetProfile()->IsOffTheRecord(), MenuItem 62 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem::ExtensionKey(extension_id())); MenuItem 83 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem::Id id(GetProfile()->IsOffTheRecord(), MenuItem 84 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem::ExtensionKey(extension_id())); MenuItem 92 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem* item = manager->GetItemById(id); MenuItem 108 chrome/browser/extensions/api/context_menus/context_menus_api.cc manager->RemoveAllContextItems(MenuItem::ExtensionKey(GetExtension()->id())); MenuItem 110 chrome/browser/extensions/api/context_menus/context_menus_api.cc MenuItem::ExtensionKey(GetExtension()->id())); MenuItem 29 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc std::string GetIDString(const MenuItem::Id& id) { MenuItem 36 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc MenuItem* GetParent(MenuItem::Id parent_id, MenuItem 39 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc MenuItem* parent = menu_manager->GetItemById(parent_id); MenuItem 45 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.cc if (parent->type() != MenuItem::NORMAL) { MenuItem 21 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h scoped_ptr<extensions::MenuItem::Id> GetParentId( MenuItem 24 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h const MenuItem::ExtensionKey& key) { MenuItem 26 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h return scoped_ptr<extensions::MenuItem::Id>(); MenuItem 28 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h scoped_ptr<extensions::MenuItem::Id> parent_id( MenuItem 29 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h new extensions::MenuItem::Id(is_off_the_record, key)); MenuItem 50 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h std::string GetIDString(const MenuItem::Id& id); MenuItem 52 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem* GetParent(MenuItem::Id parent_id, MenuItem 57 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::ContextList GetContexts(const PropertyWithEnumT& property) { MenuItem 58 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::ContextList contexts; MenuItem 62 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::ALL); MenuItem 65 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::PAGE); MenuItem 68 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::SELECTION); MenuItem 71 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::LINK); MenuItem 74 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::EDITABLE); MenuItem 77 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::IMAGE); MenuItem 80 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::VIDEO); MenuItem 83 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::AUDIO); MenuItem 86 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::FRAME); MenuItem 90 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(extensions::MenuItem::LAUNCHER); MenuItem 100 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::Type GetType(const PropertyWithEnumT& property, MenuItem 101 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::Type default_type) { MenuItem 106 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h return extensions::MenuItem::NORMAL; MenuItem 108 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h return extensions::MenuItem::CHECKBOX; MenuItem 110 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h return extensions::MenuItem::RADIO; MenuItem 112 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h return extensions::MenuItem::SEPARATOR; MenuItem 114 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h return extensions::MenuItem::NORMAL; MenuItem 122 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h const MenuItem::Id& item_id, MenuItem 140 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::ContextList contexts; MenuItem 144 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h contexts.Add(MenuItem::PAGE); MenuItem 146 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (contexts.Contains(MenuItem::LAUNCHER)) { MenuItem 159 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::Type type = GetType(create_properties, MenuItem::NORMAL); MenuItem 160 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (title.empty() && type != MenuItem::SEPARATOR) { MenuItem 175 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h scoped_ptr<MenuItem> item( MenuItem 176 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h new MenuItem(item_id, title, checked, enabled, type, contexts)); MenuItem 188 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h scoped_ptr<MenuItem::Id> parent_id(GetParentId( MenuItem 191 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem* parent = GetParent(*parent_id, menu_manager, error); MenuItem 211 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h const MenuItem::Id& item_id, MenuItem 217 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem* item = menu_manager->GetItemById(item_id); MenuItem 225 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::Type type = GetType(update_properties, item->type()); MenuItem 228 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (type == MenuItem::RADIO || item->type() == MenuItem::RADIO) MenuItem 236 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (title.empty() && item->type() != MenuItem::SEPARATOR) { MenuItem 247 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->type() != MenuItem::CHECKBOX && MenuItem 248 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h item->type() != MenuItem::RADIO) { MenuItem 266 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem::ContextList contexts; MenuItem 270 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h if (contexts.Contains(MenuItem::LAUNCHER)) { MenuItem 283 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem* parent = NULL; MenuItem 284 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h scoped_ptr<MenuItem::Id> parent_id(GetParentId( MenuItem 287 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h MenuItem* parent = GetParent(*parent_id, menu_manager, error); MenuItem 45 chrome/browser/extensions/api/input_ime/input_ime_api.cc void SetMenuItemToMenu(const input_ime::MenuItem& input, MenuItem 46 chrome/browser/extensions/api/input_ime/input_ime_api.cc InputMethodEngineInterface::MenuItem* out) { MenuItem 54 chrome/browser/extensions/api/input_ime/input_ime_api.cc if (input.style != input_ime::MenuItem::STYLE_NONE) { MenuItem 712 chrome/browser/extensions/api/input_ime/input_ime_api.cc const std::vector<linked_ptr<input_ime::MenuItem> >& items = params.items; MenuItem 713 chrome/browser/extensions/api/input_ime/input_ime_api.cc std::vector<InputMethodEngineInterface::MenuItem> items_out; MenuItem 716 chrome/browser/extensions/api/input_ime/input_ime_api.cc items_out.push_back(InputMethodEngineInterface::MenuItem()); MenuItem 739 chrome/browser/extensions/api/input_ime/input_ime_api.cc const std::vector<linked_ptr<input_ime::MenuItem> >& items = params.items; MenuItem 740 chrome/browser/extensions/api/input_ime/input_ime_api.cc std::vector<InputMethodEngineInterface::MenuItem> items_out; MenuItem 743 chrome/browser/extensions/api/input_ime/input_ime_api.cc items_out.push_back(InputMethodEngineInterface::MenuItem()); MenuItem 67 chrome/browser/extensions/api/webview/webview_api.cc MenuItem::Id id( MenuItem 69 chrome/browser/extensions/api/webview/webview_api.cc MenuItem::ExtensionKey(extension_id(), params->instance_id)); MenuItem 98 chrome/browser/extensions/api/webview/webview_api.cc MenuItem::Id item_id( MenuItem 100 chrome/browser/extensions/api/webview/webview_api.cc MenuItem::ExtensionKey(extension_id(), params->instance_id)); MenuItem 123 chrome/browser/extensions/api/webview/webview_api.cc MenuItem::Id id( MenuItem 125 chrome/browser/extensions/api/webview/webview_api.cc MenuItem::ExtensionKey(extension_id(), params->instance_id)); MenuItem 136 chrome/browser/extensions/api/webview/webview_api.cc MenuItem* item = menu_manager->GetItemById(id); MenuItem 161 chrome/browser/extensions/api/webview/webview_api.cc MenuItem::ExtensionKey(GetExtension()->id(), webview_instance_id)); MenuItem 25 chrome/browser/extensions/context_menu_matcher.cc const base::Callback<bool(const MenuItem*)>& filter) MenuItem 31 chrome/browser/extensions/context_menu_matcher.cc const MenuItem::ExtensionKey& extension_key, MenuItem 41 chrome/browser/extensions/context_menu_matcher.cc MenuItem::List items; MenuItem 65 chrome/browser/extensions/context_menu_matcher.cc MenuItem::List submenu_items; MenuItem 67 chrome/browser/extensions/context_menu_matcher.cc if (items.size() > 1 || items[0]->type() != MenuItem::NORMAL) { MenuItem 71 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = items[0]; MenuItem 99 chrome/browser/extensions/context_menu_matcher.cc const MenuItem::ExtensionKey& extension_key, MenuItem 102 chrome/browser/extensions/context_menu_matcher.cc MenuItem::List items; MenuItem 111 chrome/browser/extensions/context_menu_matcher.cc items[0]->type() != MenuItem::NORMAL) { MenuItem 114 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = items[0]; MenuItem 122 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = GetExtensionMenuItem(command_id); MenuItem 129 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = GetExtensionMenuItem(command_id); MenuItem 138 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = GetExtensionMenuItem(command_id); MenuItem 147 chrome/browser/extensions/context_menu_matcher.cc const MenuItem::ExtensionKey& extension_key, MenuItem 150 chrome/browser/extensions/context_menu_matcher.cc MenuItem::List& items) { MenuItem 160 chrome/browser/extensions/context_menu_matcher.cc const MenuItem::List* all_items = manager->MenuItems(extension_key); MenuItem 171 chrome/browser/extensions/context_menu_matcher.cc MenuItem::List ContextMenuMatcher::GetRelevantExtensionItems( MenuItem 172 chrome/browser/extensions/context_menu_matcher.cc const MenuItem::List& items, MenuItem 174 chrome/browser/extensions/context_menu_matcher.cc MenuItem::List result; MenuItem 175 chrome/browser/extensions/context_menu_matcher.cc for (MenuItem::List::const_iterator i = items.begin(); MenuItem 177 chrome/browser/extensions/context_menu_matcher.cc const MenuItem* item = *i; MenuItem 190 chrome/browser/extensions/context_menu_matcher.cc const MenuItem::List& items, MenuItem 196 chrome/browser/extensions/context_menu_matcher.cc MenuItem::Type last_type = MenuItem::NORMAL; MenuItem 199 chrome/browser/extensions/context_menu_matcher.cc for (MenuItem::List::const_iterator i = items.begin(); MenuItem 201 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = *i; MenuItem 205 chrome/browser/extensions/context_menu_matcher.cc if (last_type == MenuItem::RADIO && MenuItem 206 chrome/browser/extensions/context_menu_matcher.cc item->type() != MenuItem::RADIO) { MenuItem 208 chrome/browser/extensions/context_menu_matcher.cc last_type = MenuItem::SEPARATOR; MenuItem 217 chrome/browser/extensions/context_menu_matcher.cc if (item->type() == MenuItem::NORMAL) { MenuItem 218 chrome/browser/extensions/context_menu_matcher.cc MenuItem::List children = MenuItem 229 chrome/browser/extensions/context_menu_matcher.cc } else if (item->type() == MenuItem::CHECKBOX) { MenuItem 231 chrome/browser/extensions/context_menu_matcher.cc } else if (item->type() == MenuItem::RADIO) { MenuItem 233 chrome/browser/extensions/context_menu_matcher.cc last_type != MenuItem::RADIO) { MenuItem 241 chrome/browser/extensions/context_menu_matcher.cc } else if (item->type() == MenuItem::SEPARATOR) { MenuItem 248 chrome/browser/extensions/context_menu_matcher.cc MenuItem* ContextMenuMatcher::GetExtensionMenuItem(int id) const { MenuItem 250 chrome/browser/extensions/context_menu_matcher.cc std::map<int, MenuItem::Id>::const_iterator i = MenuItem 253 chrome/browser/extensions/context_menu_matcher.cc MenuItem* item = manager->GetItemById(i->second); MenuItem 32 chrome/browser/extensions/context_menu_matcher.h const base::Callback<bool(const MenuItem*)>& filter); MenuItem 37 chrome/browser/extensions/context_menu_matcher.h void AppendExtensionItems(const MenuItem::ExtensionKey& extension_key, MenuItem 46 chrome/browser/extensions/context_menu_matcher.h const MenuItem::ExtensionKey& extension_key, MenuItem 59 chrome/browser/extensions/context_menu_matcher.h const MenuItem::ExtensionKey& extension_key, MenuItem 62 chrome/browser/extensions/context_menu_matcher.h MenuItem::List& items); MenuItem 64 chrome/browser/extensions/context_menu_matcher.h MenuItem::List GetRelevantExtensionItems( MenuItem 65 chrome/browser/extensions/context_menu_matcher.h const MenuItem::List& items, MenuItem 69 chrome/browser/extensions/context_menu_matcher.h void RecursivelyAppendExtensionItems(const MenuItem::List& items, MenuItem 76 chrome/browser/extensions/context_menu_matcher.h extensions::MenuItem* GetExtensionMenuItem(int id) const; MenuItem 85 chrome/browser/extensions/context_menu_matcher.h base::Callback<bool(const MenuItem*)> filter_; MenuItem 88 chrome/browser/extensions/context_menu_matcher.h std::map<int, extensions::MenuItem::Id> extension_item_map_; MenuItem 26 chrome/browser/extensions/extension_context_menu_browsertest.cc using extensions::MenuItem; MenuItem 83 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuItem::List GetItems() { MenuItem 84 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuItem::List result; MenuItem 85 chrome/browser/extensions/extension_context_menu_browsertest.cc std::set<MenuItem::ExtensionKey> extension_ids = MenuItem 87 chrome/browser/extensions/extension_context_menu_browsertest.cc std::set<MenuItem::ExtensionKey>::iterator i; MenuItem 89 chrome/browser/extensions/extension_context_menu_browsertest.cc const MenuItem::List* list = menu_manager()->MenuItems(*i); MenuItem 146 chrome/browser/extensions/extension_context_menu_browsertest.cc std::map<int, MenuItem::Id>::iterator i; MenuItem 149 chrome/browser/extensions/extension_context_menu_browsertest.cc const MenuItem::Id& id = i->second; MenuItem 162 chrome/browser/extensions/extension_context_menu_browsertest.cc const MenuItem::Id& id, MenuItem 180 chrome/browser/extensions/extension_context_menu_browsertest.cc const MenuItem::Id& id, MenuItem 182 chrome/browser/extensions/extension_context_menu_browsertest.cc std::map<int, MenuItem::Id>::const_iterator i; MenuItem 262 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuItem::List items = GetItems(); MenuItem 264 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuItem* item = items.at(0); MenuItem 578 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuItem::Id id(false, MenuItem::ExtensionKey(extension->id())); MenuItem 63 chrome/browser/extensions/menu_manager.cc const MenuItem::Id& id) { MenuItem 70 chrome/browser/extensions/menu_manager.cc MenuItem::List MenuItemsFromValue(const std::string& extension_id, MenuItem 72 chrome/browser/extensions/menu_manager.cc MenuItem::List items; MenuItem 82 chrome/browser/extensions/menu_manager.cc MenuItem* item = MenuItem::Populate( MenuItem 91 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::Value> MenuItemsToValue(const MenuItem::List& items) { MenuItem 120 chrome/browser/extensions/menu_manager.cc MenuItem::MenuItem(const Id& id, MenuItem 133 chrome/browser/extensions/menu_manager.cc MenuItem::~MenuItem() { MenuItem 137 chrome/browser/extensions/menu_manager.cc MenuItem* MenuItem::ReleaseChild(const Id& child_id, MenuItem 140 chrome/browser/extensions/menu_manager.cc MenuItem* child = NULL; MenuItem 154 chrome/browser/extensions/menu_manager.cc void MenuItem::GetFlattenedSubtree(MenuItem::List* list) { MenuItem 160 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id> MenuItem::RemoveAllDescendants() { MenuItem 163 chrome/browser/extensions/menu_manager.cc MenuItem* child = *i; MenuItem 172 chrome/browser/extensions/menu_manager.cc base::string16 MenuItem::TitleWithReplacement(const base::string16& selection, MenuItem 184 chrome/browser/extensions/menu_manager.cc bool MenuItem::SetChecked(bool checked) { MenuItem 191 chrome/browser/extensions/menu_manager.cc void MenuItem::AddChild(MenuItem* item) { MenuItem 196 chrome/browser/extensions/menu_manager.cc scoped_ptr<base::DictionaryValue> MenuItem::ToValue() const { MenuItem 221 chrome/browser/extensions/menu_manager.cc MenuItem* MenuItem::Populate(const std::string& extension_id, MenuItem 227 chrome/browser/extensions/menu_manager.cc Id id(incognito, MenuItem::ExtensionKey(extension_id)); MenuItem 253 chrome/browser/extensions/menu_manager.cc scoped_ptr<MenuItem> result(new MenuItem( MenuItem 272 chrome/browser/extensions/menu_manager.cc new Id(incognito, MenuItem::ExtensionKey(extension_id))); MenuItem 281 chrome/browser/extensions/menu_manager.cc bool MenuItem::PopulateURLPatterns( MenuItem 328 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::ExtensionKey> MenuManager::ExtensionIds() { MenuItem 329 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::ExtensionKey> id_set; MenuItem 337 chrome/browser/extensions/menu_manager.cc const MenuItem::List* MenuManager::MenuItems( MenuItem 338 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& key) { MenuItem 346 chrome/browser/extensions/menu_manager.cc bool MenuManager::AddContextItem(const Extension* extension, MenuItem* item) { MenuItem 347 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& key = item->id().extension_key; MenuItem 359 chrome/browser/extensions/menu_manager.cc if (item->type() == MenuItem::RADIO) { MenuItem 373 chrome/browser/extensions/menu_manager.cc bool MenuManager::AddChildItem(const MenuItem::Id& parent_id, MenuItem 374 chrome/browser/extensions/menu_manager.cc MenuItem* child) { MenuItem 375 chrome/browser/extensions/menu_manager.cc MenuItem* parent = GetItemById(parent_id); MenuItem 376 chrome/browser/extensions/menu_manager.cc if (!parent || parent->type() != MenuItem::NORMAL || MenuItem 384 chrome/browser/extensions/menu_manager.cc if (child->type() == MenuItem::RADIO) MenuItem 389 chrome/browser/extensions/menu_manager.cc bool MenuManager::DescendantOf(MenuItem* item, MenuItem 390 chrome/browser/extensions/menu_manager.cc const MenuItem::Id& ancestor_id) { MenuItem 392 chrome/browser/extensions/menu_manager.cc MenuItem::Id* id = item->parent_id(); MenuItem 397 chrome/browser/extensions/menu_manager.cc MenuItem* next = GetItemById(*id); MenuItem 407 chrome/browser/extensions/menu_manager.cc bool MenuManager::ChangeParent(const MenuItem::Id& child_id, MenuItem 408 chrome/browser/extensions/menu_manager.cc const MenuItem::Id* parent_id) { MenuItem 409 chrome/browser/extensions/menu_manager.cc MenuItem* child = GetItemById(child_id); MenuItem 410 chrome/browser/extensions/menu_manager.cc MenuItem* new_parent = parent_id ? GetItemById(*parent_id) : NULL; MenuItem 418 chrome/browser/extensions/menu_manager.cc MenuItem::Id* old_parent_id = child->parent_id(); MenuItem 420 chrome/browser/extensions/menu_manager.cc MenuItem* old_parent = GetItemById(*old_parent_id); MenuItem 425 chrome/browser/extensions/menu_manager.cc MenuItem* taken = MenuItem 432 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& child_key = child->id().extension_key; MenuItem 438 chrome/browser/extensions/menu_manager.cc MenuItem::List& list = i->second; MenuItem 439 chrome/browser/extensions/menu_manager.cc MenuItem::List::iterator j = std::find(list.begin(), list.end(), child); MenuItem 452 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& child_key = child->id().extension_key; MenuItem 460 chrome/browser/extensions/menu_manager.cc bool MenuManager::RemoveContextMenuItem(const MenuItem::Id& id) { MenuItem 464 chrome/browser/extensions/menu_manager.cc MenuItem* menu_item = GetItemById(id); MenuItem 466 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey extension_key = id.extension_key; MenuItem 474 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id> items_removed; MenuItem 475 chrome/browser/extensions/menu_manager.cc MenuItem::List& list = i->second; MenuItem 476 chrome/browser/extensions/menu_manager.cc MenuItem::List::iterator j; MenuItem 490 chrome/browser/extensions/menu_manager.cc MenuItem* child = (*j)->ReleaseChild(id, true /* recursive */); MenuItem 504 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id>::iterator removed_iter; MenuItem 519 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& extension_key) { MenuItem 520 chrome/browser/extensions/menu_manager.cc MenuItem::List::iterator i; MenuItem 524 chrome/browser/extensions/menu_manager.cc MenuItem* item = *i; MenuItem 528 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id> removed_ids = item->RemoveAllDescendants(); MenuItem 529 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id>::const_iterator j; MenuItem 539 chrome/browser/extensions/menu_manager.cc MenuItem* MenuManager::GetItemById(const MenuItem::Id& id) const { MenuItem 540 chrome/browser/extensions/menu_manager.cc std::map<MenuItem::Id, MenuItem*>::const_iterator i = MenuItem 548 chrome/browser/extensions/menu_manager.cc void MenuManager::RadioItemSelected(MenuItem* item) { MenuItem 551 chrome/browser/extensions/menu_manager.cc const MenuItem::List* list = NULL; MenuItem 553 chrome/browser/extensions/menu_manager.cc MenuItem* parent = GetItemById(*item->parent_id()); MenuItem 560 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& key = item->id().extension_key; MenuItem 569 chrome/browser/extensions/menu_manager.cc MenuItem::List::const_iterator item_location; MenuItem 581 chrome/browser/extensions/menu_manager.cc MenuItem::List::const_iterator i; MenuItem 586 chrome/browser/extensions/menu_manager.cc if ((*i)->type() != MenuItem::RADIO) MenuItem 594 chrome/browser/extensions/menu_manager.cc if ((*i)->type() != MenuItem::RADIO) MenuItem 609 chrome/browser/extensions/menu_manager.cc const MenuItem::Id& menu_item_id) { MenuItem 615 chrome/browser/extensions/menu_manager.cc MenuItem* item = GetItemById(menu_item_id); MenuItem 625 chrome/browser/extensions/menu_manager.cc if (item->type() == MenuItem::RADIO) MenuItem 679 chrome/browser/extensions/menu_manager.cc if (item->type() == MenuItem::CHECKBOX || MenuItem 680 chrome/browser/extensions/menu_manager.cc item->type() == MenuItem::RADIO) { MenuItem 687 chrome/browser/extensions/menu_manager.cc (item->type() == MenuItem::RADIO) ? true : !was_checked; MenuItem 726 chrome/browser/extensions/menu_manager.cc void MenuManager::SanitizeRadioList(const MenuItem::List& item_list) { MenuItem 727 chrome/browser/extensions/menu_manager.cc MenuItem::List::const_iterator i = item_list.begin(); MenuItem 729 chrome/browser/extensions/menu_manager.cc if ((*i)->type() != MenuItem::RADIO) { MenuItem 737 chrome/browser/extensions/menu_manager.cc MenuItem::List::const_iterator last_checked = item_list.end(); MenuItem 738 chrome/browser/extensions/menu_manager.cc MenuItem::List::const_iterator radio_run_iter; MenuItem 741 chrome/browser/extensions/menu_manager.cc if ((*radio_run_iter)->type() != MenuItem::RADIO) { MenuItem 760 chrome/browser/extensions/menu_manager.cc bool MenuManager::ItemUpdated(const MenuItem::Id& id) { MenuItem 764 chrome/browser/extensions/menu_manager.cc MenuItem* menu_item = GetItemById(id); MenuItem 783 chrome/browser/extensions/menu_manager.cc const MenuItem::ExtensionKey& extension_key) { MenuItem 789 chrome/browser/extensions/menu_manager.cc const MenuItem::List* top_items = MenuItems(extension_key); MenuItem 790 chrome/browser/extensions/menu_manager.cc MenuItem::List all_items; MenuItem 792 chrome/browser/extensions/menu_manager.cc for (MenuItem::List::const_iterator i = top_items->begin(); MenuItem 813 chrome/browser/extensions/menu_manager.cc MenuItem::List items = MenuItemsFromValue(extension_id, value.get()); MenuItem 822 chrome/browser/extensions/menu_manager.cc scoped_ptr<MenuItem::Id> parent_id; MenuItem 842 chrome/browser/extensions/menu_manager.cc MenuItem::ExtensionKey extension_key(extension->id()); MenuItem 882 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id> items_to_remove; MenuItem 883 chrome/browser/extensions/menu_manager.cc std::map<MenuItem::Id, MenuItem*>::const_iterator iter; MenuItem 891 chrome/browser/extensions/menu_manager.cc std::set<MenuItem::Id>::iterator remove_iter; MenuItem 898 chrome/browser/extensions/menu_manager.cc MenuItem::ExtensionKey::ExtensionKey() : webview_instance_id(0) {} MenuItem 900 chrome/browser/extensions/menu_manager.cc MenuItem::ExtensionKey::ExtensionKey(const std::string& extension_id, MenuItem 904 chrome/browser/extensions/menu_manager.cc MenuItem::ExtensionKey::ExtensionKey(const std::string& extension_id) MenuItem 907 chrome/browser/extensions/menu_manager.cc bool MenuItem::ExtensionKey::operator==(const ExtensionKey& other) const { MenuItem 912 chrome/browser/extensions/menu_manager.cc bool MenuItem::ExtensionKey::operator<(const ExtensionKey& other) const { MenuItem 919 chrome/browser/extensions/menu_manager.cc bool MenuItem::ExtensionKey::operator!=(const ExtensionKey& other) const { MenuItem 923 chrome/browser/extensions/menu_manager.cc bool MenuItem::ExtensionKey::empty() const { MenuItem 927 chrome/browser/extensions/menu_manager.cc MenuItem::Id::Id() : incognito(false), uid(0) {} MenuItem 929 chrome/browser/extensions/menu_manager.cc MenuItem::Id::Id(bool incognito, const MenuItem::ExtensionKey& extension_key) MenuItem 932 chrome/browser/extensions/menu_manager.cc MenuItem::Id::~Id() { MenuItem 935 chrome/browser/extensions/menu_manager.cc bool MenuItem::Id::operator==(const Id& other) const { MenuItem 941 chrome/browser/extensions/menu_manager.cc bool MenuItem::Id::operator!=(const Id& other) const { MenuItem 945 chrome/browser/extensions/menu_manager.cc bool MenuItem::Id::operator<(const Id& other) const { MenuItem 40 chrome/browser/extensions/menu_manager.h class MenuItem { MenuItem 43 chrome/browser/extensions/menu_manager.h typedef std::vector<MenuItem*> List; MenuItem 150 chrome/browser/extensions/menu_manager.h MenuItem(const Id& id, MenuItem 156 chrome/browser/extensions/menu_manager.h virtual ~MenuItem(); MenuItem 204 chrome/browser/extensions/menu_manager.h static MenuItem* Populate(const std::string& extension_id, MenuItem 217 chrome/browser/extensions/menu_manager.h void AddChild(MenuItem* item); MenuItem 221 chrome/browser/extensions/menu_manager.h MenuItem* ReleaseChild(const Id& child_id, bool recursive); MenuItem 225 chrome/browser/extensions/menu_manager.h void GetFlattenedSubtree(MenuItem::List* list); MenuItem 264 chrome/browser/extensions/menu_manager.h DISALLOW_COPY_AND_ASSIGN(MenuItem); MenuItem 282 chrome/browser/extensions/menu_manager.h std::set<MenuItem::ExtensionKey> ExtensionIds(); MenuItem 289 chrome/browser/extensions/menu_manager.h const MenuItem::List* MenuItems(const MenuItem::ExtensionKey& extension_key); MenuItem 294 chrome/browser/extensions/menu_manager.h bool AddContextItem(const Extension* extension, MenuItem* item); MenuItem 298 chrome/browser/extensions/menu_manager.h bool AddChildItem(const MenuItem::Id& parent_id, MenuItem 299 chrome/browser/extensions/menu_manager.h MenuItem* child); MenuItem 306 chrome/browser/extensions/menu_manager.h bool ChangeParent(const MenuItem::Id& child_id, MenuItem 307 chrome/browser/extensions/menu_manager.h const MenuItem::Id* parent_id); MenuItem 312 chrome/browser/extensions/menu_manager.h bool RemoveContextMenuItem(const MenuItem::Id& id); MenuItem 315 chrome/browser/extensions/menu_manager.h void RemoveAllContextItems(const MenuItem::ExtensionKey& extension_key); MenuItem 318 chrome/browser/extensions/menu_manager.h MenuItem* GetItemById(const MenuItem::Id& id) const; MenuItem 324 chrome/browser/extensions/menu_manager.h bool ItemUpdated(const MenuItem::Id& id); MenuItem 330 chrome/browser/extensions/menu_manager.h const MenuItem::Id& menu_item_id); MenuItem 343 chrome/browser/extensions/menu_manager.h const MenuItem::ExtensionKey& extension_key); MenuItem 359 chrome/browser/extensions/menu_manager.h void RadioItemSelected(MenuItem* item); MenuItem 365 chrome/browser/extensions/menu_manager.h void SanitizeRadioList(const MenuItem::List& item_list); MenuItem 368 chrome/browser/extensions/menu_manager.h bool DescendantOf(MenuItem* item, const MenuItem::Id& ancestor_id); MenuItem 371 chrome/browser/extensions/menu_manager.h typedef std::map<MenuItem::ExtensionKey, MenuItem::List> MenuItemMap; MenuItem 377 chrome/browser/extensions/menu_manager.h std::map<MenuItem::Id, MenuItem*> items_by_id_; MenuItem 61 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* CreateTestItem(Extension* extension, bool incognito = false) { MenuItem 62 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Type type = MenuItem::NORMAL; MenuItem 63 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::ContextList contexts(MenuItem::ALL); MenuItem 64 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key(extension->id()); MenuItem 65 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id(incognito, key); MenuItem 67 chrome/browser/extensions/menu_manager_unittest.cc return new MenuItem(id, "test", false, true, type, contexts); MenuItem 71 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* CreateTestItemWithID(Extension* extension, MenuItem 73 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Type type = MenuItem::NORMAL; MenuItem 74 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::ContextList contexts(MenuItem::ALL); MenuItem 75 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key(extension->id()); MenuItem 76 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id(false, key); MenuItem 78 chrome/browser/extensions/menu_manager_unittest.cc return new MenuItem(id, "test", false, true, type, contexts); MenuItem 109 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension); MenuItem 113 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::List* items = manager_.MenuItems(item1->id().extension_key); MenuItem 118 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItemWithID(extension, "id2"); MenuItem 127 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item3 = CreateTestItem(extension); MenuItem 128 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id3 = item3->id(); MenuItem 129 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey extension_key3(item3->id().extension_key); MenuItem 138 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key(extension->id()); MenuItem 139 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id(false, key); MenuItem 144 chrome/browser/extensions/menu_manager_unittest.cc scoped_ptr<MenuItem> item2too(CreateTestItemWithID(extension, "id2")); MenuItem 149 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2other = CreateTestItemWithID(extension2, "id2"); MenuItem 159 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension1); MenuItem 160 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension2); MenuItem 161 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2_child = CreateTestItemWithID(extension2, "2child"); MenuItem 162 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2_grandchild = CreateTestItem(extension2); MenuItem 166 chrome/browser/extensions/menu_manager_unittest.cc scoped_ptr<MenuItem> item3(CreateTestItem(extension3)); MenuItem 172 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id1 = item1->id(); MenuItem 173 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id2 = item2->id(); MenuItem 180 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id2_child = item2_child->id(); MenuItem 190 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id2_grandchild = item2_grandchild->id(); MenuItem 212 chrome/browser/extensions/menu_manager_unittest.cc int type = MenuItem::CHECKBOX; MenuItem 216 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::ContextList contexts; MenuItem 217 chrome/browser/extensions/menu_manager_unittest.cc contexts.Add(MenuItem::PAGE); MenuItem 218 chrome/browser/extensions/menu_manager_unittest.cc contexts.Add(MenuItem::SELECTION); MenuItem 246 chrome/browser/extensions/menu_manager_unittest.cc scoped_ptr<MenuItem> item(MenuItem::Populate(extension->id(), value, &error)); MenuItem 277 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension); MenuItem 278 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension); MenuItem 279 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item3 = CreateTestItemWithID(extension, "id3"); MenuItem 280 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item4 = CreateTestItemWithID(extension, "id4"); MenuItem 281 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item5 = CreateTestItem(extension); MenuItem 282 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item6 = CreateTestItem(extension); MenuItem 283 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id item1_id = item1->id(); MenuItem 284 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id item2_id = item2->id(); MenuItem 285 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id item3_id = item3->id(); MenuItem 286 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id item4_id = item4->id(); MenuItem 287 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id item5_id = item5->id(); MenuItem 288 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id item6_id = item6->id(); MenuItem 289 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key(extension->id()); MenuItem 343 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension1); MenuItem 344 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension1); MenuItem 349 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::List* items = manager_.MenuItems(item1->id().extension_key); MenuItem 356 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item3 = CreateTestItem(extension1); MenuItem 407 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item4 = CreateTestItem(extension2); MenuItem 427 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension1); MenuItem 428 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id1 = item1->id(); MenuItem 432 chrome/browser/extensions/menu_manager_unittest.cc 1u, manager_.MenuItems(MenuItem::ExtensionKey(extension1->id()))->size()); MenuItem 436 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension2); MenuItem 448 chrome/browser/extensions/menu_manager_unittest.cc ASSERT_EQ(NULL, manager_.MenuItems(MenuItem::ExtensionKey(extension1->id()))); MenuItem 450 chrome/browser/extensions/menu_manager_unittest.cc 1u, manager_.MenuItems(MenuItem::ExtensionKey(extension2->id()))->size()); MenuItem 507 chrome/browser/extensions/menu_manager_unittest.cc manager_.RemoveAllContextItems(MenuItem::ExtensionKey("CCCC")); MenuItem 511 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension1); MenuItem 512 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension1); MenuItem 513 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item3 = CreateTestItem(extension1); MenuItem 520 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item4 = CreateTestItem(extension2); MenuItem 523 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key1(extension1->id()); MenuItem 524 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key2(extension2->id()); MenuItem 542 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension1); MenuItem 543 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension1); MenuItem 544 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item3 = CreateTestItemWithID(extension1, "id3"); MenuItem 575 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* parent = CreateTestItem(extension); MenuItem 576 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item = CreateTestItem(extension); MenuItem 577 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id parent_id = parent->id(); MenuItem 578 chrome/browser/extensions/menu_manager_unittest.cc MenuItem::Id id = item->id(); MenuItem 644 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension); MenuItem 646 chrome/browser/extensions/menu_manager_unittest.cc item1->set_type(MenuItem::RADIO); MenuItem 654 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension); MenuItem 655 chrome/browser/extensions/menu_manager_unittest.cc item2->set_type(MenuItem::RADIO); MenuItem 684 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* new_item = CreateTestItem(extension); MenuItem 685 chrome/browser/extensions/menu_manager_unittest.cc new_item->set_type(MenuItem::RADIO); MenuItem 693 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* parent = CreateTestItem(extension); MenuItem 695 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* child1 = CreateTestItem(extension); MenuItem 696 chrome/browser/extensions/menu_manager_unittest.cc child1->set_type(MenuItem::RADIO); MenuItem 698 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* child2 = CreateTestItem(extension); MenuItem 699 chrome/browser/extensions/menu_manager_unittest.cc child2->set_type(MenuItem::RADIO); MenuItem 735 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item1 = CreateTestItem(extension1, true); MenuItem 736 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item2 = CreateTestItem(extension1, true); MenuItem 737 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item3 = CreateTestItem(extension1, true); MenuItem 744 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item4 = CreateTestItem(extension1); MenuItem 745 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item5 = CreateTestItem(extension1); MenuItem 746 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item6 = CreateTestItem(extension1); MenuItem 753 chrome/browser/extensions/menu_manager_unittest.cc MenuItem* item7 = CreateTestItem(extension2); MenuItem 756 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key1(extension1->id()); MenuItem 757 chrome/browser/extensions/menu_manager_unittest.cc const MenuItem::ExtensionKey key2(extension2->id()); MenuItem 693 chrome/browser/guestview/webview/webview_guest.cc menu_manager->RemoveAllContextItems(extensions::MenuItem::ExtensionKey( MenuItem 15 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc using extensions::MenuItem; MenuItem 34 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc if (contexts & MenuItem::SELECTION) MenuItem 37 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc if (contexts & MenuItem::LINK) { MenuItem 42 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc if (contexts & MenuItem::EDITABLE) MenuItem 45 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc if (contexts & MenuItem::IMAGE) { MenuItem 50 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc if (contexts & MenuItem::VIDEO) { MenuItem 55 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc if (contexts & MenuItem::AUDIO) { MenuItem 60 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc if (contexts & MenuItem::FRAME) MenuItem 68 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::LINK); MenuItem 79 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::SELECTION); MenuItem 92 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::EDITABLE); MenuItem 103 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::IMAGE); MenuItem 121 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::VIDEO); MenuItem 135 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::AUDIO); MenuItem 149 chrome/browser/renderer_context_menu/context_menu_content_type_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::FRAME); MenuItem 134 chrome/browser/renderer_context_menu/render_view_context_menu.cc using extensions::MenuItem; MenuItem 287 chrome/browser/renderer_context_menu/render_view_context_menu.cc bool IsCustomItemEnabled(const std::vector<content::MenuItem>& items, int id) { MenuItem 294 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (items[i].type == content::MenuItem::SUBMENU) { MenuItem 302 chrome/browser/renderer_context_menu/render_view_context_menu.cc bool IsCustomItemChecked(const std::vector<content::MenuItem>& items, int id) { MenuItem 309 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (items[i].type == content::MenuItem::SUBMENU) { MenuItem 320 chrome/browser/renderer_context_menu/render_view_context_menu.cc void AddCustomItemsToMenu(const std::vector<content::MenuItem>& items, MenuItem 341 chrome/browser/renderer_context_menu/render_view_context_menu.cc case content::MenuItem::OPTION: MenuItem 346 chrome/browser/renderer_context_menu/render_view_context_menu.cc case content::MenuItem::CHECKABLE_OPTION: MenuItem 351 chrome/browser/renderer_context_menu/render_view_context_menu.cc case content::MenuItem::GROUP: MenuItem 355 chrome/browser/renderer_context_menu/render_view_context_menu.cc case content::MenuItem::SEPARATOR: MenuItem 358 chrome/browser/renderer_context_menu/render_view_context_menu.cc case content::MenuItem::SUBMENU: { MenuItem 449 chrome/browser/renderer_context_menu/render_view_context_menu.cc MenuItem::ContextList contexts, MenuItem 455 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (contexts.Contains(MenuItem::ALL) || MenuItem 456 chrome/browser/renderer_context_menu/render_view_context_menu.cc (has_selection && contexts.Contains(MenuItem::SELECTION)) || MenuItem 457 chrome/browser/renderer_context_menu/render_view_context_menu.cc (params.is_editable && contexts.Contains(MenuItem::EDITABLE)) || MenuItem 458 chrome/browser/renderer_context_menu/render_view_context_menu.cc (in_frame && contexts.Contains(MenuItem::FRAME))) MenuItem 461 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (has_link && contexts.Contains(MenuItem::LINK) && MenuItem 467 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (contexts.Contains(MenuItem::IMAGE) && MenuItem 473 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (contexts.Contains(MenuItem::VIDEO) && MenuItem 479 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (contexts.Contains(MenuItem::AUDIO) && MenuItem 493 chrome/browser/renderer_context_menu/render_view_context_menu.cc contexts.Contains(MenuItem::PAGE)) MenuItem 506 chrome/browser/renderer_context_menu/render_view_context_menu.cc const extensions::MenuItem* item) { MenuItem 532 chrome/browser/renderer_context_menu/render_view_context_menu.cc std::set<MenuItem::ExtensionKey> ids = menu_manager->ExtensionIds(); MenuItem 535 chrome/browser/renderer_context_menu/render_view_context_menu.cc for (std::set<MenuItem::ExtensionKey>::iterator i = ids.begin(); MenuItem 559 chrome/browser/renderer_context_menu/render_view_context_menu.cc const MenuItem::ExtensionKey extension_key(id); MenuItem 577 chrome/browser/renderer_context_menu/render_view_context_menu.cc const MenuItem::ExtensionKey key( MenuItem 37 chrome/browser/renderer_context_menu/render_view_context_menu.h class MenuItem; MenuItem 199 chrome/browser/renderer_context_menu/render_view_context_menu.h extensions::MenuItem::ContextList contexts, MenuItem 202 chrome/browser/renderer_context_menu/render_view_context_menu.h const extensions::MenuItem* item); MenuItem 21 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc using extensions::MenuItem; MenuItem 29 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts, MenuItem 44 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc if (contexts & MenuItem::SELECTION) MenuItem 47 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc if (contexts & MenuItem::LINK) MenuItem 50 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc if (contexts & MenuItem::EDITABLE) MenuItem 53 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc if (contexts & MenuItem::IMAGE) { MenuItem 58 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc if (contexts & MenuItem::VIDEO) { MenuItem 63 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc if (contexts & MenuItem::AUDIO) { MenuItem 68 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc if (contexts & MenuItem::FRAME) MenuItem 88 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 89 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::PAGE); MenuItem 97 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::LINK); MenuItem 99 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 100 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::PAGE); MenuItem 101 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::LINK); MenuItem 109 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::IMAGE); MenuItem 111 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 112 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::PAGE); MenuItem 113 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::IMAGE); MenuItem 121 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::VIDEO); MenuItem 123 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 124 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::PAGE); MenuItem 125 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::VIDEO); MenuItem 133 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::AUDIO); MenuItem 135 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 136 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::PAGE); MenuItem 137 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::AUDIO); MenuItem 145 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::IMAGE | MenuItem 146 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::LINK); MenuItem 148 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 149 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::LINK); MenuItem 150 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::IMAGE); MenuItem 158 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::IMAGE | MenuItem 159 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::LINK); MenuItem 161 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 162 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::LINK); MenuItem 163 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::IMAGE); MenuItem 171 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::IMAGE | MenuItem 172 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::LINK); MenuItem 174 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 175 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::LINK); MenuItem 176 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::IMAGE); MenuItem 184 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::FRAME); MenuItem 186 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 187 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::FRAME); MenuItem 195 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::EDITABLE); MenuItem 197 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 198 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::EDITABLE); MenuItem 207 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc CreateParams(MenuItem::SELECTION); MenuItem 209 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 210 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::SELECTION); MenuItem 219 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::SELECTION | MenuItem::LINK); MenuItem 221 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 222 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::SELECTION); MenuItem 223 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::LINK); MenuItem 232 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::SELECTION | MenuItem::IMAGE); MenuItem 234 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc MenuItem::ContextList contexts; MenuItem 235 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::SELECTION); MenuItem 236 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc contexts.Add(MenuItem::IMAGE); MenuItem 256 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc content::ContextMenuParams params = CreateParams(MenuItem::LINK); MenuItem 86 chrome/browser/ui/android/context_menu_helper.cc std::vector<content::MenuItem>::const_iterator i; MenuItem 52 chrome/browser/ui/app_list/app_context_menu.cc bool MenuItemHasLauncherContext(const extensions::MenuItem* item) { MenuItem 53 chrome/browser/ui/app_list/app_context_menu.cc return item->contexts().Contains(extensions::MenuItem::LAUNCHER); MenuItem 102 chrome/browser/ui/app_list/app_context_menu.cc extensions::MenuItem::ExtensionKey(app_id_), base::string16(), &index); MenuItem 33 chrome/browser/ui/ash/launcher/launcher_context_menu.cc bool MenuItemHasLauncherContext(const extensions::MenuItem* item) { MenuItem 34 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return item->contexts().Contains(extensions::MenuItem::LAUNCHER); MenuItem 159 chrome/browser/ui/ash/launcher/launcher_context_menu.cc const extensions::MenuItem::ExtensionKey app_key( MenuItem 270 chrome/browser/ui/ash/launcher/launcher_context_menu.cc switch (static_cast<MenuItem>(command_id)) { MenuItem 96 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc content::MenuItem menu_item; MenuItem 39 chrome/renderer/pepper/pepper_flash_menu_host.cc std::vector<content::MenuItem>* out_menu, MenuItem 53 chrome/renderer/pepper/pepper_flash_menu_host.cc content::MenuItem item; MenuItem 58 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::OPTION; MenuItem 61 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::CHECKABLE_OPTION; MenuItem 64 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::SEPARATOR; MenuItem 67 chrome/renderer/pepper/pepper_flash_menu_host.cc item.type = content::MenuItem::SUBMENU; MenuItem 18 chrome/renderer/pepper/pepper_flash_menu_host.h struct MenuItem; MenuItem 55 chrome/renderer/pepper/pepper_flash_menu_host.h std::vector<content::MenuItem> menu_data_; MenuItem 326 chrome/renderer/plugins/chrome_plugin_placeholder.cc content::MenuItem name_item; MenuItem 330 chrome/renderer/plugins/chrome_plugin_placeholder.cc content::MenuItem separator_item; MenuItem 331 chrome/renderer/plugins/chrome_plugin_placeholder.cc separator_item.type = content::MenuItem::SEPARATOR; MenuItem 335 chrome/renderer/plugins/chrome_plugin_placeholder.cc content::MenuItem run_item; MenuItem 343 chrome/renderer/plugins/chrome_plugin_placeholder.cc content::MenuItem hide_item; MenuItem 10 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java import android.view.MenuItem; MenuItem 93 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java MenuItem item = menu.getItem(i); MenuItem 106 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java MenuItem item = menu.findItem(itemId); MenuItem 519 content/browser/android/content_view_core_impl.cc const std::vector<MenuItem>& items, int selected_item, bool multiple) { MenuItem 554 content/browser/android/content_view_core_impl.cc (items[i].type == MenuItem::GROUP ? POPUP_ITEM_TYPE_GROUP : MenuItem 36 content/browser/android/content_view_core_impl.h struct MenuItem; MenuItem 247 content/browser/android/content_view_core_impl.h void ShowSelectPopupMenu(const std::vector<MenuItem>& items, MenuItem 85 content/browser/frame_host/interstitial_page_impl.cc const std::vector<MenuItem>& items, MenuItem 858 content/browser/frame_host/interstitial_page_impl.cc const std::vector<MenuItem>& items, MenuItem 26 content/browser/renderer_host/popup_menu_helper_mac.h struct MenuItem; MenuItem 42 content/browser/renderer_host/popup_menu_helper_mac.h const std::vector<MenuItem>& items, MenuItem 42 content/browser/renderer_host/webmenurunner_mac.h - (id)initWithItems:(const std::vector<content::MenuItem>&)items MenuItem 183 content/browser/web_contents/web_contents_view_android.cc const std::vector<MenuItem>& items, MenuItem 66 content/browser/web_contents/web_contents_view_android.h const std::vector<MenuItem>& items, MenuItem 109 content/browser/web_contents/web_contents_view_mac.h const std::vector<MenuItem>& items, MenuItem 81 content/common/view_messages.h IPC_ENUM_TRAITS(content::MenuItem::Type) MenuItem 139 content/common/view_messages.h IPC_STRUCT_TRAITS_BEGIN(content::MenuItem) MenuItem 358 content/common/view_messages.h IPC_STRUCT_MEMBER(std::vector<content::MenuItem>, popup_items) MenuItem 27 content/port/browser/render_view_host_delegate_view.h struct MenuItem; MenuItem 46 content/port/browser/render_view_host_delegate_view.h const std::vector<MenuItem>& items, MenuItem 11 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java import android.view.MenuItem; MenuItem 133 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java public boolean onActionItemClicked(ActionMode mode, MenuItem item) { MenuItem 143 content/public/common/context_menu_params.h std::vector<MenuItem> custom_items; MenuItem 9 content/public/common/menu_item.cc MenuItem::MenuItem() MenuItem 18 content/public/common/menu_item.cc MenuItem::MenuItem(const MenuItem& item) MenuItem 30 content/public/common/menu_item.cc MenuItem::~MenuItem() { MenuItem 18 content/public/common/menu_item.h struct CONTENT_EXPORT MenuItem { MenuItem 27 content/public/common/menu_item.h MenuItem(); MenuItem 28 content/public/common/menu_item.h MenuItem(const MenuItem& item); MenuItem 29 content/public/common/menu_item.h ~MenuItem(); MenuItem 39 content/public/common/menu_item.h std::vector<MenuItem> submenu; MenuItem 11 content/renderer/menu_item_builder.cc MenuItem MenuItemBuilder::Build(const blink::WebMenuItemInfo& item) { MenuItem 12 content/renderer/menu_item_builder.cc MenuItem result; MenuItem 16 content/renderer/menu_item_builder.cc result.type = static_cast<MenuItem::Type>(item.type); MenuItem 13 content/renderer/menu_item_builder.h struct MenuItem; MenuItem 17 content/renderer/menu_item_builder.h static MenuItem Build(const blink::WebMenuItemInfo& item); MenuItem 25 remoting/android/java/src/org/chromium/chromoting/Chromoting.java import android.view.MenuItem; MenuItem 77 remoting/android/java/src/org/chromium/chromoting/Chromoting.java private MenuItem mRefreshButton; MenuItem 243 remoting/android/java/src/org/chromium/chromoting/Chromoting.java public boolean onOptionsItemSelected(MenuItem item) { MenuItem 12 remoting/android/java/src/org/chromium/chromoting/Desktop.java import android.view.MenuItem; MenuItem 84 remoting/android/java/src/org/chromium/chromoting/Desktop.java public boolean onOptionsItemSelected(MenuItem item) { MenuItem 23 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java import android.view.MenuItem; MenuItem 134 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java public boolean onOptionsItemSelected(MenuItem item) {