menu_ 215 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu_.reset(); menu_ 220 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu_.reset(new MockRenderViewContextMenu(incognito)); menu_ 221 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc observer_.reset(new SpellingMenuObserver(menu_.get())); menu_ 222 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc menu_->SetObserver(observer_.get()); menu_ 236 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc MockRenderViewContextMenu* menu() { return menu_.get(); } menu_ 240 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc scoped_ptr<MockRenderViewContextMenu> menu_; menu_ 24 chrome/browser/status_icons/status_icon_menu_model_unittest.cc menu_.reset(new StatusIconMenuModel(NULL)); menu_ 25 chrome/browser/status_icons/status_icon_menu_model_unittest.cc menu_->AddObserver(this); menu_ 30 chrome/browser/status_icons/status_icon_menu_model_unittest.cc menu_->RemoveObserver(this); menu_ 38 chrome/browser/status_icons/status_icon_menu_model_unittest.cc return menu_.get(); menu_ 46 chrome/browser/status_icons/status_icon_menu_model_unittest.cc scoped_ptr<StatusIconMenuModel> menu_; menu_ 22 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h NSMenu *menu_; menu_ 23 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h scoped_ptr<AvatarMenu> menu_; menu_ 25 chrome/browser/ui/cocoa/profile_menu_controller.h scoped_ptr<AvatarMenu> menu_; menu_ 61 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h base::scoped_nsobject<MenuController> menu_; menu_ 29 chrome/browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h base::scoped_nsobject<NSMenu> menu_; menu_ 85 chrome/browser/ui/gtk/back_forward_button_gtk.cc menu_.reset(new MenuGtk(this, menu_model_.get())); menu_ 87 chrome/browser/ui/gtk/back_forward_button_gtk.cc menu_->PopupForWidget(widget(), button, event_time); menu_ 51 chrome/browser/ui/gtk/back_forward_button_gtk.h scoped_ptr<MenuGtk> menu_; menu_ 109 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_.reset(new MenuGtk(NULL, menu_model_.get())); menu_ 117 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_->PopupAsContext(point, event_time); menu_ 122 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_->Cancel(); menu_ 233 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc scoped_ptr<MenuGtk> menu_; menu_ 85 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc menu_ = gtk_menu_new(); menu_ 86 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc g_object_ref_sink(menu_); menu_ 87 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc BuildMenu(node, start_child_index, menu_); menu_ 88 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc signals_.Connect(menu_, "hide", G_CALLBACK(OnMenuHiddenThunk), this); menu_ 89 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_widget_show_all(menu_); menu_ 95 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_widget_hide(menu_); menu_ 96 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_widget_destroy(menu_); menu_ 97 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc g_object_unref(menu_); menu_ 109 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_menu_popup(GTK_MENU(menu_), NULL, NULL, menu_ 115 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_menu_popdown(GTK_MENU(menu_)); menu_ 129 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_menu_popdown(GTK_MENU(menu_)); menu_ 253 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_menu_popdown(GTK_MENU(menu_)); menu_ 306 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc gtk_menu_popdown(GTK_MENU(menu_)); menu_ 47 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h GtkWidget* widget() { return menu_; } menu_ 122 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h GtkWidget* menu_; menu_ 137 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc menu_(NULL), menu_ 154 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (menu_showing_ && menu_) menu_ 155 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc menu_->Cancel(); menu_ 94 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h void SetMenuGtk(MenuGtk* menu) { menu_ = menu; } menu_ 124 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h MenuGtk* menu_; menu_ 292 chrome/browser/ui/gtk/download/download_item_gtk.cc if (menu_.get()) menu_ 293 chrome/browser/ui/gtk/download/download_item_gtk.cc menu_.reset(); menu_ 919 chrome/browser/ui/gtk/download/download_item_gtk.cc if (!menu_.get()) { menu_ 920 chrome/browser/ui/gtk/download/download_item_gtk.cc menu_.reset(new DownloadShelfContextMenuGtk(this, menu_ 923 chrome/browser/ui/gtk/download/download_item_gtk.cc menu_->Popup(button, event); menu_ 196 chrome/browser/ui/gtk/download/download_item_gtk.h scoped_ptr<DownloadShelfContextMenuGtk> menu_; menu_ 28 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc menu_.reset(new MenuGtk(this, menu_model)); menu_ 31 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc menu_->PopupForWidget(widget, event->button, event->time); menu_ 33 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc menu_->PopupAsContext(gfx::Point(event->x_root, event->y_root), menu_ 35 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h scoped_ptr<MenuGtk> menu_; menu_ 157 chrome/browser/ui/gtk/infobars/infobar_gtk.cc menu_.reset(); menu_ 255 chrome/browser/ui/gtk/infobars/infobar_gtk.cc menu_.reset(new MenuGtk(delegate, model)); menu_ 256 chrome/browser/ui/gtk/infobars/infobar_gtk.cc menu_->PopupForWidget(sender, 1, gtk_get_current_event_time()); menu_ 150 chrome/browser/ui/gtk/infobars/infobar_gtk.h scoped_ptr<MenuGtk> menu_; menu_ 295 chrome/browser/ui/gtk/menu_gtk.cc menu_(gtk_custom_menu_new()), menu_ 298 chrome/browser/ui/gtk/menu_gtk.cc g_object_ref_sink(menu_); menu_ 306 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_destroy(menu_); menu_ 307 chrome/browser/ui/gtk/menu_gtk.cc g_object_unref(menu_); menu_ 315 chrome/browser/ui/gtk/menu_gtk.cc g_signal_connect(menu_, "show", G_CALLBACK(OnMenuShowThunk), this); menu_ 316 chrome/browser/ui/gtk/menu_gtk.cc g_signal_connect(menu_, "hide", G_CALLBACK(OnMenuHiddenThunk), this); menu_ 317 chrome/browser/ui/gtk/menu_gtk.cc GtkWidget* toplevel_window = gtk_widget_get_toplevel(menu_); menu_ 348 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_shell_append(GTK_MENU_SHELL(menu_), menu_item); menu_ 355 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_shell_insert(GTK_MENU_SHELL(menu_), menu_item, position); menu_ 364 chrome/browser/ui/gtk/menu_gtk.cc return AppendMenuItemToMenu(command_id, NULL, menu_item, menu_, true); menu_ 373 chrome/browser/ui/gtk/menu_gtk.cc return InsertMenuItemToMenu(command_id, NULL, menu_item, menu_, position, menu_ 417 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_popup(GTK_MENU(menu_), NULL, NULL, menu_ 426 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_popup(GTK_MENU(menu_), NULL, NULL, menu_ 433 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_popup(GTK_MENU(menu_), NULL, NULL, gtk_status_icon_position_menu, menu_ 439 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_shell_select_first(GTK_MENU_SHELL(menu_), FALSE); menu_ 443 chrome/browser/ui/gtk/menu_gtk.cc gtk_menu_popdown(GTK_MENU(menu_)); menu_ 447 chrome/browser/ui/gtk/menu_gtk.cc gtk_container_foreach(GTK_CONTAINER(menu_), SetMenuItemInfo, this); menu_ 475 chrome/browser/ui/gtk/menu_gtk.cc BuildSubmenuFromModel(model_, menu_); menu_ 785 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_hide(menu_); menu_ 130 chrome/browser/ui/gtk/menu_gtk.h GtkWidget* widget() const { return menu_; } menu_ 206 chrome/browser/ui/gtk/menu_gtk.h GtkWidget* menu_; menu_ 405 chrome/browser/ui/gtk/reload_button_gtk.cc menu_.reset(new MenuGtk(this, menu_model_.get())); menu_ 410 chrome/browser/ui/gtk/reload_button_gtk.cc menu_->PopupForWidget(widget(), button, event_time); menu_ 135 chrome/browser/ui/gtk/reload_button_gtk.h scoped_ptr<MenuGtk> menu_; menu_ 59 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc menu_.reset(); menu_ 61 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc menu_.reset(new MenuGtk(NULL, model)); menu_ 66 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc if (menu_.get()) menu_ 67 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc menu_->PopupAsContextForStatusIcon(time, button, icon_); menu_ 46 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h scoped_ptr<MenuGtk> menu_; menu_ 17 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.cc menu_.reset(new MenuGtk(this, &model_)); menu_ 24 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.cc menu_->PopupAsContext(point, event_time); menu_ 29 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.cc menu_->Cancel(); menu_ 49 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.h scoped_ptr<MenuGtk> menu_; menu_ 249 chrome/browser/ui/gtk/task_manager_gtk.cc menu_.reset(new MenuGtk(NULL, menu_model_.get())); menu_ 255 chrome/browser/ui/gtk/task_manager_gtk.cc menu_->PopupAsContext(point, event_time); menu_ 260 chrome/browser/ui/gtk/task_manager_gtk.cc menu_->Cancel(); menu_ 297 chrome/browser/ui/gtk/task_manager_gtk.cc scoped_ptr<MenuGtk> menu_; menu_ 109 chrome/browser/ui/gtk/website_settings/permission_selector.cc menu_.reset(new MenuGtk(delegate, menu_model_.get())); menu_ 133 chrome/browser/ui/gtk/website_settings/permission_selector.cc menu_->PopupForWidget(button, event->button, event->time); menu_ 69 chrome/browser/ui/gtk/website_settings/permission_selector.h scoped_ptr<MenuGtk> menu_; menu_ 243 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* menu_; menu_ 373 chrome/browser/ui/views/avatar_menu_bubble_view.cc menu_->ShouldShowEditProfileLink(); menu_ 47 chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc menu_(new views::MenuItemView(this)), menu_ 48 chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc menu_runner_(new views::MenuRunner(menu_)), menu_ 56 chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc menu_model, i, menu_, menu_model->GetCommandIdAt(i)); menu_ 107 chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc menu_->Cancel(); menu_ 51 chrome/browser/ui/views/bookmarks/bookmark_context_menu.h views::MenuItemView* menu() const { return menu_; } menu_ 80 chrome/browser/ui/views/bookmarks/bookmark_context_menu.h views::MenuItemView* menu_; menu_ 50 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu_(NULL), menu_ 85 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu_ = CreateMenu(node, start_child_index, show_options); menu_ 104 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu_ = node_to_menu_map_[node]; menu_ 81 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h views::MenuItemView* menu() { return menu_; } menu_ 178 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h views::MenuItemView* menu_; menu_ 71 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc menu_(NULL), menu_ 75 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc menu_ = new views::MenuItemView(this); menu_ 76 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc menu_runner_.reset(new views::MenuRunner(menu_)); menu_ 77 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc menu_->set_has_icons(true); menu_ 82 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc views::MenuItemView* menu_item = menu_->AppendMenuItemWithIcon( menu_ 92 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc menu_->SetTooltip(tooltip, command_id); menu_ 128 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc menu_->Cancel(); menu_ 165 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc menu_->Cancel(); menu_ 105 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h views::MenuItemView* menu_; menu_ 212 chrome/browser/ui/views/menu_model_adapter_test.cc menu_ = menu_model_adapter_.CreateMenu(); menu_ 213 chrome/browser/ui/views/menu_model_adapter_test.cc menu_runner_.reset(new views::MenuRunner(menu_)); menu_ 220 chrome/browser/ui/views/menu_model_adapter_test.cc menu_ = NULL; menu_ 254 chrome/browser/ui/views/menu_model_adapter_test.cc views::SubmenuView* topmenu = menu_->GetSubmenu(); menu_ 267 chrome/browser/ui/views/menu_model_adapter_test.cc views::SubmenuView* topmenu = menu_->GetSubmenu(); menu_ 272 chrome/browser/ui/views/menu_model_adapter_test.cc menu_model_adapter_.BuildMenu(menu_); menu_ 281 chrome/browser/ui/views/menu_model_adapter_test.cc views::SubmenuView* topmenu = menu_->GetSubmenu(); menu_ 292 chrome/browser/ui/views/menu_model_adapter_test.cc views::SubmenuView* topmenu = menu_->GetSubmenu(); menu_ 316 chrome/browser/ui/views/menu_model_adapter_test.cc views::MenuItemView* menu_; menu_ 18 chrome/browser/ui/views/menu_test_base.cc menu_(NULL), menu_ 43 chrome/browser/ui/views/menu_test_base.cc menu_ = new views::MenuItemView(this); menu_ 44 chrome/browser/ui/views/menu_test_base.cc BuildMenu(menu_); menu_ 45 chrome/browser/ui/views/menu_test_base.cc menu_runner_.reset(new views::MenuRunner(menu_)); menu_ 52 chrome/browser/ui/views/menu_test_base.cc menu_ = NULL; menu_ 49 chrome/browser/ui/views/menu_test_base.h return menu_; menu_ 79 chrome/browser/ui/views/menu_test_base.h views::MenuItemView* menu_; menu_ 350 chrome/browser/ui/views/toolbar/wrench_menu.cc : menu_(menu), menu_ 352 chrome/browser/ui/views/toolbar/wrench_menu.cc menu_->AddObserver(this); menu_ 356 chrome/browser/ui/views/toolbar/wrench_menu.cc if (menu_) menu_ 357 chrome/browser/ui/views/toolbar/wrench_menu.cc menu_->RemoveObserver(this); menu_ 385 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK(menu_); menu_ 395 chrome/browser/ui/views/toolbar/wrench_menu.cc new MenuButtonBackground(type, menu_->use_new_menu()); menu_ 397 chrome/browser/ui/views/toolbar/wrench_menu.cc const MenuConfig& menu_config = menu_->GetMenuConfig(); menu_ 401 chrome/browser/ui/views/toolbar/wrench_menu.cc new MenuButtonBorder(menu_config, menu_->use_new_menu()))); menu_ 429 chrome/browser/ui/views/toolbar/wrench_menu.cc menu_->RemoveObserver(this); menu_ 430 chrome/browser/ui/views/toolbar/wrench_menu.cc menu_ = NULL; menu_ 435 chrome/browser/ui/views/toolbar/wrench_menu.cc WrenchMenu* menu() { return menu_; } menu_ 441 chrome/browser/ui/views/toolbar/wrench_menu.cc WrenchMenu* menu_; menu_ 25 content/browser/renderer_host/webmenurunner_mac.h base::scoped_nsobject<NSMenu> menu_; menu_ 25 ui/app_list/views/app_list_menu_views.cc menu_ = new MenuItemView(menu_delegate_.get()); menu_ 26 ui/app_list/views/app_list_menu_views.cc menu_runner_.reset(new views::MenuRunner(menu_)); menu_ 27 ui/app_list/views/app_list_menu_views.cc menu_delegate_->BuildMenu(menu_); menu_ 36 ui/app_list/views/app_list_menu_views.h views::MenuItemView* menu_; // Owned by menu_runner_. menu_ 108 ui/app_list/views/search_box_view.cc menu_.reset(); menu_ 202 ui/app_list/views/search_box_view.cc if (!menu_) menu_ 203 ui/app_list/views/search_box_view.cc menu_.reset(new AppListMenuViews(view_delegate_)); menu_ 208 ui/app_list/views/search_box_view.cc menu_->RunMenuAt(menu_button_, menu_location); menu_ 98 ui/app_list/views/search_box_view.h scoped_ptr<AppListMenuViews> menu_; menu_ 28 ui/base/cocoa/menu_controller.h base::scoped_nsobject<NSMenu> menu_; menu_ 35 ui/views/controls/menu/menu_runner.cc MenuItemView* menu() { return menu_; } menu_ 70 ui/views/controls/menu/menu_runner.cc MenuItemView* menu_; menu_ 106 ui/views/controls/menu/menu_runner.cc : menu_(menu), menu_ 131 ui/views/controls/menu/menu_runner.cc menu_->set_delegate(empty_delegate_.get()); menu_ 191 ui/views/controls/menu/menu_runner.cc menu_->set_controller(controller_); menu_ 192 ui/views/controls/menu/menu_runner.cc menu_->PrepareForRun(owns_controller_, menu_ 198 ui/views/controls/menu/menu_runner.cc MenuItemView* result = controller->Run(parent, button, menu_, bounds, anchor, menu_ 229 ui/views/controls/menu/menu_runner.cc if (menu != menu_ && sibling_menus_.count(menu) == 0) menu_ 234 ui/views/controls/menu/menu_runner.cc delete menu_; menu_ 242 ui/views/controls/menu/menu_runner.cc menu_->RemoveEmptyMenus(); menu_ 243 ui/views/controls/menu/menu_runner.cc menu_->set_controller(NULL); menu_ 253 ui/views/controls/menu/menu_runner.cc menu_->DestroyAllMenuHosts(); menu_ 259 ui/views/controls/menu/menu_runner.cc if (result && menu_->GetDelegate()) { menu_ 262 ui/views/controls/menu/menu_runner.cc menu_->GetDelegate()->ExecuteCommand(result->GetCommand(), menu_ 395 ui/views/controls/menu/native_menu_win.cc menu_(NULL), menu_ 412 ui/views/controls/menu/native_menu_win.cc DestroyMenu(menu_); menu_ 446 ui/views/controls/menu/native_menu_win.cc TrackPopupMenu(menu_, flags, point.x(), point.y(), 0, host_window_->hwnd(), menu_ 479 ui/views/controls/menu/native_menu_win.cc first_item_index_ = delegate ? delegate->GetInsertionIndex(menu_) : 0; menu_ 510 ui/views/controls/menu/native_menu_win.cc return menu_; menu_ 582 ui/views/controls/menu/native_menu_win.cc if (GetHighlightedMenuItemInfo(this_ptr->menu_, &info) && info.menu) { menu_ 598 ui/views/controls/menu/native_menu_win.cc if (GetHighlightedMenuItemInfo(this_ptr->menu_, &info)) { menu_ 617 ui/views/controls/menu/native_menu_win.cc GetMenuItemInfo(menu_, menu_index, MF_BYPOSITION, &mii); menu_ 649 ui/views/controls/menu/native_menu_win.cc InsertMenuItem(menu_, menu_index, TRUE, &mii); menu_ 660 ui/views/controls/menu/native_menu_win.cc InsertMenuItem(menu_, menu_index, TRUE, &mii); menu_ 678 ui/views/controls/menu/native_menu_win.cc SetMenuItemInfo(menu_, menu_index, MF_BYPOSITION, &mii); menu_ 690 ui/views/controls/menu/native_menu_win.cc SetMenuItemInfo(menu_, menu_index, MF_BYPOSITION, &mii); menu_ 731 ui/views/controls/menu/native_menu_win.cc if (menu_) menu_ 733 ui/views/controls/menu/native_menu_win.cc menu_ = GetSystemMenu(system_menu_for_, FALSE); menu_ 735 ui/views/controls/menu/native_menu_win.cc if (menu_) menu_ 736 ui/views/controls/menu/native_menu_win.cc DestroyMenu(menu_); menu_ 737 ui/views/controls/menu/native_menu_win.cc menu_ = CreatePopupMenu(); menu_ 746 ui/views/controls/menu/native_menu_win.cc SetMenuInfo(menu_, &mi); menu_ 113 ui/views/controls/menu/native_menu_win.h HMENU menu_;