menu 164 ash/shelf/shelf_view.cc virtual int GetMaxWidthForMenu(views::MenuItemView* menu) OVERRIDE; menu 221 ash/shelf/shelf_view.cc int ShelfMenuModelAdapter::GetMaxWidthForMenu(views::MenuItemView* menu) { menu 81 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean onCreatePanelMenu(int featureId, Menu menu) { menu 82 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.onCreatePanelMenu(featureId, menu); menu 102 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean onMenuOpened(int featureId, Menu menu) { menu 103 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.onMenuOpened(featureId, menu); menu 107 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public void onPanelClosed(int featureId, Menu menu) { menu 108 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java mCallback.onPanelClosed(featureId, menu); menu 112 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java public boolean onPreparePanel(int featureId, View view, Menu menu) { menu 113 base/android/java/src/org/chromium/base/WindowCallbackWrapper.java return mCallback.onPreparePanel(featureId, view, menu); menu 36 chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java public void onContextMenuShown(Tab tab, ContextMenu menu) { } menu 247 chrome/android/java/src/org/chromium/chrome/browser/Tab.java public void buildContextMenu(ContextMenu menu, Context context, ContextMenuParams params) { menu 248 chrome/android/java/src/org/chromium/chrome/browser/Tab.java super.buildContextMenu(menu, context, params); menu 249 chrome/android/java/src/org/chromium/chrome/browser/Tab.java for (TabObserver observer : mObservers) observer.onContextMenuShown(Tab.this, menu); menu 73 chrome/android/java/src/org/chromium/chrome/browser/TabObserver.java void onContextMenuShown(Tab tab, ContextMenu menu); menu 56 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java AppMenu(Menu menu, int itemRowHeight, AppMenuHandler handler, Resources res) { menu 57 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java mMenu = menu; menu 40 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java public void buildContextMenu(ContextMenu menu, Context context, ContextMenuParams params) { menu 41 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java if (!TextUtils.isEmpty(params.getLinkUrl())) menu.setHeaderTitle(params.getLinkUrl()); menu 45 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java mMenuInflater.inflate(R.menu.chrome_context_menu, menu); menu 47 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.setGroupVisible(R.id.contextmenu_group_anchor, params.isAnchor()); menu 48 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.setGroupVisible(R.id.contextmenu_group_image, params.isImage()); menu 49 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.setGroupVisible(R.id.contextmenu_group_video, params.isVideo()); menu 52 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_open_in_incognito_tab).setVisible(false); menu 56 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_copy_link_text).setVisible(false); menu 59 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_save_link_as).setEnabled( menu 63 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_save_video).setEnabled( menu 66 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_save_image).setEnabled( menu 70 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_open_original_image_in_new_tab).setVisible(false); menu 72 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_open_image_in_new_tab).setVisible(false); menu 82 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_search_by_image).setVisible(isSearchByImageAvailable); menu 84 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_search_by_image).setTitle( menu 90 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java menu.findItem(R.id.contextmenu_copy_image).setVisible( menu 87 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { menu 92 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java menu.add(Menu.NONE, i, Menu.NONE, mCurrentContextMenuParams.getCustomLabelAt(i)); menu 96 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java mPopulator.buildContextMenu(menu, v.getContext(), mCurrentContextMenuParams); menu 99 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java for (int i = 0; i < menu.size(); i++) { menu 100 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java menu.getItem(i).setOnMenuItemClickListener(this); menu 29 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuPopulator.java public void buildContextMenu(ContextMenu menu, Context context, ContextMenuParams params); menu 32 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuPopulatorWrapper.java public void buildContextMenu(ContextMenu menu, Context context, ContextMenuParams params) { menu 33 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuPopulatorWrapper.java mPopulator.buildContextMenu(menu, context, params); menu 182 chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java ContextMenu menu = ContextMenuUtils.openContextMenu(this, tab, menu 184 chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java assertNotNull("Context menu was not properly created", menu); menu 204 chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java ContextMenu menu = ContextMenuUtils.openContextMenu(this, tab, menu 206 chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java assertNotNull("Context menu was not properly created", menu); menu 161 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java mAppMenuHandler = sAppMenuHandlerFactory.getAppMenuHandler(this, this, R.menu.main_menu); menu 346 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java public void prepareMenu(Menu menu) { menu 347 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java menu.setGroupVisible(R.id.MAIN_MENU, true); menu 351 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem backMenuItem = menu.findItem(R.id.back_menu_id); menu 355 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem forwardMenuItem = menu.findItem(R.id.forward_menu_id); menu 359 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java menu.findItem(R.id.bookmark_this_page_id).setEnabled(true); menu 361 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem signinItem = menu.findItem(R.id.signin); menu 368 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java menu.findItem(R.id.print).setVisible(ApiCompatibilityUtils.isPrintingSupported()); menu 370 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java MenuItem distillPageItem = menu.findItem(R.id.distill_page); menu 379 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java ShareHelper.configureDirectShareMenuItem(this, menu.findItem(R.id.direct_share_menu_id)); menu 230 chrome/browser/apps/app_browsertest.cc scoped_ptr<PlatformAppContextMenu> menu; menu 231 chrome/browser/apps/app_browsertest.cc menu.reset(new PlatformAppContextMenu(web_contents->GetMainFrame(), params)); menu 232 chrome/browser/apps/app_browsertest.cc menu->Init(); menu 233 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 235 chrome/browser/apps/app_browsertest.cc menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE)); menu 236 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP)); menu 237 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 238 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 254 chrome/browser/apps/app_browsertest.cc scoped_ptr<PlatformAppContextMenu> menu; menu 255 chrome/browser/apps/app_browsertest.cc menu.reset(new PlatformAppContextMenu(web_contents->GetMainFrame(), params)); menu 256 chrome/browser/apps/app_browsertest.cc menu->Init(); menu 257 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST)); menu 258 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST + 1)); menu 259 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 261 chrome/browser/apps/app_browsertest.cc menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE)); menu 262 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP)); menu 263 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 264 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 265 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 281 chrome/browser/apps/app_browsertest.cc scoped_ptr<PlatformAppContextMenu> menu; menu 282 chrome/browser/apps/app_browsertest.cc menu.reset(new PlatformAppContextMenu(web_contents->GetMainFrame(), params)); menu 283 chrome/browser/apps/app_browsertest.cc menu->Init(); menu 284 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST)); menu 285 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST + 1)); menu 286 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 288 chrome/browser/apps/app_browsertest.cc menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE)); menu 289 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP)); menu 290 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 291 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 292 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 309 chrome/browser/apps/app_browsertest.cc scoped_ptr<PlatformAppContextMenu> menu; menu 310 chrome/browser/apps/app_browsertest.cc menu.reset(new PlatformAppContextMenu(web_contents->GetMainFrame(), params)); menu 311 chrome/browser/apps/app_browsertest.cc menu->Init(); menu 312 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST)); menu 313 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 315 chrome/browser/apps/app_browsertest.cc menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE)); menu 316 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP)); menu 317 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 318 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPY)); menu 319 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 320 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 337 chrome/browser/apps/app_browsertest.cc scoped_ptr<PlatformAppContextMenu> menu; menu 338 chrome/browser/apps/app_browsertest.cc menu.reset(new PlatformAppContextMenu(web_contents->GetMainFrame(), params)); menu 339 chrome/browser/apps/app_browsertest.cc menu->Init(); menu 340 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST)); menu 341 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 343 chrome/browser/apps/app_browsertest.cc menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE)); menu 344 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP)); menu 345 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 346 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPY)); menu 347 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 348 chrome/browser/apps/app_browsertest.cc ASSERT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 364 chrome/browser/apps/app_browsertest.cc scoped_ptr<PlatformAppContextMenu> menu; menu 365 chrome/browser/apps/app_browsertest.cc menu.reset(new PlatformAppContextMenu(web_contents->GetMainFrame(), params)); menu 366 chrome/browser/apps/app_browsertest.cc menu->Init(); menu 367 chrome/browser/apps/app_browsertest.cc ASSERT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST)); menu 372 chrome/browser/apps/app_browsertest.cc menu->ExecuteCommand(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST, 0); menu 1623 chrome/browser/apps/web_view_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu(TestRenderViewContextMenu::Create( menu 1628 chrome/browser/apps/web_view_browsertest.cc ASSERT_TRUE(menu->IsCommandIdEnabled(command_id)); menu 1629 chrome/browser/apps/web_view_browsertest.cc menu->ExecuteCommand(command_id, 0); menu 105 chrome/browser/background/background_mode_manager.cc StatusIconMenuModel* menu, menu 111 chrome/browser/background/background_mode_manager.cc menu->AddItemWithStringId(IDC_MinimumLabelValue, menu 113 chrome/browser/background/background_mode_manager.cc menu->SetCommandIdEnabled(IDC_MinimumLabelValue, false); menu 126 chrome/browser/background/background_mode_manager.cc menu->AddItem(command_id, base::UTF8ToUTF16(name)); menu 128 chrome/browser/background/background_mode_manager.cc menu->SetIcon(menu->GetItemCount() - 1, gfx::Image(*icon)); menu 142 chrome/browser/background/background_mode_manager.cc menu->SetCommandIdEnabled(command_id, false); menu 151 chrome/browser/background/background_mode_manager.cc containing_menu->AddSubMenu(menu_command_id, name_, menu); menu 733 chrome/browser/background/background_mode_manager.cc scoped_ptr<StatusIconMenuModel> menu(new StatusIconMenuModel(this)); menu 735 chrome/browser/background/background_mode_manager.cc menu->AddItem(IDC_ABOUT, l10n_util::GetStringUTF16(IDS_ABOUT)); menu 736 chrome/browser/background/background_mode_manager.cc menu->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); menu 737 chrome/browser/background/background_mode_manager.cc menu->AddSeparator(ui::NORMAL_SEPARATOR); menu 762 chrome/browser/background/background_mode_manager.cc bmd->BuildProfileMenu(submenu, menu.get()); menu 775 chrome/browser/background/background_mode_manager.cc background_mode_data_.begin()->second->BuildProfileMenu(menu.get(), NULL); menu 778 chrome/browser/background/background_mode_manager.cc menu->AddSeparator(ui::NORMAL_SEPARATOR); menu 779 chrome/browser/background/background_mode_manager.cc menu->AddCheckItemWithStringId( menu 782 chrome/browser/background/background_mode_manager.cc menu->SetCommandIdChecked(IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND, menu 789 chrome/browser/background/background_mode_manager.cc menu->SetCommandIdEnabled(IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND, menu 792 chrome/browser/background/background_mode_manager.cc menu->AddItemWithStringId(IDC_EXIT, IDS_EXIT); menu 794 chrome/browser/background/background_mode_manager.cc context_menu_ = menu.get(); menu 795 chrome/browser/background/background_mode_manager.cc status_icon_->SetContextMenu(menu.Pass()); menu 142 chrome/browser/background/background_mode_manager.h void BuildProfileMenu(StatusIconMenuModel* menu, menu 128 chrome/browser/background/background_mode_manager_unittest.cc StatusIconMenuModel* menu) OVERRIDE {} menu 524 chrome/browser/background/background_mode_manager_unittest.cc scoped_ptr<StatusIconMenuModel> menu(new StatusIconMenuModel(NULL)); menu 528 chrome/browser/background/background_mode_manager_unittest.cc bmd->BuildProfileMenu(submenu.get(), menu.get()); menu 139 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 141 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(1U, menu->GetNumberOfItems()); menu 143 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); menu 159 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 161 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(2U, menu->GetNumberOfItems()); menu 163 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); menu 167 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item3 = menu->GetItemAt(1); menu 186 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 187 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(1U, menu->GetNumberOfItems()); menu 189 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); menu 201 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 203 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(1U, menu->GetNumberOfItems()); menu 204 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc EXPECT_TRUE(menu->ShouldShowAddNewProfileLink()); menu 214 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 216 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(2U, menu->GetNumberOfItems()); menu 217 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc EXPECT_FALSE(menu->ShouldShowAddNewProfileLink()); menu 233 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 235 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(2U, menu->GetNumberOfItems()); menu 238 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(0U, menu->GetActiveProfileIndex()); menu 249 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 251 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(2U, menu->GetNumberOfItems()); menu 253 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); menu 257 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item2 = menu->GetItemAt(1); menu 267 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1next = menu->GetItemAt(0); menu 272 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item2next = menu->GetItemAt(1); menu 284 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); menu 285 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc EXPECT_EQ(2U, menu->GetNumberOfItems()); menu 295 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc ASSERT_EQ(3U, menu->GetNumberOfItems()); menu 297 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); menu 301 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item2 = menu->GetItemAt(1); menu 305 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item3 = menu->GetItemAt(2); menu 41 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc TestRenderViewContextMenu* menu = new TestRenderViewContextMenu( menu 44 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc menu->Init(); menu 45 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc return menu; menu 67 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 69 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc ASSERT_FALSE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKWITH)); menu 78 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc menu.reset(CreateContextMenu(url)); menu 79 chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc ASSERT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKWITH)); menu 2319 chrome/browser/download/download_browsertest.cc TestRenderViewContextMenu menu( menu 2322 chrome/browser/download/download_browsertest.cc menu.Init(); menu 2323 chrome/browser/download/download_browsertest.cc menu.ExecuteCommand(IDC_CONTENT_CONTEXT_SAVEIMAGEAS, 0); menu 2399 chrome/browser/download/download_browsertest.cc TestRenderViewContextMenu menu(web_contents->GetMainFrame(), menu 2401 chrome/browser/download/download_browsertest.cc menu.Init(); menu 2402 chrome/browser/download/download_browsertest.cc menu.ExecuteCommand(IDC_CONTENT_CONTEXT_SAVEIMAGEAS, 0); menu 432 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc TestRenderViewContextMenu menu(tab->GetMainFrame(), params); menu 433 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc menu.Init(); menu 434 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc menu.ExecuteCommand(IDC_CONTENT_CONTEXT_OPENLINKNEWTAB, 0); menu 102 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 105 chrome/browser/extensions/extension_context_menu_browsertest.cc return MenuHasExtensionItemWithLabel(menu.get(), label); menu 130 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 136 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_EQ(enabled, menu->IsCommandIdEnabled(command_id)); menu 140 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_EQ(!enabled, menu->IsCommandIdEnabled(command_id)); menu 143 chrome/browser/extensions/extension_context_menu_browsertest.cc bool MenuHasExtensionItemWithLabel(TestRenderViewContextMenu* menu, menu 147 chrome/browser/extensions/extension_context_menu_browsertest.cc for (i = menu->extension_items().extension_item_map_.begin(); menu 148 chrome/browser/extensions/extension_context_menu_browsertest.cc i != menu->extension_items().extension_item_map_.end(); ++i) { menu 151 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_TRUE(GetItemLabel(menu, id, &tmp_label)); menu 161 chrome/browser/extensions/extension_context_menu_browsertest.cc bool GetItemLabel(TestRenderViewContextMenu* menu, menu 165 chrome/browser/extensions/extension_context_menu_browsertest.cc if (!FindCommandId(menu, id, &command_id)) menu 170 chrome/browser/extensions/extension_context_menu_browsertest.cc if (!menu->GetMenuModelAndItemIndex(command_id, &model, &index)) { menu 179 chrome/browser/extensions/extension_context_menu_browsertest.cc bool FindCommandId(TestRenderViewContextMenu* menu, menu 183 chrome/browser/extensions/extension_context_menu_browsertest.cc for (i = menu->extension_items().extension_item_map_.begin(); menu 184 chrome/browser/extensions/extension_context_menu_browsertest.cc i != menu->extension_items().extension_item_map_.end(); ++i) { menu 206 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu(TestRenderViewContextMenu::Create( menu 211 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(menu->IsCommandIdEnabled(command_id)); menu 212 chrome/browser/extensions/extension_context_menu_browsertest.cc menu->ExecuteCommand(command_id, 0); menu 270 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 274 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(GetItemLabel(menu.get(), item->id(), &label)); menu 322 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 328 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(menu->GetMenuModelAndItemIndex( menu 346 chrome/browser/extensions/extension_context_menu_browsertest.cc const MenuModel& menu, menu 348 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(expected_type, menu.GetTypeAt(index)); menu 349 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(expected_label), menu.GetLabelAt(index)); menu 354 chrome/browser/extensions/extension_context_menu_browsertest.cc static void VerifyMenuForSeparatorsTest(const MenuModel& menu) { menu 369 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_EQ(11, menu.GetItemCount()); menu 370 chrome/browser/extensions/extension_context_menu_browsertest.cc ExpectLabelAndType("radio1", MenuModel::TYPE_RADIO, menu, index++); menu 371 chrome/browser/extensions/extension_context_menu_browsertest.cc ExpectLabelAndType("radio2", MenuModel::TYPE_RADIO, menu, index++); menu 372 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++)); menu 373 chrome/browser/extensions/extension_context_menu_browsertest.cc ExpectLabelAndType("normal1", MenuModel::TYPE_COMMAND, menu, index++); menu 374 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++)); menu 375 chrome/browser/extensions/extension_context_menu_browsertest.cc ExpectLabelAndType("normal2", MenuModel::TYPE_COMMAND, menu, index++); menu 376 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++)); menu 377 chrome/browser/extensions/extension_context_menu_browsertest.cc ExpectLabelAndType("radio3", MenuModel::TYPE_RADIO, menu, index++); menu 378 chrome/browser/extensions/extension_context_menu_browsertest.cc ExpectLabelAndType("radio4", MenuModel::TYPE_RADIO, menu, index++); menu 379 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(MenuModel::TYPE_SEPARATOR, menu.GetTypeAt(index++)); menu 380 chrome/browser/extensions/extension_context_menu_browsertest.cc ExpectLabelAndType("normal3", MenuModel::TYPE_COMMAND, menu, index++); menu 405 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 413 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(menu->GetMenuModelAndItemIndex( menu 429 chrome/browser/extensions/extension_context_menu_browsertest.cc menu.reset( menu 431 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(menu->GetMenuModelAndItemIndex( menu 495 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu(TestRenderViewContextMenu::Create( menu 505 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(menu->IsCommandIdEnabled(command_id)); menu 506 chrome/browser/extensions/extension_context_menu_browsertest.cc menu->ExecuteCommand(command_id, 0); menu 575 chrome/browser/extensions/extension_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu(TestRenderViewContextMenu::Create( menu 581 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_TRUE(FindCommandId(menu.get(), id, &command_id)); menu 582 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_FALSE(menu->IsCommandIdChecked(command_id)); menu 586 chrome/browser/extensions/extension_context_menu_browsertest.cc menu->ExecuteCommand(command_id, 0); menu 589 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_TRUE(menu->IsCommandIdChecked(command_id)); menu 47 chrome/browser/extensions/extension_context_menu_model_unittest.cc scoped_refptr<ExtensionContextMenuModel> menu( menu 55 chrome/browser/extensions/extension_context_menu_model_unittest.cc ASSERT_TRUE(menu->IsCommandIdEnabled(ExtensionContextMenuModel::UNINSTALL)); menu 62 chrome/browser/extensions/extension_context_menu_model_unittest.cc ASSERT_FALSE(menu->IsCommandIdEnabled(ExtensionContextMenuModel::UNINSTALL)); menu 397 chrome/browser/media/media_stream_capture_indicator.cc scoped_ptr<StatusIconMenuModel> menu(new StatusIconMenuModel(this)); menu 421 chrome/browser/media/media_stream_capture_indicator.cc menu->AddItem(command_id, GetTitle(web_contents)); menu 424 chrome/browser/media/media_stream_capture_indicator.cc menu->SetCommandIdEnabled(command_id, menu 442 chrome/browser/media/media_stream_capture_indicator.cc status_icon_->SetContextMenu(menu.Pass()); menu 67 chrome/browser/profiles/profile_list_desktop_browsertest.cc AvatarMenu* menu = GetAvatarMenu(&cache); menu 68 chrome/browser/profiles/profile_list_desktop_browsertest.cc menu->RebuildMenu(); menu 117 chrome/browser/profiles/profile_list_desktop_browsertest.cc AvatarMenu* menu = GetAvatarMenu(&cache); menu 118 chrome/browser/profiles/profile_list_desktop_browsertest.cc menu->RebuildMenu(); menu 125 chrome/browser/profiles/profile_list_desktop_browsertest.cc menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), menu 131 chrome/browser/profiles/profile_list_desktop_browsertest.cc menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile2), menu 136 chrome/browser/profiles/profile_list_desktop_browsertest.cc menu->SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), menu 50 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc TestRenderViewContextMenu* menu = new TestRenderViewContextMenu( menu 53 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc menu->Init(); menu 54 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc return menu; menu 60 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 64 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc ASSERT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKNEWTAB)); menu 65 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc ASSERT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW)); menu 66 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc ASSERT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_COPYLINKLOCATION)); menu 71 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc scoped_ptr<TestRenderViewContextMenu> menu( menu 75 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc ASSERT_FALSE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKNEWTAB)); menu 76 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc ASSERT_FALSE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW)); menu 77 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc ASSERT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_COPYLINKLOCATION)); menu 147 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc TestRenderViewContextMenu menu( menu 150 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc menu.Init(); menu 151 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc menu.ExecuteCommand(IDC_CONTENT_CONTEXT_OPENLINKNEWTAB, 0); menu 199 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc TestRenderViewContextMenu menu( menu 202 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc menu.Init(); menu 203 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc menu.ExecuteCommand(IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD, 0); menu 28 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc TestRenderViewContextMenu* menu = menu 30 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc menu->Init(); menu 31 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc return menu; menu 259 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc TestRenderViewContextMenu* menu = new TestRenderViewContextMenu( menu 263 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc menu->protocol_handler_registry_ = registry_.get(); menu 264 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc menu->Init(); menu 265 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc return menu; menu 276 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc scoped_ptr<TestRenderViewContextMenu> menu(CreateContextMenu()); menu 280 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc ASSERT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD)); menu 282 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD)); menu 287 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc menu.reset(CreateContextMenu()); menu 288 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc ASSERT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD)); menu 290 chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD)); menu 135 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc scoped_ptr<MockRenderViewContextMenu> menu(new MockRenderViewContextMenu); menu 137 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc new SpellCheckerSubMenuObserver(menu.get(), menu.get(), 1)); menu 138 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc menu->SetObserver(observer.get()); menu 139 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc menu->GetPrefs()->SetString(prefs::kAcceptLanguages, "en-US"); menu 140 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc menu->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en-US"); menu 141 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc menu->GetPrefs()->SetBoolean(prefs::kEnableContinuousSpellcheck, true); menu 147 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CHECK_SPELLING_WHILE_TYPING)); menu 148 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc EXPECT_TRUE(menu->IsCommandIdChecked(IDC_CHECK_SPELLING_WHILE_TYPING)); menu 153 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc menu->ExecuteCommand(IDC_CHECK_SPELLING_WHILE_TYPING, 0); menu 155 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc menu->GetPrefs()->GetBoolean(prefs::kEnableContinuousSpellcheck)); menu 156 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc EXPECT_FALSE(menu->IsCommandIdChecked(IDC_CHECK_SPELLING_WHILE_TYPING)); menu 255 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(static_cast<size_t>(0), menu()->GetMenuSize()); menu 263 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(static_cast<size_t>(4), menu()->GetMenuSize()); menu 270 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); menu 274 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); menu 278 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); menu 283 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(3, &item); menu 295 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); menu 307 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); menu 308 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, std::string()); menu 311 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(static_cast<size_t>(4), menu()->GetMenuSize()); menu 316 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); menu 326 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); menu 331 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en"); menu 332 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(SpellingServiceClient::IsAvailable(menu()->GetProfile(), menu 340 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_LT(4U, menu()->GetMenuSize()); menu 343 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); menu 348 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); menu 353 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); menu 358 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(3, &item); menu 368 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); menu 371 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en"); menu 372 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_TRUE(SpellingServiceClient::IsAvailable(menu()->GetProfile(), menu 378 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_LT(3U, menu()->GetMenuSize()); menu 381 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); menu 386 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); menu 391 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); menu 409 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); menu 412 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en"); menu 413 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(SpellingServiceClient::IsAvailable(menu()->GetProfile(), menu 415 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_FALSE(SpellingServiceClient::IsAvailable(menu()->GetProfile(), menu 425 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_LT(3U, menu()->GetMenuSize()); menu 428 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); menu 433 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); menu 438 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(2, &item); menu 447 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, false); menu 452 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_EQ(static_cast<size_t>(4), menu()->GetMenuSize()); menu 454 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); menu 459 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, false); menu 463 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_LT(static_cast<size_t>(5), menu()->GetMenuSize()); menu 465 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); menu 470 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true); menu 476 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc EXPECT_LT(2U, menu()->GetMenuSize()); menu 477 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(0, &item); menu 479 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu()->GetMenuItem(1, &item); menu 37 chrome/browser/status_icons/status_icon.cc void StatusIcon::SetContextMenu(scoped_ptr<StatusIconMenuModel> menu) { menu 41 chrome/browser/status_icons/status_icon.cc context_menu_contents_ = menu.Pass(); menu 45 chrome/browser/status_icons/status_icon.h void SetContextMenu(scoped_ptr<StatusIconMenuModel> menu); menu 25 chrome/browser/status_icons/status_icon_unittest.cc StatusIconMenuModel* menu) OVERRIDE {} menu 23 chrome/browser/status_icons/status_tray_unittest.cc StatusIconMenuModel* menu) OVERRIDE {} menu 515 chrome/browser/translate/translate_manager_render_view_host_unittest.cc scoped_ptr<TestRenderViewContextMenu> menu(CreateContextMenu()); menu 516 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 517 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE, 0); menu 543 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 544 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 545 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE, 0); menu 555 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 556 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 557 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE, 0); menu 978 chrome/browser/translate/translate_manager_render_view_host_unittest.cc scoped_ptr<TestRenderViewContextMenu> menu(CreateContextMenu()); menu 979 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 980 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 981 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_FALSE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1218 chrome/browser/translate/translate_manager_render_view_host_unittest.cc scoped_ptr<TestRenderViewContextMenu> menu(CreateContextMenu()); menu 1219 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1220 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1221 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_FALSE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1225 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 1226 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1227 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1228 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1231 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE, 0); menu 1254 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 1255 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1256 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1257 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_FALSE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1268 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 1269 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1270 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1271 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE, 0); menu 1283 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 1284 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1285 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1287 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE, 0); menu 1294 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 1295 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1296 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1297 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1302 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu.reset(CreateContextMenu()); menu 1303 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1304 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1305 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1395 chrome/browser/translate/translate_manager_render_view_host_unittest.cc scoped_ptr<TestRenderViewContextMenu> menu(CreateContextMenu()); menu 1396 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1397 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsItemPresent(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1398 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(IDC_CONTENT_CONTEXT_TRANSLATE)); menu 1532 chrome/browser/translate/translate_manager_render_view_host_unittest.cc scoped_ptr<TestRenderViewContextMenu> menu(CreateContextMenu()); menu 1533 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->Init(); menu 1534 chrome/browser/translate/translate_manager_render_view_host_unittest.cc menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE, 0); menu 153 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc scoped_ptr<ash::ShelfMenuModel> menu(new LauncherApplicationMenuItemModel( menu 156 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc for (int i = 0; i < menu->GetItemCount(); ++i) { menu 157 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc if (menu->GetTypeAt(i) != ui::MenuModel::TYPE_SEPARATOR) menu 2151 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc scoped_ptr<ash::ShelfMenuModel> menu(new LauncherApplicationMenuItemModel( menu 2156 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc int first_item = menu->GetTypeAt(0) == ui::MenuModel::TYPE_SEPARATOR ? 1 : 0; menu 2159 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(expected_menu_items, menu->GetItemCount()); menu 2160 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(menu->IsEnabledAt(first_item)); menu 2163 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc menu->GetTypeAt(first_item + 1)); menu 2548 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc scoped_ptr<ash::ShelfMenuModel> menu(new LauncherApplicationMenuItemModel( menu 2554 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc (menu->GetTypeAt(0) == ui::MenuModel::TYPE_SEPARATOR) ? 1 : 0; menu 2555 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc menu->ActivatedAt(first_item + 3); menu 2561 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc scoped_ptr<ash::ShelfMenuModel> menu(new LauncherApplicationMenuItemModel( menu 2564 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc (menu->GetTypeAt(0) == ui::MenuModel::TYPE_SEPARATOR) ? 1 : 0; menu 2565 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc menu->ActivatedAt(first_item + 2); menu 33 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc static bool IsItemPresentInMenu(LauncherContextMenu* menu, int command_id) { menu 34 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc DCHECK(menu); menu 35 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc return menu->GetIndexOfCommandId(command_id) != -1; menu 75 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc scoped_ptr<LauncherContextMenu> menu( menu 78 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.get(), LauncherContextMenu::MENU_NEW_INCOGNITO_WINDOW)); menu 79 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled( menu 85 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.reset(CreateLauncherContextMenu(ash::TYPE_BROWSER_SHORTCUT)); menu 88 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.get(), LauncherContextMenu::MENU_NEW_INCOGNITO_WINDOW)); menu 89 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc EXPECT_FALSE(menu->IsCommandIdEnabled( menu 98 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc scoped_ptr<LauncherContextMenu> menu( menu 101 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.get(), LauncherContextMenu::MENU_NEW_WINDOW)); menu 102 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc EXPECT_TRUE(menu->IsCommandIdEnabled(LauncherContextMenu::MENU_NEW_WINDOW)); menu 107 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.reset(CreateLauncherContextMenu(ash::TYPE_BROWSER_SHORTCUT)); menu 109 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.get(), LauncherContextMenu::MENU_NEW_WINDOW)); menu 110 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc EXPECT_FALSE(menu->IsCommandIdEnabled(LauncherContextMenu::MENU_NEW_WINDOW)); menu 116 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc scoped_ptr<LauncherContextMenu> menu( menu 119 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.get(), LauncherContextMenu::MENU_AUTO_HIDE)); menu 123 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc scoped_ptr<LauncherContextMenu> menu( menu 126 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.get(), LauncherContextMenu::MENU_AUTO_HIDE)); menu 130 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc scoped_ptr<LauncherContextMenu> menu( menu 133 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc menu.get(), LauncherContextMenu::MENU_AUTO_HIDE)); menu 86 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc chromeos::MultiUserContextMenuChromeos* menu = menu 88 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc model.reset(menu); menu 90 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc menu->AddItem( menu 95 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc scoped_ptr<ui::MenuModel> menu = CreateMultiUserContextMenu(window()); menu 96 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc ASSERT_TRUE(menu.get()); menu 97 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc EXPECT_EQ(1, menu.get()->GetItemCount()); menu 101 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc scoped_ptr<ui::MenuModel> menu = CreateMultiUserContextMenu(window()); menu 102 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc ASSERT_TRUE(menu.get()); menu 103 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc EXPECT_EQ(2, menu.get()->GetItemCount()); menu 39 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h BookmarkMenuBridge(Profile* profile, NSMenu* menu); menu 85 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h void ClearBookmarkMenu(NSMenu* menu); menu 94 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h void AddNodeAsSubmenu(NSMenu* menu, menu 103 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h void AddNodeToMenu(const BookmarkNode* node, NSMenu* menu, menu 112 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h NSMenu* menu, menu 26 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h @property(nonatomic, readonly) NSMenu* menu; menu 36 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h andMenu:(NSMenu*)menu; menu 130 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h - (id)initWithMenu:(AvatarMenu*)menu menu 25 chrome/browser/ui/cocoa/download/download_shelf_context_menu_controller.h - (void)menuDidClose:(NSMenu*)menu; menu 46 chrome/browser/ui/cocoa/extensions/extension_action_context_menu_controller.h - (void)populateMenu:(NSMenu*)menu; menu 161 chrome/browser/ui/cocoa/history_menu_bridge.h void ClearMenuSection(NSMenu* menu, NSInteger tag); menu 168 chrome/browser/ui/cocoa/history_menu_bridge.h NSMenu* menu, menu 94 chrome/browser/ui/cocoa/infobars/infobar_controller.h - (void)disablePopUpMenu:(NSMenu*)menu; menu 30 chrome/browser/ui/cocoa/infobars/infobar_utilities.h void AddMenuItem(NSMenu *menu, id target, SEL selector, NSString* title, menu 47 chrome/browser/ui/cocoa/profile_menu_controller.h - (BOOL)insertItemsIntoMenu:(NSMenu*)menu menu 54 chrome/browser/ui/cocoa/profile_menu_controller.h - (NSMenu*)menu; menu 21 chrome/browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h RecentTabsMenuModelDelegate(ui::MenuModel* model, NSMenu* menu); menu 154 chrome/browser/ui/content_settings/content_setting_bubble_model.h void add_media_menu(content::MediaStreamType type, const MediaMenu& menu) { menu 155 chrome/browser/ui/content_settings/content_setting_bubble_model.h bubble_content_.media_menus[type] = menu; menu 52 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc const BookmarkNode* GetParentNodeFromEmptyMenu(GtkWidget* menu) { menu 54 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc g_object_get_data(G_OBJECT(menu), "parent-node")); menu 150 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc GtkWidget* menu) { menu 153 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc signals_.Connect(menu, "button-press-event", menu 155 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc signals_.Connect(menu, "button-release-event", menu 201 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); menu 209 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc g_object_set_data(G_OBJECT(menu), "parent-node", AsVoid(parent)); menu 210 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu), empty_menu); menu 331 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc void BookmarkMenuController::OnMenuHidden(GtkWidget* menu) { menu 68 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h GtkWidget* menu); menu 94 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h void SetMenuGtk(MenuGtk* menu) { menu_ = menu; } menu 321 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc MenuGtk* menu = button->GetContextMenu(); menu 322 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!menu) menu 326 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc menu->PopupForWidget(widget, event->button, event->time); menu 1113 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc MenuGtk* menu = button->GetContextMenu(); menu 1114 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!menu) menu 1117 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc menu->PopupAsContext(gfx::Point(event->x_root, event->y_root), menu 220 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc gtk_menu->menu.reset(new MenuGtk(NULL, gtk_menu->menu_model.get())); menu 239 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc gtk_widget_size_request(gtk_menu->menu->widget(), &menu_req); menu 385 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc i->second->menu->PopupForWidget(button, 1, gtk_get_current_event_time()); menu 56 chrome/browser/ui/gtk/content_setting_bubble_gtk.h scoped_ptr<MenuGtk> menu; menu 193 chrome/browser/ui/gtk/global_history_menu.cc GtkWidget* menu, menu 216 chrome/browser/ui/gtk/global_history_menu.cc gtk_menu_shell_insert(GTK_MENU_SHELL(menu), menu_item, index); menu 221 chrome/browser/ui/gtk/global_history_menu.cc int GlobalHistoryMenu::GetIndexOfMenuItemWithTag(GtkWidget* menu, int tag_id) { menu 228 chrome/browser/ui/gtk/global_history_menu.cc GTK_CONTAINER(menu), menu 235 chrome/browser/ui/gtk/global_history_menu.cc void GlobalHistoryMenu::ClearMenuSection(GtkWidget* menu, int tag) { menu 237 chrome/browser/ui/gtk/global_history_menu.cc closure.container = menu; menu 242 chrome/browser/ui/gtk/global_history_menu.cc GTK_CONTAINER(menu), menu 67 chrome/browser/ui/gtk/global_history_menu.h GtkWidget* menu, menu 72 chrome/browser/ui/gtk/global_history_menu.h int GetIndexOfMenuItemWithTag(GtkWidget* menu, int tag_id); menu 77 chrome/browser/ui/gtk/global_history_menu.h void ClearMenuSection(GtkWidget* menu, int tag); menu 227 chrome/browser/ui/gtk/global_menu_bar.cc GtkWidget* menu = gtk_menu_new(); menu 231 chrome/browser/ui/gtk/global_menu_bar.cc id_to_menu_item, menu); menu 232 chrome/browser/ui/gtk/global_menu_bar.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); menu 235 chrome/browser/ui/gtk/global_menu_bar.cc gtk_widget_show(menu); menu 244 chrome/browser/ui/gtk/global_menu_bar.cc owner->Init(menu, menu_item); menu 246 chrome/browser/ui/gtk/global_menu_bar.cc gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_item), menu); menu 18 chrome/browser/ui/gtk/global_menu_owner.h virtual void Init(GtkWidget* menu, GtkWidget* menu_item) = 0; menu 134 chrome/browser/ui/gtk/gtk_custom_menu.cc static void gtk_custom_menu_init(GtkCustomMenu* menu) { menu 39 chrome/browser/ui/gtk/gtk_custom_menu.h GtkMenu menu; menu 28 chrome/browser/ui/gtk/menu_bar_helper.cc bool MotionIsOverMenu(GtkWidget* menu, GdkEventMotion* motion) { menu 30 chrome/browser/ui/gtk/menu_bar_helper.cc gtk_widget_get_allocation(menu, &allocation); menu 38 chrome/browser/ui/gtk/menu_bar_helper.cc while (menu) { menu 39 chrome/browser/ui/gtk/menu_bar_helper.cc GtkWidget* menu_item = gtk_menu_get_attach_widget(GTK_MENU(menu)); menu 46 chrome/browser/ui/gtk/menu_bar_helper.cc menu = parent; menu 82 chrome/browser/ui/gtk/menu_bar_helper.cc void MenuBarHelper::MenuStartedShowing(GtkWidget* button, GtkWidget* menu) { menu 83 chrome/browser/ui/gtk/menu_bar_helper.cc DCHECK(GTK_IS_MENU(menu)); menu 85 chrome/browser/ui/gtk/menu_bar_helper.cc showing_menu_ = menu; menu 88 chrome/browser/ui/gtk/menu_bar_helper.cc signal_handlers_->Connect(menu, "destroy", menu 90 chrome/browser/ui/gtk/menu_bar_helper.cc signal_handlers_->Connect(menu, "hide", menu 92 chrome/browser/ui/gtk/menu_bar_helper.cc signal_handlers_->Connect(menu, "motion-notify-event", menu 94 chrome/browser/ui/gtk/menu_bar_helper.cc signal_handlers_->Connect(menu, "move-current", menu 96 chrome/browser/ui/gtk/menu_bar_helper.cc gtk_container_foreach(GTK_CONTAINER(menu), PopulateSubmenus, &submenus_); menu 104 chrome/browser/ui/gtk/menu_bar_helper.cc gboolean MenuBarHelper::OnMenuMotionNotify(GtkWidget* menu, menu 107 chrome/browser/ui/gtk/menu_bar_helper.cc if (MotionIsOverMenu(menu, motion)) menu 150 chrome/browser/ui/gtk/menu_bar_helper.cc void MenuBarHelper::OnMenuHiddenOrDestroyed(GtkWidget* menu) { menu 151 chrome/browser/ui/gtk/menu_bar_helper.cc DCHECK_EQ(showing_menu_, menu); menu 159 chrome/browser/ui/gtk/menu_bar_helper.cc void MenuBarHelper::OnMenuMoveCurrent(GtkWidget* menu, menu 171 chrome/browser/ui/gtk/menu_bar_helper.cc GtkWidget* active_item = GTK_MENU_SHELL(menu)->active_menu_item; menu 187 chrome/browser/ui/gtk/menu_bar_helper.cc g_signal_stop_emission_by_name(menu, "move-current"); menu 40 chrome/browser/ui/gtk/menu_bar_helper.h void MenuStartedShowing(GtkWidget* button, GtkWidget* menu); menu 83 chrome/browser/ui/gtk/menu_gtk.cc GtkWidget* menu, menu 91 chrome/browser/ui/gtk/menu_gtk.cc g_signal_connect(menu, "show", G_CALLBACK(OnSubmenuShowButtonImage), button); menu 380 chrome/browser/ui/gtk/menu_gtk.cc GtkWidget* menu, menu 382 chrome/browser/ui/gtk/menu_gtk.cc int children_count = g_list_length(GTK_MENU_SHELL(menu)->children); menu 383 chrome/browser/ui/gtk/menu_gtk.cc return InsertMenuItemToMenu(index, model, menu_item, menu, menu 390 chrome/browser/ui/gtk/menu_gtk.cc GtkWidget* menu, menu 411 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_shell_insert(GTK_MENU_SHELL(menu), menu_item, position); menu 478 chrome/browser/ui/gtk/menu_gtk.cc void MenuGtk::BuildSubmenuFromModel(ui::MenuModel* model, GtkWidget* menu) { menu 513 chrome/browser/ui/gtk/menu_gtk.cc menu_item = BuildButtonMenuItem(button_menu_item_model, menu); menu 558 chrome/browser/ui/gtk/menu_gtk.cc AppendMenuItemToMenu(i, model, menu_item, menu, connect_to_activate); menu 565 chrome/browser/ui/gtk/menu_gtk.cc GtkWidget* menu) { menu 593 chrome/browser/ui/gtk/menu_gtk.cc SetupImageIcon(button, menu, icon_idr, delegate_); menu 693 chrome/browser/ui/gtk/menu_gtk.cc void MenuGtk::WidgetMenuPositionFunc(GtkMenu* menu, menu 701 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_size_request(GTK_WIDGET(menu), &menu_req); menu 734 chrome/browser/ui/gtk/menu_gtk.cc void MenuGtk::PointMenuPositionFunc(GtkMenu* menu, menu 746 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_size_request(GTK_WIDGET(menu), &menu_req); menu 79 chrome/browser/ui/gtk/menu_gtk.h GtkWidget* menu, menu 84 chrome/browser/ui/gtk/menu_gtk.h GtkWidget* menu, menu 117 chrome/browser/ui/gtk/menu_gtk.h static void WidgetMenuPositionFunc(GtkMenu* menu, menu 124 chrome/browser/ui/gtk/menu_gtk.h static void PointMenuPositionFunc(GtkMenu* menu, menu 149 chrome/browser/ui/gtk/menu_gtk.h void BuildSubmenuFromModel(ui::MenuModel* model, GtkWidget* menu); menu 152 chrome/browser/ui/gtk/menu_gtk.h GtkWidget* menu); menu 141 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc guint GetPopupMenuIndexForStockLabel(const char* label, GtkMenu* menu) { menu 142 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GList* list = gtk_container_get_children(GTK_CONTAINER(menu)); menu 1153 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::HandlePopulatePopup(GtkWidget* sender, GtkMenu* menu) { menu 1155 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu), separator); menu 1173 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_menu_shell_insert(GTK_MENU_SHELL(menu), paste_and_go_menuitem, menu 1174 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GetPopupMenuIndexForStockLabel(GTK_STOCK_PASTE, menu)); menu 1187 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu), show_url_menuitem); menu 1200 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu), edit_search_engines_menuitem); menu 1208 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_signal_connect(menu, "deactivate", menu 48 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc GtkWidget* menu, menu 50 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc if (!menu) menu 58 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc gtk_container_foreach(GTK_CONTAINER(menu), &GtkWidgetAt, ¶m); menu 66 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc gtk_menu_item_get_submenu(GTK_MENU_ITEM(menu)), menu 97 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc MenuGtk* menu = menu_gtk_.get(); menu 114 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc menu->InsertSeparator(inspect_element_index - 1); menu 115 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc menu->InsertMenuItem(IDC_INPUT_METHODS_MENU, menuitem, menu 118 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc menu->AppendSeparator(); menu 119 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc menu->AppendMenuItem(IDC_INPUT_METHODS_MENU, menuitem); menu 36 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h StatusIconMenuModel* menu) OVERRIDE; menu 38 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc scoped_ptr<StatusIconMenuModel> menu(new StatusIconMenuModel(NULL)); menu 39 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc menu->AddItem(0, base::ASCIIToUTF16("foo")); menu 40 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc icon->SetContextMenu(menu.Pass()); menu 55 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc typedef void (*app_indicator_set_menu_func)(AppIndicator* self, GtkMenu* menu); menu 42 chrome/browser/ui/libgtk2ui/app_indicator_icon.h virtual void UpdatePlatformContextMenu(ui::MenuModel* menu) OVERRIDE; menu 9 chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.cc static void gtk_custom_menu_init(GtkCustomMenu* menu) { menu 23 chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.h GtkMenu menu; menu 45 chrome/browser/ui/libgtk2ui/menu_util.cc GtkWidget* menu, menu 68 chrome/browser/ui/libgtk2ui/menu_util.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); menu 95 chrome/browser/ui/libgtk2ui/menu_util.cc GtkWidget* menu, menu 182 chrome/browser/ui/libgtk2ui/menu_util.cc menu, menu 30 chrome/browser/ui/libgtk2ui/menu_util.h GtkWidget* menu, menu 46 chrome/browser/ui/libgtk2ui/menu_util.h GtkWidget* menu, menu 158 chrome/browser/ui/panels/panel_extension_browsertest.cc scoped_ptr<PanelContextMenu> menu( menu 160 chrome/browser/ui/panels/panel_extension_browsertest.cc menu->Init(); menu 162 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 163 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 164 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_PASTE)); menu 165 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPY)); menu 166 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 167 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 168 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPYLINKLOCATION)); menu 179 chrome/browser/ui/panels/panel_extension_browsertest.cc scoped_ptr<PanelContextMenu> menu( menu 181 chrome/browser/ui/panels/panel_extension_browsertest.cc menu->Init(); menu 183 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 184 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 185 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_PASTE)); menu 186 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPY)); menu 187 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 188 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 189 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPYLINKLOCATION)); menu 200 chrome/browser/ui/panels/panel_extension_browsertest.cc scoped_ptr<PanelContextMenu> menu( menu 202 chrome/browser/ui/panels/panel_extension_browsertest.cc menu->Init(); menu 204 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 205 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 206 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_PASTE)); menu 207 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPY)); menu 208 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 209 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 210 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPYLINKLOCATION)); menu 221 chrome/browser/ui/panels/panel_extension_browsertest.cc scoped_ptr<PanelContextMenu> menu( menu 223 chrome/browser/ui/panels/panel_extension_browsertest.cc menu->Init(); menu 225 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 226 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 227 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_PASTE)); menu 228 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPY)); menu 229 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 230 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 231 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_TRUE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPYLINKLOCATION)); menu 259 chrome/browser/ui/panels/panel_extension_browsertest.cc scoped_ptr<PanelContextMenu> menu; menu 260 chrome/browser/ui/panels/panel_extension_browsertest.cc menu.reset(new PanelContextMenu(web_contents->GetMainFrame(), params)); menu 261 chrome/browser/ui/panels/panel_extension_browsertest.cc menu->Init(); menu 262 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_TRUE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST)); menu 263 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST + 1)); menu 264 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_INSPECTELEMENT)); menu 265 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_UNDO)); menu 266 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_PASTE)); menu 267 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPY)); menu 268 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_BACK)); menu 269 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_SAVE_PAGE)); menu 270 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_FALSE(menu->HasCommandWithId(IDC_CONTENT_CONTEXT_COPYLINKLOCATION)); menu 276 chrome/browser/ui/panels/panel_extension_browsertest.cc ASSERT_TRUE(menu->IsCommandIdEnabled(command_id)); menu 277 chrome/browser/ui/panels/panel_extension_browsertest.cc menu->ExecuteCommand(command_id, 0); menu 508 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc views::View* menu, menu 512 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc for (int i = 0; i < menu->child_count(); ++i) { menu 513 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc views::View* child = menu->child_at(i); menu 152 chrome/browser/ui/views/accessibility/accessibility_event_router_views.h static void RecursiveGetMenuItemIndexAndCount(views::View* menu, menu 482 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::MenuItemView* menu = menu_delegate.BuildMenu(); menu 483 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* menu_container = menu->CreateSubmenu(); menu 502 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc menu->GetMenuItemByID(kTestCases[i].command_id), menu 221 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* menu); menu 254 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* menu) menu 258 chrome/browser/ui/views/avatar_menu_bubble_view.cc menu_(menu) { menu 576 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return bookmark_menu_ ? bookmark_menu_->menu() : NULL; menu 584 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return bookmark_drop_menu_ ? bookmark_drop_menu_->menu() : NULL; menu 276 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 277 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 278 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 285 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()); menu 288 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 303 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 304 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); menu 327 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 328 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL && menu->GetSubmenu()->IsShowing()); menu 352 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 353 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); menu 388 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 389 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 390 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 393 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(1); menu 404 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 405 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu); menu 407 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(1); menu 412 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc child_menu = menu->GetSubmenu()->GetMenuItemAt(2); menu 421 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 423 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(1); menu 428 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc child_menu = menu->GetSubmenu()->GetMenuItemAt(2); menu 436 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetMenuController()->CancelAll(); menu 495 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 496 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 497 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 500 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 511 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetContextMenu(); menu 512 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 513 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()); menu 514 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 518 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0), menu 551 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 552 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 553 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 556 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 617 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 618 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 619 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 622 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 659 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 660 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 661 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 664 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 759 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 760 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 761 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 764 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 866 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 867 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 868 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 870 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc first_menu_ = menu->GetSubmenu()->GetMenuItemAt(0); menu 876 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::View* scroll_container = menu->GetSubmenu()->parent(); menu 936 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 937 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 938 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 948 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 949 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 950 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 951 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); menu 960 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 961 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 962 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 963 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_FALSE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); menu 964 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(1)->IsSelected()); menu 974 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 975 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 976 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 977 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* submenu = menu->GetSubmenu()->GetMenuItemAt(1); menu 990 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 991 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 992 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 993 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* submenu = menu->GetSubmenu()->GetMenuItemAt(1); menu 1005 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1006 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1007 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1008 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); menu 1049 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1050 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1051 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1054 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 1072 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetContextMenu(); menu 1073 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(!menu || !menu->GetSubmenu() || menu 1074 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc !menu->GetSubmenu()->IsShowing()); menu 1077 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu = bb_view_->GetMenu(); menu 1078 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu && menu->GetSubmenu() && menu->GetSubmenu()->IsShowing()); menu 1091 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1092 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(!menu || !menu->GetSubmenu() || menu 1093 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc !menu->GetSubmenu()->IsShowing()); menu 1129 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1130 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1131 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1134 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(1); menu 1145 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetContextMenu(); menu 1146 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu && menu->GetSubmenu() && menu->GetSubmenu()->IsShowing()); menu 1150 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 1223 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1224 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1225 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1228 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0); menu 1239 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetContextMenu(); menu 1240 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1241 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()); menu 1242 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1245 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::SubmenuView* submenu = menu->GetSubmenu(); menu 1264 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetContextMenu(); menu 1265 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1266 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()); menu 1267 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1271 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(0), menu 1308 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1309 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu == NULL); menu 1346 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1347 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1348 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1351 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetSubmenu()->GetMenuItemAt(1); menu 1364 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetContextMenu(); menu 1365 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1366 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()); menu 1367 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1370 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetMenuItemByID(IDC_BOOKMARK_BAR_REMOVE); menu 1385 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1386 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1387 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1390 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetMenuItemByID(deleted_menu_id_) == NULL); menu 1418 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1419 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1420 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1465 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1466 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1467 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1470 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* child_menu = menu->GetSubmenu()->GetMenuItemAt(2); menu 1485 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1486 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1487 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1488 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* child_menu = menu->GetSubmenu()->GetMenuItemAt(1); menu 1511 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1512 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1513 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1549 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1550 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1551 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1564 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1565 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1566 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1573 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetMenuController()->CancelAll(); menu 1606 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1607 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1608 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1611 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* child_menu = menu->GetSubmenu()->GetMenuItemAt(1); menu 1621 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1622 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1623 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1636 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1637 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1638 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1641 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* child_menu = menu->GetSubmenu()->GetMenuItemAt(1); menu 1652 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1653 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1654 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1656 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetMenuController()->CancelAll(); menu 1704 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1705 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1706 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1793 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetMenu(); menu 1794 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1796 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::SubmenuView* submenu = menu->GetSubmenu(); menu 1813 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc views::MenuItemView* menu = bb_view_->GetContextMenu(); menu 1814 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu != NULL); menu 1815 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()); menu 1816 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); menu 1819 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc menu->GetMenuItemByID(IDC_BOOKMARK_BAR_REMOVE); menu 51 chrome/browser/ui/views/bookmarks/bookmark_context_menu.h views::MenuItemView* menu() const { return menu_; } menu 46 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc menu_runner_.reset(new views::MenuRunner(menu_delegate_->menu())); menu 73 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc menu_delegate_->menu()->Cancel(); menu 77 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->menu(); menu 93 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc bool BookmarkMenuController::IsTriggerableEvent(views::MenuItemView* menu, menu 95 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->IsTriggerableEvent(menu, e); menu 108 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc MenuItemView* menu, menu 111 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->GetDropFormats(menu, formats, custom_formats); menu 114 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc bool BookmarkMenuController::AreDropTypesRequired(MenuItemView* menu) { menu 115 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->AreDropTypesRequired(menu); menu 118 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc bool BookmarkMenuController::CanDrop(MenuItemView* menu, menu 120 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->CanDrop(menu, data); menu 130 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc int BookmarkMenuController::OnPerformDrop(MenuItemView* menu, menu 133 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc int result = menu_delegate_->OnPerformDrop(menu, position, event); menu 146 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc void BookmarkMenuController::DropMenuClosed(MenuItemView* menu) { menu 150 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc bool BookmarkMenuController::CanDrag(MenuItemView* menu) { menu 151 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return menu_delegate_->CanDrag(menu); menu 164 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc views::MenuItemView* menu, menu 183 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc return this->menu(); menu 192 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc menu()->Cancel(); menu 64 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h views::MenuItemView* menu() const; menu 86 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h views::MenuItemView* menu, menu 89 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE; menu 90 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h virtual bool CanDrop(views::MenuItemView* menu, menu 95 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h virtual int OnPerformDrop(views::MenuItemView* menu, menu 102 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE; menu 103 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE; menu 108 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h views::MenuItemView* menu, menu 125 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc bool BookmarkMenuDelegate::IsTriggerableEvent(views::MenuItemView* menu, menu 153 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* menu, menu 161 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc bool BookmarkMenuDelegate::AreDropTypesRequired(MenuItemView* menu) { menu 165 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc bool BookmarkMenuDelegate::CanDrop(MenuItemView* menu, menu 185 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc if (menu_id_to_node_map_.find(menu->GetCommand()) == menu 191 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const BookmarkNode* drop_node = menu_id_to_node_map_[menu->GetCommand()]; menu 239 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* menu, menu 242 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const BookmarkNode* drop_node = menu_id_to_node_map_[menu->GetCommand()]; menu 302 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc bool BookmarkMenuDelegate::CanDrag(MenuItemView* menu) { menu 303 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const BookmarkNode* node = menu_id_to_node_map_[menu->GetCommand()]; menu 323 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc int BookmarkMenuDelegate::GetMaxWidthForMenu(MenuItemView* menu) { menu 355 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* menu = node_to_menu->second; menu 356 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* parent = menu->GetParentMenuItem(); menu 361 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc parent->RemoveMenuItemAt(menu->parent()->GetIndexOf(menu)); menu 364 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu_id_to_node_map_.erase(menu->GetCommand()); menu 408 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* menu = new MenuItemView(real_delegate_); menu 409 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu->SetCommand(next_menu_id_++); menu 410 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu_id_to_node_map_[menu->GetCommand()] = parent; menu 411 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu->set_has_icons(true); menu 412 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BuildMenu(parent, start_child_index, menu, &next_menu_id_); menu 414 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BuildMenusForPermanentNodes(menu, &next_menu_id_); menu 415 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc return menu; menu 419 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc views::MenuItemView* menu, menu 423 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BuildMenuForPermanentNode(model->other_node(), menu, next_menu_id, menu 425 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BuildMenuForPermanentNode(model->mobile_node(), menu, next_menu_id, menu 431 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* menu, menu 445 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu->AppendSeparator(); menu 450 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* submenu = menu->AppendSubMenuWithIcon( menu 458 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* menu, menu 460 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc node_to_menu_map_[parent] = menu; menu 478 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu->AppendMenuItemWithIcon(id, node->GetTitle(), *icon); menu 482 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc MenuItemView* submenu = menu->AppendSubMenuWithIcon( menu 81 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h views::MenuItemView* menu() { return menu_; } menu 85 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h return context_menu_.get() ? context_menu_->menu() : NULL; menu 97 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h bool IsTriggerableEvent(views::MenuItemView* menu, menu 102 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h views::MenuItemView* menu, menu 105 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h bool AreDropTypesRequired(views::MenuItemView* menu); menu 106 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h bool CanDrop(views::MenuItemView* menu, const ui::OSExchangeData& data); menu 110 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h int OnPerformDrop(views::MenuItemView* menu, menu 117 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h bool CanDrag(views::MenuItemView* menu); menu 120 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h int GetMaxWidthForMenu(views::MenuItemView* menu); menu 143 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h void BuildMenusForPermanentNodes(views::MenuItemView* menu, menu 151 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h views::MenuItemView* menu, menu 159 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h views::MenuItemView* menu, menu 39 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc views::MenuRunner menu_runner(bookmark_menu_delegate_->menu()); menu 49 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc views::MenuRunner menu_runner(bookmark_menu_delegate_->menu()); menu 128 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc views::MenuItemView* root_item = bookmark_menu_delegate_->menu(); menu 147 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 156 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 164 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 173 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 179 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 189 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 199 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 208 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 217 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 224 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc root_item = bookmark_menu_delegate_->menu(); menu 171 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* menu) { menu 176 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* menu, menu 184 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* menu) { menu 189 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* menu, const OSExchangeData& data) { menu 217 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* menu, menu 225 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc ViewForId(menu->GetCommand(), &drop_index); menu 240 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc bool BrowserActionOverflowMenuController::CanDrag(views::MenuItemView* menu) { menu 61 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE; menu 65 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h views::MenuItemView* menu, menu 68 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE; menu 69 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h virtual bool CanDrop(views::MenuItemView* menu, menu 74 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h virtual int OnPerformDrop(views::MenuItemView* menu, menu 79 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE; menu 525 chrome/browser/ui/views/frame/global_menu_bar_x11.cc DbusmenuMenuitem* menu, menu 541 chrome/browser/ui/views/frame/global_menu_bar_x11.cc menuitem_child_add_position(menu, menu_item, index); menu 588 chrome/browser/ui/views/frame/global_menu_bar_x11.cc int GlobalMenuBarX11::GetIndexOfMenuItemWithTag(DbusmenuMenuitem* menu, menu 590 chrome/browser/ui/views/frame/global_menu_bar_x11.cc GList* childs = menuitem_get_children(menu); menu 603 chrome/browser/ui/views/frame/global_menu_bar_x11.cc void GlobalMenuBarX11::ClearMenuSection(DbusmenuMenuitem* menu, int tag_id) { menu 606 chrome/browser/ui/views/frame/global_menu_bar_x11.cc GList* childs = menuitem_get_children(menu); menu 620 chrome/browser/ui/views/frame/global_menu_bar_x11.cc menuitem_child_delete(menu, *it); menu 93 chrome/browser/ui/views/frame/global_menu_bar_x11.h DbusmenuMenuitem* menu, menu 107 chrome/browser/ui/views/frame/global_menu_bar_x11.h int GetIndexOfMenuItemWithTag(DbusmenuMenuitem* menu, int tag_id); menu 112 chrome/browser/ui/views/frame/global_menu_bar_x11.h void ClearMenuSection(DbusmenuMenuitem* menu, int tag_id); menu 20 chrome/browser/ui/views/menu_controller_interactive_uitest.cc virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE { menu 22 chrome/browser/ui/views/menu_controller_interactive_uitest.cc menu->AppendMenuItemWithLabel(1, base::ASCIIToUTF16("One&/")); menu 23 chrome/browser/ui/views/menu_controller_interactive_uitest.cc menu->AppendMenuItemWithLabel(2, base::ASCIIToUTF16("Two")); menu 27 chrome/browser/ui/views/menu_controller_interactive_uitest.cc ASSERT_TRUE(menu()->GetSubmenu()->IsShowing()); menu 38 chrome/browser/ui/views/menu_controller_interactive_uitest.cc ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); menu 44 chrome/browser/ui/views/menu_controller_interactive_uitest.cc ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); menu 20 chrome/browser/ui/views/menu_controller_test.cc virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE { menu 22 chrome/browser/ui/views/menu_controller_test.cc menu->AppendMenuItemWithLabel(1, base::ASCIIToUTF16("One&/")); menu 23 chrome/browser/ui/views/menu_controller_test.cc menu->AppendMenuItemWithLabel(2, base::ASCIIToUTF16("Two")); menu 27 chrome/browser/ui/views/menu_controller_test.cc ASSERT_TRUE(menu()->GetSubmenu()->IsShowing()); menu 38 chrome/browser/ui/views/menu_controller_test.cc ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); menu 44 chrome/browser/ui/views/menu_controller_test.cc ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); menu 25 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE { menu 26 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1")); menu 27 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2")); menu 28 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendSeparator(); menu 29 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(3, ASCIIToUTF16("item 3")); menu 34 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 47 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); menu 75 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE { menu 76 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1")); menu 77 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2")); menu 82 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 87 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc inserted_item_ = menu()->AddMenuItemAt(INSERT_INDEX, menu 96 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu()->ChildrenChanged(); menu 106 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 157 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE { menu 158 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc submenu_ = menu->AppendSubMenu(1, ASCIIToUTF16("My Submenu")); menu 161 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2")); menu 172 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc inserted_item_ = menu()->AddMenuItemAt(INSERT_INDEX, menu 181 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu()->ChildrenChanged(); menu 216 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE { menu 217 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1")); menu 218 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2")); menu 219 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(3, ASCIIToUTF16("item 3")); menu 224 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 230 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu()->RemoveMenuItemAt(REMOVE_INDEX); menu 231 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu()->ChildrenChanged(); menu 241 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 282 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE { menu 283 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1")); menu 284 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc submenu_ = menu->AppendSubMenu(2, ASCIIToUTF16("My Submenu")); menu 291 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 301 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 307 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu()->RemoveMenuItemAt(REMOVE_INDEX); menu 308 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc menu()->ChildrenChanged(); menu 316 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc views::SubmenuView* submenu = menu()->GetSubmenu(); menu 48 chrome/browser/ui/views/menu_test_base.h views::MenuItemView* menu() { menu 58 chrome/browser/ui/views/menu_test_base.h virtual void BuildMenu(views::MenuItemView* menu) = 0; menu 361 chrome/browser/ui/views/message_center/web_notification_tray.cc scoped_ptr<StatusIconMenuModel> menu(new StatusIconMenuModel(this)); menu 362 chrome/browser/ui/views/message_center/web_notification_tray.cc menu->AddCheckItem(kToggleQuietMode, menu 364 chrome/browser/ui/views/message_center/web_notification_tray.cc menu->SetCommandIdChecked(kToggleQuietMode, message_center()->IsQuietMode()); menu 365 chrome/browser/ui/views/message_center/web_notification_tray.cc menu->AddItem(kEnableQuietModeHour, menu 367 chrome/browser/ui/views/message_center/web_notification_tray.cc menu->AddItem(kEnableQuietModeDay, menu 370 chrome/browser/ui/views/message_center/web_notification_tray.cc status_icon_menu_ = menu.get(); menu 371 chrome/browser/ui/views/message_center/web_notification_tray.cc status_icon->SetContextMenu(menu.Pass()); menu 119 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc AvatarMenu* menu = menu 122 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc menu->GetItemAt(menu->GetActiveProfileIndex()); menu 130 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc EXPECT_TRUE(menu->GetItemAt(menu->GetActiveProfileIndex()).signin_required); menu 150 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconWin::UpdatePlatformContextMenu(StatusIconMenuModel* menu) { menu 154 chrome/browser/ui/views/status_icons/status_icon_win.cc DCHECK(menu); menu 155 chrome/browser/ui/views/status_icons/status_icon_win.cc menu_model_ = menu; menu 213 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconMetro::UpdatePlatformContextMenu(StatusIconMenuModel* menu) { menu 56 chrome/browser/ui/views/status_icons/status_icon_win.h StatusIconMenuModel* menu) OVERRIDE; menu 101 chrome/browser/ui/views/status_icons/status_icon_win.h StatusIconMenuModel* menu) OVERRIDE; menu 52 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc scoped_ptr<StatusIconMenuModel> menu(new StatusIconMenuModel(NULL)); menu 53 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc menu->AddItem(0, L"foo"); menu 54 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc icon->SetContextMenu(menu.Pass()); menu 211 chrome/browser/ui/views/toolbar/toolbar_button.cc views::MenuItemView* menu = new views::MenuItemView(&menu_delegate); menu 212 chrome/browser/ui/views/toolbar/toolbar_button.cc menu_runner_.reset(new views::MenuRunner(menu)); menu 349 chrome/browser/ui/views/toolbar/wrench_menu.cc WrenchMenuView(WrenchMenu* menu, MenuModel* menu_model) menu 350 chrome/browser/ui/views/toolbar/wrench_menu.cc : menu_(menu), menu 521 chrome/browser/ui/views/toolbar/wrench_menu.cc CutCopyPasteView(WrenchMenu* menu, menu 527 chrome/browser/ui/views/toolbar/wrench_menu.cc : WrenchMenuView(menu, menu_model) { menu 538 chrome/browser/ui/views/toolbar/wrench_menu.cc menu->use_new_menu() && menu->supports_new_separators_ ? menu 563 chrome/browser/ui/views/toolbar/wrench_menu.cc menu()->CancelAndEvaluate(menu_model(), sender->tag()); menu 589 chrome/browser/ui/views/toolbar/wrench_menu.cc ZoomView(WrenchMenu* menu, menu 595 chrome/browser/ui/views/toolbar/wrench_menu.cc : WrenchMenuView(menu, menu_model), menu 603 chrome/browser/ui/views/toolbar/wrench_menu.cc menu->browser_->profile())->AddZoomLevelChangedCallback( menu 617 chrome/browser/ui/views/toolbar/wrench_menu.cc menu->use_new_menu() && menu->supports_new_separators_ ? menu 620 chrome/browser/ui/views/toolbar/wrench_menu.cc menu->use_new_menu()); menu 622 chrome/browser/ui/views/toolbar/wrench_menu.cc const MenuConfig& menu_config(menu->GetMenuConfig()); menu 624 chrome/browser/ui/views/toolbar/wrench_menu.cc new MenuButtonBorder(menu_config, menu->use_new_menu()))); menu 673 chrome/browser/ui/views/toolbar/wrench_menu.cc menu->use_new_menu() ? kHorizontalTouchPadding : kHorizontalPadding; menu 678 chrome/browser/ui/views/toolbar/wrench_menu.cc menu->use_new_menu())); menu 694 chrome/browser/ui/views/toolbar/wrench_menu.cc int zoom_padding = menu()->use_new_menu() ? menu 723 chrome/browser/ui/views/toolbar/wrench_menu.cc x += bounds.width() + (menu()->use_new_menu() ? 0 : kZoomPadding); menu 726 chrome/browser/ui/views/toolbar/wrench_menu.cc (menu()->use_new_menu() ? kTouchZoomPadding : 0)); menu 734 chrome/browser/ui/views/toolbar/wrench_menu.cc menu()->CancelAndEvaluate(menu_model(), sender->tag()); menu 755 chrome/browser/ui/views/toolbar/wrench_menu.cc menu()->browser_->tab_strip_model()->GetActiveWebContents(); menu 776 chrome/browser/ui/views/toolbar/wrench_menu.cc menu()->browser_->tab_strip_model()->GetActiveWebContents(); menu 839 chrome/browser/ui/views/toolbar/wrench_menu.cc int GetMaxWidthForMenu(views::MenuItemView* menu) { menu 843 chrome/browser/ui/views/toolbar/wrench_menu.cc return menu->GetCommand() == menu_item_->GetCommand() ? menu 1017 chrome/browser/ui/views/toolbar/wrench_menu.cc bool WrenchMenu::IsTriggerableEvent(views::MenuItemView* menu, menu 1019 chrome/browser/ui/views/toolbar/wrench_menu.cc return IsBookmarkCommand(menu->GetCommand()) ? menu 1020 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->IsTriggerableEvent(menu, e) : menu 1021 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuDelegate::IsTriggerableEvent(menu, e); menu 1025 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuItemView* menu, menu 1030 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->GetDropFormats(menu, formats, custom_formats); menu 1033 chrome/browser/ui/views/toolbar/wrench_menu.cc bool WrenchMenu::AreDropTypesRequired(MenuItemView* menu) { menu 1036 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->AreDropTypesRequired(menu); menu 1039 chrome/browser/ui/views/toolbar/wrench_menu.cc bool WrenchMenu::CanDrop(MenuItemView* menu, menu 1043 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->CanDrop(menu, data); menu 1055 chrome/browser/ui/views/toolbar/wrench_menu.cc int WrenchMenu::OnPerformDrop(MenuItemView* menu, menu 1058 chrome/browser/ui/views/toolbar/wrench_menu.cc if (!IsBookmarkCommand(menu->GetCommand())) menu 1061 chrome/browser/ui/views/toolbar/wrench_menu.cc int result = bookmark_menu_delegate_->OnPerformDrop(menu, position, event); menu 1075 chrome/browser/ui/views/toolbar/wrench_menu.cc bool WrenchMenu::CanDrag(MenuItemView* menu) { menu 1076 chrome/browser/ui/views/toolbar/wrench_menu.cc return IsBookmarkCommand(menu->GetCommand()) ? menu 1077 chrome/browser/ui/views/toolbar/wrench_menu.cc bookmark_menu_delegate_->CanDrag(menu) : false; menu 1092 chrome/browser/ui/views/toolbar/wrench_menu.cc int WrenchMenu::GetMaxWidthForMenu(MenuItemView* menu) { menu 1093 chrome/browser/ui/views/toolbar/wrench_menu.cc if (IsBookmarkCommand(menu->GetCommand())) menu 1094 chrome/browser/ui/views/toolbar/wrench_menu.cc return bookmark_menu_delegate_->GetMaxWidthForMenu(menu); menu 1100 chrome/browser/ui/views/toolbar/wrench_menu.cc max_width = recent_tabs_menu_model_delegate_->GetMaxWidthForMenu(menu); menu 1102 chrome/browser/ui/views/toolbar/wrench_menu.cc max_width = MenuDelegate::GetMaxWidthForMenu(menu); menu 1168 chrome/browser/ui/views/toolbar/wrench_menu.cc void WrenchMenu::WillShowMenu(MenuItemView* menu) { menu 1169 chrome/browser/ui/views/toolbar/wrench_menu.cc if (menu == bookmark_menu_) menu 1173 chrome/browser/ui/views/toolbar/wrench_menu.cc void WrenchMenu::WillHideMenu(MenuItemView* menu) { menu 1177 chrome/browser/ui/views/toolbar/wrench_menu.cc if (menu->HasSubmenu() && feedback_menu_item_ && menu 1182 chrome/browser/ui/views/toolbar/wrench_menu.cc menu->GetSubmenu()->GetWidget()-> menu 67 chrome/browser/ui/views/toolbar/wrench_menu.h virtual bool IsTriggerableEvent(views::MenuItemView* menu, menu 70 chrome/browser/ui/views/toolbar/wrench_menu.h views::MenuItemView* menu, menu 73 chrome/browser/ui/views/toolbar/wrench_menu.h virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE; menu 74 chrome/browser/ui/views/toolbar/wrench_menu.h virtual bool CanDrop(views::MenuItemView* menu, menu 79 chrome/browser/ui/views/toolbar/wrench_menu.h virtual int OnPerformDrop(views::MenuItemView* menu, menu 86 chrome/browser/ui/views/toolbar/wrench_menu.h virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE; menu 90 chrome/browser/ui/views/toolbar/wrench_menu.h virtual int GetMaxWidthForMenu(views::MenuItemView* menu) OVERRIDE; menu 96 chrome/browser/ui/views/toolbar/wrench_menu.h virtual void WillShowMenu(views::MenuItemView* menu) OVERRIDE; menu 97 chrome/browser/ui/views/toolbar/wrench_menu.h virtual void WillHideMenu(views::MenuItemView* menu) OVERRIDE; menu 75 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc content::ContextMenuParams menu; menu 106 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc menu.custom_items.push_back(menu_item); menu 113 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc menu, menu 49 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabUtils.java public void onContextMenuShown(Tab tab, ContextMenu menu) { menu 50 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabUtils.java mOnContextMenuShownHelper.notifyCalled(menu); menu 61 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabUtils.java public void notifyCalled(ContextMenu menu) { menu 62 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabUtils.java mContextMenu = new WeakReference<ContextMenu>(menu); menu 67 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java ContextMenu menu = openContextMenu(testCase, tab, client, openerDOMNodeId); menu 68 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java Assert.assertNotNull("Failed to open context menu", menu); menu 70 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java selectOpenContextMenuItem(testCase, menu, itemId); menu 88 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java ContextMenu menu = openContextMenu(testCase, tab, client, openerDOMNodeId); menu 89 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java Assert.assertNotNull("Failed to open context menu", menu); menu 92 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java for (int i = 0; i < menu.size(); i++) { menu 93 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java MenuItem item = menu.getItem(i); menu 101 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java selectOpenContextMenuItem(testCase, menu, itemId); menu 105 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java final ContextMenu menu, final int itemId) throws InterruptedException { menu 106 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java MenuItem item = menu.findItem(itemId); menu 114 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java boolean activated = menu.performIdentifierAction(itemId, 0); menu 1071 content/child/npapi/plugin_host.cc NPError NPN_PopUpContextMenu(NPP id, NPMenu* menu) { menu 1072 content/child/npapi/plugin_host.cc if (!menu) menu 1077 content/child/npapi/plugin_host.cc return plugin->PopUpContextMenu(menu); menu 483 content/child/npapi/plugin_instance.cc NPError PluginInstance::PopUpContextMenu(NPMenu* menu) { menu 185 content/child/npapi/plugin_instance.h NPError PopUpContextMenu(NPMenu* menu); menu 376 content/child/npapi/webplugin_delegate_impl.h static BOOL WINAPI TrackPopupMenuPatch(HMENU menu, unsigned int flags, int x, menu 1396 content/child/npapi/webplugin_delegate_impl_win.cc HMENU menu, unsigned int flags, int x, int y, int reserved, menu 1417 content/child/npapi/webplugin_delegate_impl_win.cc BOOL result = TrackPopupMenu(menu, flags, x, y, reserved, window, rect); menu 93 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java public boolean onCreateActionMode(ActionMode mode, Menu menu) { menu 97 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java createActionMenu(mode, menu); menu 102 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java public boolean onPrepareActionMode(ActionMode mode, Menu menu) { menu 106 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java menu.clear(); menu 107 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java createActionMenu(mode, menu); menu 113 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java private void createActionMenu(ActionMode mode, Menu menu) { menu 114 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java mode.getMenuInflater().inflate(R.menu.select_action_menu, menu); menu 116 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java menu.removeItem(R.id.select_action_menu_paste); menu 120 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java menu.removeItem(R.id.select_action_menu_cut); menu 124 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java menu.removeItem(R.id.select_action_menu_share); menu 128 content/public/android/java/src/org/chromium/content/browser/SelectActionModeCallback.java menu.removeItem(R.id.select_action_menu_web_search); menu 51 content/shell/browser/shell_web_contents_view_delegate_gtk.cc GtkWidget* menu = gtk_menu_new(); menu 62 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), back_menu); menu 71 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), forward_menu); menu 80 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), reload_menu); menu 87 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), navigate_separator); menu 92 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), open_menu); menu 99 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), link_separator); menu 104 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), cut_menu); menu 114 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), copy_menu); menu 124 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), paste_menu); menu 134 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), delete_menu); menu 144 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), edit_separator); menu 147 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), copy_menu); menu 154 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), copy_separator); menu 158 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_append(GTK_MENU(menu), inspect_menu); menu 164 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_widget_show_all(menu); menu 166 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 3, GDK_CURRENT_TIME); menu 40 content/shell/browser/shell_web_contents_view_delegate_win.cc void MakeContextMenuItem(HMENU menu, menu 53 content/shell/browser/shell_web_contents_view_delegate_win.cc InsertMenuItem(menu, menu_index, TRUE, &mii); menu 83 content/shell/browser/shell_web_contents_view_delegate_win.cc HMENU menu = CreateMenu(); menu 85 content/shell/browser/shell_web_contents_view_delegate_win.cc AppendMenu(menu, MF_STRING | MF_POPUP, (UINT)sub_menu, L""); menu 190 content/shell/browser/shell_web_contents_view_delegate_win.cc DestroyMenu(menu); menu 20 ppapi/proxy/serialized_flash_menu.cc bool CheckMenu(int depth, const PP_Flash_Menu* menu); menu 21 ppapi/proxy/serialized_flash_menu.cc void FreeMenu(const PP_Flash_Menu* menu); menu 22 ppapi/proxy/serialized_flash_menu.cc void WriteMenu(IPC::Message* m, const PP_Flash_Menu* menu); menu 31 ppapi/proxy/serialized_flash_menu.cc bool CheckMenu(int depth, const PP_Flash_Menu* menu) { menu 32 ppapi/proxy/serialized_flash_menu.cc if (depth > kMaxMenuDepth || !menu) menu 36 ppapi/proxy/serialized_flash_menu.cc if (menu->count && !menu->items) menu 39 ppapi/proxy/serialized_flash_menu.cc for (uint32_t i = 0; i < menu->count; ++i) { menu 40 ppapi/proxy/serialized_flash_menu.cc if (!CheckMenuItem(depth, menu->items + i)) menu 57 ppapi/proxy/serialized_flash_menu.cc void WriteMenu(IPC::Message* m, const PP_Flash_Menu* menu) { menu 58 ppapi/proxy/serialized_flash_menu.cc m->WriteUInt32(menu->count); menu 59 ppapi/proxy/serialized_flash_menu.cc for (uint32_t i = 0; i < menu->count; ++i) menu 60 ppapi/proxy/serialized_flash_menu.cc WriteMenuItem(m, menu->items + i); menu 70 ppapi/proxy/serialized_flash_menu.cc void FreeMenu(const PP_Flash_Menu* menu) { menu 71 ppapi/proxy/serialized_flash_menu.cc if (menu->items) { menu 72 ppapi/proxy/serialized_flash_menu.cc for (uint32_t i = 0; i < menu->count; ++i) menu 73 ppapi/proxy/serialized_flash_menu.cc FreeMenuItem(menu->items + i); menu 74 ppapi/proxy/serialized_flash_menu.cc delete [] menu->items; menu 76 ppapi/proxy/serialized_flash_menu.cc delete menu; menu 116 ppapi/proxy/serialized_flash_menu.cc PP_Flash_Menu* menu = new PP_Flash_Menu; menu 117 ppapi/proxy/serialized_flash_menu.cc menu->items = NULL; menu 119 ppapi/proxy/serialized_flash_menu.cc if (!m->ReadUInt32(iter, &menu->count)) { menu 120 ppapi/proxy/serialized_flash_menu.cc FreeMenu(menu); menu 124 ppapi/proxy/serialized_flash_menu.cc if (menu->count == 0) menu 125 ppapi/proxy/serialized_flash_menu.cc return menu; menu 127 ppapi/proxy/serialized_flash_menu.cc if (menu->count > kMaxMenuEntries) { menu 128 ppapi/proxy/serialized_flash_menu.cc FreeMenu(menu); menu 132 ppapi/proxy/serialized_flash_menu.cc menu->items = new PP_Flash_MenuItem[menu->count]; menu 133 ppapi/proxy/serialized_flash_menu.cc memset(menu->items, 0, sizeof(PP_Flash_MenuItem) * menu->count); menu 134 ppapi/proxy/serialized_flash_menu.cc for (uint32_t i = 0; i < menu->count; ++i) { menu 135 ppapi/proxy/serialized_flash_menu.cc if (!ReadMenuItem(depth, m, iter, menu->items + i)) { menu 136 ppapi/proxy/serialized_flash_menu.cc FreeMenu(menu); menu 140 ppapi/proxy/serialized_flash_menu.cc return menu; menu 155 ppapi/proxy/serialized_flash_menu.cc bool SerializedFlashMenu::SetPPMenu(const PP_Flash_Menu* menu) { menu 157 ppapi/proxy/serialized_flash_menu.cc if (!CheckMenu(0, menu)) menu 159 ppapi/proxy/serialized_flash_menu.cc pp_menu_ = menu; menu 30 ppapi/proxy/serialized_flash_menu.h bool SetPPMenu(const PP_Flash_Menu* menu); menu 229 remoting/android/java/src/org/chromium/chromoting/Chromoting.java public boolean onCreateOptionsMenu(Menu menu) { menu 230 remoting/android/java/src/org/chromium/chromoting/Chromoting.java getMenuInflater().inflate(R.menu.chromoting_actionbar, menu); menu 231 remoting/android/java/src/org/chromium/chromoting/Chromoting.java mRefreshButton = menu.findItem(R.id.actionbar_directoryrefresh); menu 238 remoting/android/java/src/org/chromium/chromoting/Chromoting.java return super.onCreateOptionsMenu(menu); menu 62 remoting/android/java/src/org/chromium/chromoting/Desktop.java public boolean onCreateOptionsMenu(Menu menu) { menu 63 remoting/android/java/src/org/chromium/chromoting/Desktop.java getMenuInflater().inflate(R.menu.desktop_actionbar, menu); menu 64 remoting/android/java/src/org/chromium/chromoting/Desktop.java return super.onCreateOptionsMenu(menu); menu 128 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java public boolean onCreateOptionsMenu(Menu menu) { menu 129 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java getMenuInflater().inflate(R.menu.help_actionbar, menu); menu 130 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java return super.onCreateOptionsMenu(menu); menu 910 third_party/npapi/bindings/npapi.h NPError NP_LOADDS NPN_PopUpContextMenu(NPP instance, NPMenu* menu); menu 124 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_PopUpContextMenuPtr)(NPP instance, NPMenu* menu); menu 9942 third_party/wtl/include/atlctrls.h BOOL InsertMenubarEx(ATL::_U_STRINGorID menu, WORD wButton) menu 9945 third_party/wtl/include/atlctrls.h return ::CommandBar_InsertMenubarEx(m_hWnd, ModuleHelper::GetResourceInstance(), (LPTSTR)menu.m_lpstr, wButton); menu 483 third_party/wtl/include/atlctrlw.h BOOL LoadMenu(ATL::_U_STRINGorID menu) menu 489 third_party/wtl/include/atlctrlw.h if(menu.m_lpstr == NULL) menu 492 third_party/wtl/include/atlctrlw.h HMENU hMenu = ::LoadMenu(ModuleHelper::GetResourceInstance(), menu.m_lpstr); menu 1265 third_party/wtl/include/atlctrlw.h CMenuHandle menu = (HMENU)wParam; menu 1266 third_party/wtl/include/atlctrlw.h ATLASSERT(menu.m_hMenu != NULL); menu 1268 third_party/wtl/include/atlctrlw.h for(int i = 0; i < menu.GetMenuItemCount(); i++) menu 1270 third_party/wtl/include/atlctrlw.h WORD nID = (WORD)menu.GetMenuItemID(i); menu 1276 third_party/wtl/include/atlctrlw.h menu.SetMenuItemInfo(i, TRUE, &mii); menu 1469 third_party/wtl/include/atlctrlw.h CMenuHandle menu = (HMENU)lParam; menu 1470 third_party/wtl/include/atlctrlw.h int nCount = ::GetMenuItemCount(menu); menu 1482 third_party/wtl/include/atlctrlw.h bRet = menu.GetMenuItemInfo(i, TRUE, &mii); menu 3245 third_party/wtl/include/atlctrlw.h CMenuHandle menu = m_hMenu; menu 3251 third_party/wtl/include/atlctrlw.h menu.SetMenuItemInfo(m_arrCommand[i], FALSE, &mii); menu 3603 third_party/wtl/include/atlctrlw.h CMenuHandle menu = ::GetSystemMenu(m_hWndChildMaximized, FALSE); menu 3604 third_party/wtl/include/atlctrlw.h UINT uRet = (UINT)menu.TrackPopupMenu(TPM_LEFTBUTTON | TPM_VERTICAL | TPM_LEFTALIGN | TPM_TOPALIGN | TPM_RETURNCMD | menu 3760 third_party/wtl/include/atlctrlw.h CMenuHandle menu = ::GetSystemMenu(m_hWndChildMaximized, FALSE); menu 3761 third_party/wtl/include/atlctrlw.h UINT uDefID = menu.GetMenuDefaultItem(); menu 4140 third_party/wtl/include/atlctrlx.h CMenuHandle menu = hMenu; menu 4147 third_party/wtl/include/atlctrlx.h for(nFirstPos = 0; nFirstPos < menu.GetMenuItemCount(); nFirstPos++) menu 4149 third_party/wtl/include/atlctrlx.h UINT nID = menu.GetMenuItemID(nFirstPos); menu 4158 third_party/wtl/include/atlctrlx.h BOOL bRet = menu.GetMenuItemInfo(nFirstPos, TRUE, &mii); menu 4169 third_party/wtl/include/atlctrlx.h bRet = menu.DeleteMenu(nFirstPos, MF_BYPOSITION); menu 4177 third_party/wtl/include/atlctrlx.h menu.GetMenuItemInfo(nFirstPos - 1, TRUE, &mii); menu 4180 third_party/wtl/include/atlctrlx.h menu.AppendMenu(MF_SEPARATOR); menu 4206 third_party/wtl/include/atlctrlx.h menu.AppendMenu(MF_STRING, ID_WINDOW_TABFIRST + i, lpstrText); menu 4216 third_party/wtl/include/atlctrlx.h menu.SetMenuDefaultItem((UINT)-1, TRUE); menu 4217 third_party/wtl/include/atlctrlx.h menu.SetMenuDefaultItem(nFirstPos + m_nActivePage, TRUE); menu 4224 third_party/wtl/include/atlctrlx.h menu.CheckMenuRadioItem(nFirstPos, nFirstPos + nMenuItemsCount, nFirstPos + m_nActivePage, MF_BYPOSITION); menu 4232 third_party/wtl/include/atlctrlx.h menu.AppendMenu(MF_BYPOSITION | MF_STRING, ID_WINDOW_TABFIRST, pT->GetEmptyListText()); menu 4233 third_party/wtl/include/atlctrlx.h menu.EnableMenuItem(ID_WINDOW_TABFIRST, MF_GRAYED); menu 4241 third_party/wtl/include/atlctrlx.h menu.GetMenuItemInfo(nFirstPos - 1, TRUE, &mii); menu 4243 third_party/wtl/include/atlctrlx.h menu.DeleteMenu(nFirstPos - 1, MF_BYPOSITION); menu 4249 third_party/wtl/include/atlctrlx.h menu.AppendMenu(MF_BYPOSITION | MF_STRING, ID_WINDOW_SHOWTABLIST, pT->GetWindowsMenuItemText()); menu 1019 third_party/wtl/include/atlframe.h CMenuHandle menu; menu 1020 third_party/wtl/include/atlframe.h bRet = menu.CreatePopupMenu(); menu 1041 third_party/wtl/include/atlframe.h if(menu.GetMenuItemCount() > 0) menu 1042 third_party/wtl/include/atlframe.h menu.AppendMenu(MF_SEPARATOR); menu 1056 third_party/wtl/include/atlframe.h bRet = menu.AppendMenu(MF_STRING | MF_POPUP | (bEnabled ? MF_ENABLED : MF_GRAYED), (UINT_PTR)mii.hSubMenu, mii.dwTypeData); menu 1084 third_party/wtl/include/atlframe.h bRet = menu.AppendMenu(MF_STRING | (bEnabled ? MF_ENABLED : MF_GRAYED), tbb.idCommand, lpstrText); menu 1090 third_party/wtl/include/atlframe.h if(menu.GetMenuItemCount() == 0) // no hidden buttons after all menu 1092 third_party/wtl/include/atlframe.h menu.DestroyMenu(); menu 1097 third_party/wtl/include/atlframe.h cmi.hMenu = menu; menu 1126 third_party/wtl/include/atlframe.h CMenuHandle menu = cmi.hMenu; menu 1127 third_party/wtl/include/atlframe.h menu.TrackPopupMenuEx(uMenuFlags, pt.x, pt.y, m_hWnd, &TPMParams); menu 1133 third_party/wtl/include/atlframe.h CMenuHandle menu = cmi.hMenu; menu 1137 third_party/wtl/include/atlframe.h for(int i = menu.GetMenuItemCount() - 1; i >=0; i--) menu 1138 third_party/wtl/include/atlframe.h menu.RemoveMenu(i, MF_BYPOSITION); menu 1141 third_party/wtl/include/atlframe.h menu.DestroyMenu(); menu 3693 third_party/wtl/include/atlmisc.h inline HMENU AtlLoadMenu(ATL::_U_STRINGorID menu) menu 3695 third_party/wtl/include/atlmisc.h return ::LoadMenu(ModuleHelper::GetResourceInstance(), menu.m_lpstr); menu 201 third_party/wtl/include/atluser.h BOOL LoadMenu(ATL::_U_STRINGorID menu) menu 204 third_party/wtl/include/atluser.h m_hMenu = ::LoadMenu(ModuleHelper::GetResourceInstance(), menu.m_lpstr); menu 59 ui/base/cocoa/menu_controller.h - (NSMenu*)menu; menu 66 ui/base/cocoa/menu_controller.h - (void)menuWillOpen:(NSMenu*)menu; menu 67 ui/base/cocoa/menu_controller.h - (void)menuDidClose:(NSMenu*)menu; menu 78 ui/base/cocoa/menu_controller.h - (void)addItemToMenu:(NSMenu*)menu menu 25 ui/base/x/x11_menu_list.cc void XMenuList::MaybeRegisterMenu(XID menu) { menu 27 ui/base/x/x11_menu_list.cc if (!GetIntProperty(menu, "_NET_WM_WINDOW_TYPE", &value) || menu 31 ui/base/x/x11_menu_list.cc menus_.push_back(menu); menu 34 ui/base/x/x11_menu_list.cc void XMenuList::MaybeUnregisterMenu(XID menu) { menu 36 ui/base/x/x11_menu_list.cc menu); menu 28 ui/base/x/x11_menu_list.h void MaybeRegisterMenu(XID menu); menu 31 ui/base/x/x11_menu_list.h void MaybeUnregisterMenu(XID menu); menu 224 ui/gfx/win/hwnd_util.cc HMENU menu = GetSystemMenu(window, FALSE); menu 226 ui/gfx/win/hwnd_util.cc TrackPopupMenu(menu, flags, point.x(), point.y(), 0, window, NULL); menu 594 ui/views/controls/combobox/combobox.cc MenuItemView* menu = new MenuItemView(this); menu 596 ui/views/controls/combobox/combobox.cc dropdown_list_menu_runner_.reset(new MenuRunner(menu)); menu 607 ui/views/controls/combobox/combobox.cc menu->AppendSeparator(); menu 618 ui/views/controls/combobox/combobox.cc menu->AppendMenuItem(i + kFirstMenuItemId, text, MenuItemView::NORMAL); menu 744 ui/views/controls/combobox/combobox.cc MenuItemView* menu = dropdown_list_menu_runner_->GetMenu(); menu 745 ui/views/controls/combobox/combobox.cc SubmenuView* submenu = menu->CreateSubmenu(); menu 88 ui/views/controls/menu/menu_controller.cc bool MatchesMnemonic(MenuItemView* menu, base::char16 key) { menu 89 ui/views/controls/menu/menu_controller.cc return key != 0 && menu->GetMnemonic() == key; menu 94 ui/views/controls/menu/menu_controller.cc bool TitleMatchesMnemonic(MenuItemView* menu, base::char16 key) { menu 95 ui/views/controls/menu/menu_controller.cc if (menu->GetMnemonic()) menu 98 ui/views/controls/menu/menu_controller.cc base::string16 lower_title = base::i18n::ToLower(menu->title()); menu 566 ui/views/controls/menu/menu_controller.cc if (!part.menu) menu 567 ui/views/controls/menu/menu_controller.cc part.menu = source->GetMenuItem(); menu 569 ui/views/controls/menu/menu_controller.cc mouse_menu = part.menu; menu 570 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu ? part.menu : state_.item, SELECTION_OPEN_SUBMENU); menu 587 ui/views/controls/menu/menu_controller.cc MenuItemView* menu = part.menu; menu 590 ui/views/controls/menu/menu_controller.cc if (menu == NULL && menu 593 ui/views/controls/menu/menu_controller.cc menu = part.parent; menu 596 ui/views/controls/menu/menu_controller.cc if (menu != NULL && ShowContextMenu(menu, source, event, menu 604 ui/views/controls/menu/menu_controller.cc if (!part.is_scroll() && part.menu && menu 605 ui/views/controls/menu/menu_controller.cc !(part.menu->HasSubmenu() && menu 624 ui/views/controls/menu/menu_controller.cc if (part.menu->GetDelegate()->ShouldExecuteCommandWithoutClosingMenu( menu 625 ui/views/controls/menu/menu_controller.cc part.menu->GetCommand(), event)) { menu 626 ui/views/controls/menu/menu_controller.cc part.menu->GetDelegate()->ExecuteCommand(part.menu->GetCommand(), menu 630 ui/views/controls/menu/menu_controller.cc if (!part.menu->NonIconChildViewsCount() && menu 631 ui/views/controls/menu/menu_controller.cc part.menu->GetDelegate()->IsTriggerableEvent(part.menu, event)) { menu 635 ui/views/controls/menu/menu_controller.cc Accept(part.menu, event.flags()); menu 641 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu ? part.menu : state_.item, menu 671 ui/views/controls/menu/menu_controller.cc if (part.type == MenuPart::MENU_ITEM && part.menu) { menu 672 ui/views/controls/menu/menu_controller.cc if (ShowContextMenu(part.menu, source, *event, ui::MENU_SOURCE_TOUCH)) menu 676 ui/views/controls/menu/menu_controller.cc if (!part.is_scroll() && part.menu && menu 677 ui/views/controls/menu/menu_controller.cc !(part.menu->HasSubmenu())) { menu 678 ui/views/controls/menu/menu_controller.cc if (part.menu->GetDelegate()->IsTriggerableEvent( menu 679 ui/views/controls/menu/menu_controller.cc part.menu, *event)) { menu 680 ui/views/controls/menu/menu_controller.cc Accept(part.menu, event->flags()); menu 686 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu ? part.menu : state_.item, menu 691 ui/views/controls/menu/menu_controller.cc part.menu && menu 696 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu->GetParentMenuItem(), menu 957 ui/views/controls/menu/menu_controller.cc (part.type == MenuPart::MENU_ITEM && part.menu && menu 958 ui/views/controls/menu/menu_controller.cc part.menu->GetRootMenuItem() != state_.item->GetRootMenuItem())) { menu 1011 ui/views/controls/menu/menu_controller.cc if (!part.menu) { menu 1012 ui/views/controls/menu/menu_controller.cc part.menu = part.parent; menu 1015 ui/views/controls/menu/menu_controller.cc if (part.menu->GetDelegate()->CanDrag(part.menu)) { menu 1019 ui/views/controls/menu/menu_controller.cc if (part.menu->HasSubmenu()) menu 1022 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu, selection_types); menu 1426 ui/views/controls/menu/menu_controller.cc SubmenuView* menu, menu 1431 ui/views/controls/menu/menu_controller.cc View* scroll_view_container = menu->GetScrollViewContainer(); menu 1440 ui/views/controls/menu/menu_controller.cc if (IsScrollButtonAt(menu, scroll_view_loc.x(), scroll_view_loc.y(), menu 1442 ui/views/controls/menu/menu_controller.cc part->submenu = menu; menu 1447 ui/views/controls/menu/menu_controller.cc if (DoesSubmenuContainLocation(menu, screen_loc)) { menu 1449 ui/views/controls/menu/menu_controller.cc View::ConvertPointFromScreen(menu, &menu_loc); menu 1450 ui/views/controls/menu/menu_controller.cc part->menu = GetMenuItemAt(menu, menu_loc.x(), menu_loc.y()); menu 1452 ui/views/controls/menu/menu_controller.cc part->submenu = menu; menu 1453 ui/views/controls/menu/menu_controller.cc if (!part->menu) menu 1454 ui/views/controls/menu/menu_controller.cc part->parent = menu->GetMenuItem(); menu 2034 ui/views/controls/menu/menu_controller.cc bool (*match_function)(MenuItemView* menu, base::char16 mnemonic)) { menu 2334 ui/views/controls/menu/menu_controller.cc if (part.type == MenuPart::MENU_ITEM && part.menu) { menu 2335 ui/views/controls/menu/menu_controller.cc SetSelection(part.menu, SELECTION_OPEN_SUBMENU); menu 220 ui/views/controls/menu/menu_controller.h MenuPart() : type(NONE), menu(NULL), parent(NULL), submenu(NULL) {} menu 234 ui/views/controls/menu/menu_controller.h MenuItemView* menu; menu 303 ui/views/controls/menu/menu_controller.h MenuItemView* GetMenuItemAt(View* menu, int x, int y); menu 328 ui/views/controls/menu/menu_controller.h bool GetMenuPartByScreenCoordinateImpl(SubmenuView* menu, menu 417 ui/views/controls/menu/menu_controller.h bool (*match_function)(MenuItemView* menu, base::char16 mnemonic)); menu 27 ui/views/controls/menu/menu_controller_delegate.h virtual void DropMenuClosed(NotifyType type, MenuItemView* menu) = 0; menu 30 ui/views/controls/menu/menu_controller_delegate.h virtual void SiblingMenuCreated(MenuItemView* menu) = 0; menu 90 ui/views/controls/menu/menu_delegate.cc bool MenuDelegate::CanDrop(MenuItemView* menu, const OSExchangeData& data) { menu 95 ui/views/controls/menu/menu_delegate.cc MenuItemView* menu, menu 101 ui/views/controls/menu/menu_delegate.cc bool MenuDelegate::AreDropTypesRequired(MenuItemView* menu) { menu 112 ui/views/controls/menu/menu_delegate.cc int MenuDelegate::OnPerformDrop(MenuItemView* menu, menu 119 ui/views/controls/menu/menu_delegate.cc bool MenuDelegate::CanDrag(MenuItemView* menu) { menu 132 ui/views/controls/menu/menu_delegate.cc MenuItemView* MenuDelegate::GetSiblingMenu(MenuItemView* menu, menu 140 ui/views/controls/menu/menu_delegate.cc int MenuDelegate::GetMaxWidthForMenu(MenuItemView* menu) { menu 146 ui/views/controls/menu/menu_delegate.cc void MenuDelegate::WillShowMenu(MenuItemView* menu) { menu 149 ui/views/controls/menu/menu_delegate.cc void MenuDelegate::WillHideMenu(MenuItemView* menu) { menu 158 ui/views/controls/menu/menu_delegate.h virtual bool CanDrop(MenuItemView* menu, const OSExchangeData& data); menu 162 ui/views/controls/menu/menu_delegate.h MenuItemView* menu, menu 167 ui/views/controls/menu/menu_delegate.h virtual bool AreDropTypesRequired(MenuItemView* menu); menu 184 ui/views/controls/menu/menu_delegate.h virtual int OnPerformDrop(MenuItemView* menu, menu 190 ui/views/controls/menu/menu_delegate.h virtual bool CanDrag(MenuItemView* menu); menu 202 ui/views/controls/menu/menu_delegate.h virtual void DropMenuClosed(MenuItemView* menu) { menu 206 ui/views/controls/menu/menu_delegate.h virtual void SelectionChanged(MenuItemView* menu) { menu 214 ui/views/controls/menu/menu_delegate.h virtual MenuItemView* GetSiblingMenu(MenuItemView* menu, menu 221 ui/views/controls/menu/menu_delegate.h virtual int GetMaxWidthForMenu(MenuItemView* menu); menu 224 ui/views/controls/menu/menu_delegate.h virtual void WillShowMenu(MenuItemView* menu); menu 227 ui/views/controls/menu/menu_delegate.h virtual void WillHideMenu(MenuItemView* menu); menu 26 ui/views/controls/menu/menu_model_adapter.cc void MenuModelAdapter::BuildMenu(MenuItemView* menu) { menu 27 ui/views/controls/menu/menu_model_adapter.cc DCHECK(menu); menu 30 ui/views/controls/menu/menu_model_adapter.cc if (menu->HasSubmenu()) { menu 31 ui/views/controls/menu/menu_model_adapter.cc const int subitem_count = menu->GetSubmenu()->child_count(); menu 33 ui/views/controls/menu/menu_model_adapter.cc menu->RemoveMenuItemAt(0); menu 39 ui/views/controls/menu/menu_model_adapter.cc if (!menu->GetMenuController()) menu 41 ui/views/controls/menu/menu_model_adapter.cc menu_map_[menu] = menu_model_; menu 44 ui/views/controls/menu/menu_model_adapter.cc BuildMenuImpl(menu, menu_model_); menu 45 ui/views/controls/menu/menu_model_adapter.cc menu->ChildrenChanged(); menu 57 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* menu, menu 103 ui/views/controls/menu/menu_model_adapter.cc return menu->AddMenuItemAt( menu 117 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* menu, menu 119 ui/views/controls/menu/menu_model_adapter.cc const int menu_index = menu->HasSubmenu() ? menu 120 ui/views/controls/menu/menu_model_adapter.cc menu->GetSubmenu()->child_count() : 0; menu 121 ui/views/controls/menu/menu_model_adapter.cc return AddMenuItemFromModelAt(model, model_index, menu, menu_index, item_id); menu 125 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* MenuModelAdapter::AppendMenuItem(MenuItemView* menu, menu 128 ui/views/controls/menu/menu_model_adapter.cc return AppendMenuItemFromModel(model, index, menu, menu 217 ui/views/controls/menu/menu_model_adapter.cc void MenuModelAdapter::SelectionChanged(MenuItemView* menu) { menu 219 ui/views/controls/menu/menu_model_adapter.cc if (menu == menu->GetRootMenuItem()) menu 222 ui/views/controls/menu/menu_model_adapter.cc const int id = menu->GetCommand(); menu 233 ui/views/controls/menu/menu_model_adapter.cc void MenuModelAdapter::WillShowMenu(MenuItemView* menu) { menu 236 ui/views/controls/menu/menu_model_adapter.cc menu_map_.find(menu); menu 245 ui/views/controls/menu/menu_model_adapter.cc void MenuModelAdapter::WillHideMenu(MenuItemView* menu) { menu 248 ui/views/controls/menu/menu_model_adapter.cc menu_map_.find(menu); menu 259 ui/views/controls/menu/menu_model_adapter.cc void MenuModelAdapter::BuildMenuImpl(MenuItemView* menu, ui::MenuModel* model) { menu 260 ui/views/controls/menu/menu_model_adapter.cc DCHECK(menu); menu 265 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* item = AppendMenuItem(menu, model, i); menu 282 ui/views/controls/menu/menu_model_adapter.cc menu->set_has_icons(has_icons); menu 30 ui/views/controls/menu/menu_model_adapter.h virtual void BuildMenu(MenuItemView* menu); menu 45 ui/views/controls/menu/menu_model_adapter.h MenuItemView* menu, menu 53 ui/views/controls/menu/menu_model_adapter.h MenuItemView* menu, menu 60 ui/views/controls/menu/menu_model_adapter.h virtual MenuItemView* AppendMenuItem(MenuItemView* menu, menu 75 ui/views/controls/menu/menu_model_adapter.h virtual void SelectionChanged(MenuItemView* menu) OVERRIDE; menu 76 ui/views/controls/menu/menu_model_adapter.h virtual void WillShowMenu(MenuItemView* menu) OVERRIDE; menu 77 ui/views/controls/menu/menu_model_adapter.h virtual void WillHideMenu(MenuItemView* menu) OVERRIDE; menu 81 ui/views/controls/menu/menu_model_adapter.h void BuildMenuImpl(MenuItemView* menu, ui::MenuModel* model); menu 208 ui/views/controls/menu/menu_model_adapter_unittest.cc MenuItemView* menu = new views::MenuItemView(&delegate); menu 210 ui/views/controls/menu/menu_model_adapter_unittest.cc scoped_ptr<MenuRunner> menu_runner(new MenuRunner(menu)); menu 211 ui/views/controls/menu/menu_model_adapter_unittest.cc delegate.BuildMenu(menu); menu 212 ui/views/controls/menu/menu_model_adapter_unittest.cc delegate.BuildMenu(menu); menu 213 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_TRUE(menu->HasSubmenu()); menu 216 ui/views/controls/menu/menu_model_adapter_unittest.cc views::SubmenuView* item_container = menu->GetSubmenu(); menu 223 ui/views/controls/menu/menu_model_adapter_unittest.cc MenuItemView* item = menu->GetMenuItemByID(id); menu 230 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(i, menu->GetSubmenu()->GetIndexOf(item)); menu 258 ui/views/controls/menu/menu_model_adapter_unittest.cc views::MenuItemView* submenu = menu->GetMenuItemByID(103); menu 270 ui/views/controls/menu/menu_model_adapter_unittest.cc MenuItemView* item = menu->GetMenuItemByID(id); menu 307 ui/views/controls/menu/menu_model_adapter_unittest.cc static_cast<views::MenuDelegate*>(&delegate)->SelectionChanged(menu); menu 33 ui/views/controls/menu/menu_runner.cc explicit MenuRunnerImpl(MenuItemView* menu); menu 55 ui/views/controls/menu/menu_runner.cc virtual void DropMenuClosed(NotifyType type, MenuItemView* menu) OVERRIDE; menu 56 ui/views/controls/menu/menu_runner.cc virtual void SiblingMenuCreated(MenuItemView* menu) OVERRIDE; menu 105 ui/views/controls/menu/menu_runner.cc MenuRunnerImpl::MenuRunnerImpl(MenuItemView* menu) menu 106 ui/views/controls/menu/menu_runner.cc : menu_(menu), menu 219 ui/views/controls/menu/menu_runner.cc void MenuRunnerImpl::DropMenuClosed(NotifyType type, MenuItemView* menu) { menu 222 ui/views/controls/menu/menu_runner.cc if (type == NOTIFY_DELEGATE && menu->GetDelegate()) { menu 224 ui/views/controls/menu/menu_runner.cc menu->GetDelegate()->DropMenuClosed(menu); menu 228 ui/views/controls/menu/menu_runner.cc void MenuRunnerImpl::SiblingMenuCreated(MenuItemView* menu) { menu 229 ui/views/controls/menu/menu_runner.cc if (menu != menu_ && sibling_menus_.count(menu) == 0) menu 230 ui/views/controls/menu/menu_runner.cc sibling_menus_.insert(menu); menu 288 ui/views/controls/menu/menu_runner.cc MenuRunner::MenuRunner(MenuItemView* menu) menu 289 ui/views/controls/menu/menu_runner.cc : holder_(new internal::MenuRunnerImpl(menu)) { menu 297 ui/views/controls/menu/menu_runner.cc return holder_->menu(); menu 86 ui/views/controls/menu/menu_runner.h explicit MenuRunner(MenuItemView* menu); menu 95 ui/views/controls/menu/menu_runner.h void OwnMenu(MenuItemView* menu); menu 122 ui/views/controls/menu/native_menu_win.cc int GetMenuItemIndexFromWPARAM(HMENU menu, WPARAM w_param) const { menu 123 ui/views/controls/menu/native_menu_win.cc int count = GetMenuItemCount(menu); menu 131 ui/views/controls/menu/native_menu_win.cc GetMenuItemInfo(menu, i, MF_BYPOSITION, &mii); menu 147 ui/views/controls/menu/native_menu_win.cc void OnMenuCommand(int position, HMENU menu) { menu 148 ui/views/controls/menu/native_menu_win.cc NativeMenuWin* menu_win = GetNativeMenuWinFromHMENU(menu); menu 162 ui/views/controls/menu/native_menu_win.cc void OnMenuSelect(WPARAM w_param, HMENU menu) { menu 163 ui/views/controls/menu/native_menu_win.cc if (!menu) menu 166 ui/views/controls/menu/native_menu_win.cc int position = GetMenuItemIndexFromWPARAM(menu, w_param); menu 168 ui/views/controls/menu/native_menu_win.cc GetNativeMenuWinFromHMENU(menu)->model_->HighlightChangedTo(position); menu 374 ui/views/controls/menu/native_menu_win.cc menu(NULL), menu 382 ui/views/controls/menu/native_menu_win.cc NativeMenuWin* menu; menu 542 ui/views/controls/menu/native_menu_win.cc HMENU menu, menu 544 ui/views/controls/menu/native_menu_win.cc for (int i = 0; i < ::GetMenuItemCount(menu); i++) { menu 545 ui/views/controls/menu/native_menu_win.cc UINT state = ::GetMenuState(menu, i, MF_BYPOSITION); menu 548 ui/views/controls/menu/native_menu_win.cc HMENU submenu = GetSubMenu(menu, i); menu 554 ui/views/controls/menu/native_menu_win.cc info->menu = GetNativeMenuWinFromHMENU(menu); menu 582 ui/views/controls/menu/native_menu_win.cc if (GetHighlightedMenuItemInfo(this_ptr->menu_, &info) && info.menu) { menu 592 ui/views/controls/menu/native_menu_win.cc this_ptr->menu_to_select_ = info.menu; menu 103 ui/views/controls/menu/native_menu_win.h static bool GetHighlightedMenuItemInfo(HMENU menu, menu 138 ui/views/controls/menu/submenu_view.cc MenuItemView* menu = static_cast<MenuItemView*>(child); menu 140 ui/views/controls/menu/submenu_view.cc menu->GetDimensions(); menu 295 ui/views/controls/scrollbar/base_scroll_bar.cc views::MenuItemView* menu = new views::MenuItemView(this); menu 297 ui/views/controls/scrollbar/base_scroll_bar.cc menu_runner_.reset(new MenuRunner(menu)); menu 298 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendDelegateMenuItem(ScrollBarContextMenuCommand_ScrollHere); menu 299 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendSeparator(); menu 300 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendDelegateMenuItem(ScrollBarContextMenuCommand_ScrollStart); menu 301 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendDelegateMenuItem(ScrollBarContextMenuCommand_ScrollEnd); menu 302 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendSeparator(); menu 303 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendDelegateMenuItem(ScrollBarContextMenuCommand_ScrollPageUp); menu 304 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendDelegateMenuItem(ScrollBarContextMenuCommand_ScrollPageDown); menu 305 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendSeparator(); menu 306 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendDelegateMenuItem(ScrollBarContextMenuCommand_ScrollPrev); menu 307 ui/views/controls/scrollbar/base_scroll_bar.cc menu->AppendDelegateMenuItem(ScrollBarContextMenuCommand_ScrollNext); menu 300 ui/views/controls/textfield/textfield_unittest.cc ui::MenuModel* menu) { menu 301 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(can_undo, menu->IsEnabledAt(0 /* UNDO */)); menu 302 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(menu->IsEnabledAt(1 /* Separator */)); menu 303 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(2 /* CUT */)); menu 304 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(3 /* COPY */)); menu 306 ui/views/controls/textfield/textfield_unittest.cc menu->IsEnabledAt(4 /* PASTE */)); menu 307 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(5 /* DELETE */)); menu 308 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(menu->IsEnabledAt(6 /* Separator */)); menu 309 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(menu->IsEnabledAt(7 /* SELECT ALL */)); menu 33 ui/views/touchui/touch_editing_menu.h virtual void OnMenuClosed(TouchEditingMenuView* menu) = 0; menu 479 ui/views/touchui/touch_selection_controller_impl.cc void TouchSelectionControllerImpl::OnMenuClosed(TouchEditingMenuView* menu) { menu 480 ui/views/touchui/touch_selection_controller_impl.cc if (menu == context_menu_) menu 59 ui/views/touchui/touch_selection_controller_impl.h virtual void OnMenuClosed(TouchEditingMenuView* menu) OVERRIDE; menu 198 ui/views/win/hwnd_message_handler.cc void EnableMenuItemByCommand(HMENU menu, UINT command, bool enabled) { menu 200 ui/views/win/hwnd_message_handler.cc EnableMenuItem(menu, command, flags); menu 1462 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::OnInitMenu(HMENU menu) { menu 1469 ui/views/win/hwnd_message_handler.cc EnableMenuItemByCommand(menu, SC_RESTORE, delegate_->CanResize() && menu 1471 ui/views/win/hwnd_message_handler.cc EnableMenuItemByCommand(menu, SC_MOVE, is_restored); menu 1472 ui/views/win/hwnd_message_handler.cc EnableMenuItemByCommand(menu, SC_SIZE, delegate_->CanResize() && is_restored); menu 1473 ui/views/win/hwnd_message_handler.cc EnableMenuItemByCommand(menu, SC_MAXIMIZE, delegate_->CanMaximize() && menu 1477 ui/views/win/hwnd_message_handler.cc EnableMenuItemByCommand(menu, SC_MINIMIZE, delegate_->CanMaximize() && menu 1481 ui/views/win/hwnd_message_handler.cc ::SetMenuDefaultItem(menu, SC_RESTORE, FALSE); menu 1483 ui/views/win/hwnd_message_handler.cc ::SetMenuDefaultItem(menu, SC_MAXIMIZE, FALSE); menu 415 ui/views/win/hwnd_message_handler.h void OnInitMenu(HMENU menu);