menu_model_ 168 ash/shelf/shelf_view.cc ShelfMenuModel* menu_model_; menu_model_ 204 ash/shelf/shelf_view.cc if (!menu_model_->IsCommandActive(command_id)) menu_model_ 77 chrome/browser/apps/app_browsertest.cc return menu_model_.GetIndexOfCommandId(command_id) != -1; menu_model_ 26 chrome/browser/extensions/context_menu_matcher.cc : profile_(profile), menu_model_(menu_model), delegate_(delegate), menu_model_ 52 chrome/browser/extensions/context_menu_matcher.cc if (*index == 0 && menu_model_->GetItemCount()) menu_model_ 53 chrome/browser/extensions/context_menu_matcher.cc menu_model_->AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 61 chrome/browser/extensions/context_menu_matcher.cc menu_model_, index); menu_model_ 81 chrome/browser/extensions/context_menu_matcher.cc menu_model_->AddItem(menu_id, title); menu_model_ 85 chrome/browser/extensions/context_menu_matcher.cc menu_model_->AddSubMenu(menu_id, title, submenu); menu_model_ 263 chrome/browser/extensions/context_menu_matcher.cc int index = menu_model_->GetItemCount() - 1; menu_model_ 270 chrome/browser/extensions/context_menu_matcher.cc menu_model_->SetIcon(index, gfx::Image::CreateFrom1xBitmap(icon)); menu_model_ 82 chrome/browser/extensions/context_menu_matcher.h ui::SimpleMenuModel* menu_model_; menu_model_ 409 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_(this), menu_model_ 412 chrome/browser/renderer_context_menu/render_view_context_menu.cc &menu_model_, menu_model_ 592 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 602 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 609 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 710 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItem(command_id, title); menu_model_ 715 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddCheckItem(command_id, title); menu_model_ 719 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 725 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSubMenu(command_id, label, model); menu_model_ 751 chrome/browser/renderer_context_menu/render_view_context_menu.cc &menu_model_); menu_model_ 769 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 770 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_INSPECTELEMENT, menu_model_ 776 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 778 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP, menu_model_ 780 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP, menu_model_ 783 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE, menu_model_ 789 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENLINKNEWTAB, menu_model_ 791 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW, menu_model_ 797 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD, menu_model_ 799 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SAVELINKAS, menu_model_ 803 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId( menu_model_ 811 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SAVEIMAGEAS, menu_model_ 813 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_COPYIMAGELOCATION, menu_model_ 815 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_COPYIMAGE, menu_model_ 817 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB, menu_model_ 828 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItem( menu_model_ 837 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 838 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SAVEAVAS, menu_model_ 840 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_COPYAVLOCATION, menu_model_ 842 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENAVNEWTAB, menu_model_ 848 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 849 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SAVEAVAS, menu_model_ 851 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_COPYAVLOCATION, menu_model_ 853 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENAVNEWTAB, menu_model_ 860 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId( menu_model_ 866 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId( menu_model_ 872 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddCheckItemWithStringId(IDC_CONTENT_CONTEXT_LOOP, menu_model_ 874 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddCheckItemWithStringId(IDC_CONTENT_CONTEXT_CONTROLS, menu_model_ 884 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SAVEAVAS, menu_model_ 886 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_PRINT, IDS_CONTENT_CONTEXT_PRINT); menu_model_ 890 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 891 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_ROTATECW, menu_model_ 893 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_ROTATECCW, menu_model_ 899 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_BACK, IDS_CONTENT_CONTEXT_BACK); menu_model_ 900 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_FORWARD, IDS_CONTENT_CONTEXT_FORWARD); menu_model_ 901 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_RELOAD, IDS_CONTENT_CONTEXT_RELOAD); menu_model_ 902 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 903 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_SAVE_PAGE, menu_model_ 905 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_PRINT, IDS_CONTENT_CONTEXT_PRINT); menu_model_ 912 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItem( menu_model_ 917 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_VIEW_SOURCE, menu_model_ 919 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_VIEWPAGEINFO, menu_model_ 924 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_RELOADFRAME, menu_model_ 930 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE, menu_model_ 932 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_VIEWFRAMEINFO, menu_model_ 937 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_COPY, menu_model_ 945 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_PRINT, IDS_CONTENT_CONTEXT_PRINT); menu_model_ 977 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItem( menu_model_ 986 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItem( menu_model_ 1000 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_UNDO, menu_model_ 1002 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_REDO, menu_model_ 1004 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 1005 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_CUT, menu_model_ 1007 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_COPY, menu_model_ 1009 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_PASTE, menu_model_ 1011 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE, menu_model_ 1013 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_DELETE, menu_model_ 1015 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 1018 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_ADDSEARCHENGINE, menu_model_ 1020 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 1028 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 1029 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SELECTALL, menu_model_ 1060 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSubMenu( menu_model_ 1084 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSubMenu( menu_model_ 1930 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (source != &menu_model_) menu_model_ 1946 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (source != &menu_model_) menu_model_ 144 chrome/browser/renderer_context_menu/render_view_context_menu.h const ui::MenuModel& menu_model() const { return menu_model_; } menu_model_ 188 chrome/browser/renderer_context_menu/render_view_context_menu.h ui::SimpleMenuModel menu_model_; menu_model_ 46 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc return menu_model_.GetIndexOfCommandId(command_id) != -1; menu_model_ 54 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc models_to_search.push_back(&menu_model_); menu_model_ 78 chrome/browser/ui/app_list/app_context_menu.cc if (menu_model_.get()) menu_model_ 79 chrome/browser/ui/app_list/app_context_menu.cc return menu_model_.get(); menu_model_ 81 chrome/browser/ui/app_list/app_context_menu.cc menu_model_.reset(new ui::SimpleMenuModel(this)); menu_model_ 84 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId( menu_model_ 88 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId( menu_model_ 94 chrome/browser/ui/app_list/app_context_menu.cc profile_, this, menu_model_.get(), menu_model_ 98 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItem(LAUNCH_NEW, base::string16()); menu_model_ 106 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 107 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId( menu_model_ 115 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId(CREATE_SHORTCUTS, menu_model_ 120 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId(SHOW_APP_INFO, menu_model_ 125 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 130 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddCheckItemWithStringId( menu_model_ 134 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddCheckItemWithStringId( menu_model_ 137 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddCheckItemWithStringId( menu_model_ 142 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddCheckItemWithStringId( menu_model_ 146 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddCheckItemWithStringId( menu_model_ 151 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddCheckItemWithStringId( menu_model_ 156 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 157 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId(OPTIONS, IDS_NEW_TAB_APP_OPTIONS); menu_model_ 160 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId(DETAILS, IDS_NEW_TAB_APP_DETAILS); menu_model_ 161 chrome/browser/ui/app_list/app_context_menu.cc menu_model_->AddItemWithStringId( menu_model_ 167 chrome/browser/ui/app_list/app_context_menu.cc return menu_model_.get(); menu_model_ 65 chrome/browser/ui/app_list/app_context_menu.h scoped_ptr<ui::SimpleMenuModel> menu_model_; menu_model_ 51 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc menu_model_.reset(new ui::SimpleMenuModel(this)); menu_model_ 116 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc menu_model_->AddItemWithStringId(id, localization_id); menu_model_ 120 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc menu_model_->AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 125 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc menu_model_->AddCheckItemWithStringId(id, localization_id); menu_model_ 62 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h ui::SimpleMenuModel* menu_model() { return menu_model_.get(); } menu_model_ 109 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h scoped_ptr<ui::SimpleMenuModel> menu_model_; menu_model_ 53 chrome/browser/ui/gtk/back_forward_button_gtk.cc menu_model_.reset(new BackForwardMenuModel(browser, is_forward ? menu_model_ 85 chrome/browser/ui/gtk/back_forward_button_gtk.cc menu_.reset(new MenuGtk(this, menu_model_.get())); menu_model_ 62 chrome/browser/ui/gtk/back_forward_button_gtk.h scoped_ptr<BackForwardMenuModel> menu_model_; menu_model_ 103 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_model_.reset(new ui::SimpleMenuModel(this)); menu_model_ 104 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_model_->AddItemWithStringId(COMMAND_EDIT, IDS_EDIT); menu_model_ 105 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_model_->AddItemWithStringId(COMMAND_DELETE, IDS_DELETE); menu_model_ 106 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_model_->AddItemWithStringId( menu_model_ 109 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_.reset(new MenuGtk(NULL, menu_model_.get())); menu_model_ 232 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc scoped_ptr<ui::SimpleMenuModel> menu_model_; menu_model_ 206 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc menu_model_.reset(new OptionsMenuModel(GetDelegate())); menu_model_ 207 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc ShowMenuWithModel(sender, NULL, menu_model_.get()); menu_model_ 70 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h scoped_ptr<ui::MenuModel> menu_model_; menu_model_ 61 chrome/browser/ui/gtk/reload_button_gtk.cc menu_model_.reset(new ui::SimpleMenuModel(this)); menu_model_ 63 chrome/browser/ui/gtk/reload_button_gtk.cc menu_model_->AddItemWithStringId(kReloadMenuItems[i], kReloadMenuItems[i]); menu_model_ 405 chrome/browser/ui/gtk/reload_button_gtk.cc menu_.reset(new MenuGtk(this, menu_model_.get())); menu_model_ 137 chrome/browser/ui/gtk/reload_button_gtk.h scoped_ptr<ui::SimpleMenuModel> menu_model_; menu_model_ 91 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc menu_gtk_.reset(new MenuGtk(this, &menu_model_)); menu_model_ 112 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc menu_model_.GetIndexOfCommandId(IDC_CONTENT_CONTEXT_INSPECTELEMENT); menu_model_ 219 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc menu_model_.AddSubMenu( menu_model_ 229 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc GtkWidget* item = GetMenuItemByID(&menu_model_, menu_gtk_->widget(), menu_model_ 244 chrome/browser/ui/gtk/task_manager_gtk.cc menu_model_.reset(new ui::SimpleMenuModel(this)); menu_model_ 246 chrome/browser/ui/gtk/task_manager_gtk.cc menu_model_->AddCheckItemWithStringId( menu_model_ 249 chrome/browser/ui/gtk/task_manager_gtk.cc menu_.reset(new MenuGtk(NULL, menu_model_.get())); menu_model_ 296 chrome/browser/ui/gtk/task_manager_gtk.cc scoped_ptr<ui::SimpleMenuModel> menu_model_; menu_model_ 106 chrome/browser/ui/gtk/website_settings/permission_selector.cc menu_model_.reset(new PermissionMenuModel(this, url, type, default_setting, menu_model_ 109 chrome/browser/ui/gtk/website_settings/permission_selector.cc menu_.reset(new MenuGtk(delegate, menu_model_.get())); menu_model_ 72 chrome/browser/ui/gtk/website_settings/permission_selector.h scoped_ptr<PermissionMenuModel> menu_model_; menu_model_ 171 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc menu_model_(NULL), menu_model_ 231 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (icon_ && (delegate()->HasClickAction() || menu_model_ == NULL)) { menu_model_ 251 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc menu_model_ = model; menu_model_ 299 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (delegate()->HasClickAction() || menu_model_ == NULL) { menu_model_ 301 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (menu_model_) { menu_model_ 308 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (menu_model_) { menu_model_ 309 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc BuildSubmenuFromModel(menu_model_, menu_model_ 334 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc menu_model_ = NULL; menu_model_ 367 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (menu_model_->IsEnabledAt(id)) menu_model_ 69 chrome/browser/ui/libgtk2ui/app_indicator_icon.h ui::MenuModel* menu_model_; menu_model_ 123 chrome/browser/ui/panels/panel_extension_browsertest.cc return menu_model_.GetIndexOfCommandId(command_id) != -1; menu_model_ 438 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_model_.reset(new ui::SimpleMenuModel(this)); menu_model_ 439 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_model_->AddItem(IDC_MENU_ITEM_1, ASCIIToUTF16("Item 1")); menu_model_ 440 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_model_->AddItem(IDC_MENU_ITEM_2, ASCIIToUTF16("Item 2")); menu_model_ 441 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_model_->AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 442 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_model_->AddItem(IDC_MENU_INVISIBLE, ASCIIToUTF16("Invisible")); menu_model_ 443 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_model_->AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 444 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_model_->AddItem(IDC_MENU_ITEM_3, ASCIIToUTF16("Item 3")); menu_model_ 446 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu_runner_.reset(new views::MenuRunner(menu_model_.get())); menu_model_ 472 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc scoped_ptr<ui::SimpleMenuModel> menu_model_; menu_model_ 61 chrome/browser/ui/views/avatar_menu_button.h scoped_ptr<ui::MenuModel> menu_model_; menu_model_ 38 chrome/browser/ui/views/frame/system_menu_model_builder.cc menu_model_.reset(model); menu_model_ 32 chrome/browser/ui/views/frame/system_menu_model_builder.h ui::MenuModel* menu_model() { return menu_model_.get(); } menu_model_ 49 chrome/browser/ui/views/frame/system_menu_model_builder.h scoped_ptr<ui::MenuModel> menu_model_; menu_model_ 66 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc menu_runner_.reset(new views::MenuRunner(&menu_model_)); menu_model_ 187 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc menu_model_.AddSubMenu( menu_model_ 11 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc : menu_model_(NULL) { menu_model_ 17 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc if (menu_model_) menu_model_ 18 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc menu_model_->RemoveObserver(this); menu_model_ 67 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc if (menu_model_) menu_model_ 68 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc menu_model_->RemoveObserver(this); menu_model_ 71 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc menu_model_ = model; menu_model_ 58 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h StatusIconMenuModel* menu_model_; menu_model_ 51 chrome/browser/ui/views/status_icons/status_icon_win.cc if (!menu_model_) menu_model_ 59 chrome/browser/ui/views/status_icons/status_icon_win.cc menu_runner_.reset(new views::MenuRunner(menu_model_)); menu_model_ 155 chrome/browser/ui/views/status_icons/status_icon_win.cc menu_model_ = menu; menu_model_ 77 chrome/browser/ui/views/status_icons/status_icon_win.h ui::MenuModel* menu_model_; menu_model_ 389 chrome/browser/ui/views/toolbar/wrench_menu.cc GetAccessibleNameForWrenchMenuItem(menu_model_, index, acc_string_id)); menu_model_ 393 chrome/browser/ui/views/toolbar/wrench_menu.cc button->SetEnabled(menu_model_->IsEnabledAt(index)); menu_model_ 431 chrome/browser/ui/views/toolbar/wrench_menu.cc menu_model_ = NULL; menu_model_ 436 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuModel* menu_model() { return menu_model_; } menu_model_ 445 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuModel* menu_model_; menu_model_ 76 chrome/browser/ui/views/website_settings/permission_selector_view.cc PermissionMenuModel* menu_model_; // Owned by |PermissionSelectorView|. menu_model_ 130 chrome/browser/ui/views/website_settings/permission_selector_view.cc menu_runner_.reset(new views::MenuRunner(menu_model_)); menu_model_ 17 ui/app_list/app_list_menu.cc : menu_model_(this), menu_model_ 31 ui/app_list/app_list_menu.cc menu_model_.AddRadioItem(SELECT_PROFILE + i, menu_model_ 36 ui/app_list/app_list_menu.cc menu_model_.AddItem(SELECT_PROFILE + i, users_[i].name); menu_model_ 37 ui/app_list/app_list_menu.cc int menu_index = menu_model_.GetIndexOfCommandId(SELECT_PROFILE + i); menu_model_ 38 ui/app_list/app_list_menu.cc menu_model_.SetSublabel(menu_index, users_[i].email); menu_model_ 42 ui/app_list/app_list_menu.cc menu_model_.SetIcon(menu_index, gfx::Image(*rb.GetImageSkiaNamed( menu_model_ 47 ui/app_list/app_list_menu.cc menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); menu_model_ 50 ui/app_list/app_list_menu.cc menu_model_.AddItem(SHOW_SETTINGS, l10n_util::GetStringUTF16( menu_model_ 53 ui/app_list/app_list_menu.cc menu_model_.AddItem(SHOW_HELP, l10n_util::GetStringUTF16( menu_model_ 56 ui/app_list/app_list_menu.cc menu_model_.AddItem(SHOW_FEEDBACK, l10n_util::GetStringUTF16( menu_model_ 30 ui/app_list/app_list_menu.h ui::SimpleMenuModel* menu_model() { return &menu_model_; } menu_model_ 42 ui/app_list/app_list_menu.h ui::SimpleMenuModel menu_model_; menu_model_ 17 ui/views/controls/menu/menu_model_adapter.cc : menu_model_(menu_model), menu_model_ 41 ui/views/controls/menu/menu_model_adapter.cc menu_map_[menu] = menu_model_; menu_model_ 44 ui/views/controls/menu/menu_model_adapter.cc BuildMenuImpl(menu, menu_model_); menu_model_ 135 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 146 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 165 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 175 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 185 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 198 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 208 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 223 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; menu_model_ 86 ui/views/controls/menu/menu_model_adapter.h ui::MenuModel* menu_model_; menu_model_ 73 ui/views/examples/menu_example.cc scoped_ptr<ExampleMenuModel> menu_model_; menu_model_ 200 ui/views/examples/menu_example.cc if (!menu_model_.get()) menu_model_ 201 ui/views/examples/menu_example.cc menu_model_.reset(new ExampleMenuModel); menu_model_ 202 ui/views/examples/menu_example.cc return menu_model_.get();