/external/chromium_org/ui/views/controls/menu/ |
D | menu_runner_impl.cc | 31 : menu_(menu), in MenuRunnerImpl() 60 menu_->set_delegate(empty_delegate_.get()); in Release() 119 menu_->set_controller(controller_); in RunMenuAt() 120 menu_->PrepareForRun(owns_controller_, in RunMenuAt() 129 menu_, in RunMenuAt() 163 if (menu != menu_ && sibling_menus_.count(menu) == 0) in SiblingMenuCreated() 168 delete menu_; in ~MenuRunnerImpl() 177 menu_->RemoveEmptyMenus(); in MenuDone() 178 menu_->set_controller(NULL); in MenuDone() 188 menu_->DestroyAllMenuHosts(); in MenuDone() [all …]
|
D | native_menu_win.cc | 395 menu_(NULL), in NativeMenuWin() 412 DestroyMenu(menu_); in ~NativeMenuWin() 446 TrackPopupMenu(menu_, flags, point.x(), point.y(), 0, host_window_->hwnd(), in RunMenuAt() 479 first_item_index_ = delegate ? delegate->GetInsertionIndex(menu_) : 0; in Rebuild() 510 return menu_; in GetNativeMenu() 582 if (GetHighlightedMenuItemInfo(this_ptr->menu_, &info) && info.menu) { in MenuMessageHook() 598 if (GetHighlightedMenuItemInfo(this_ptr->menu_, &info)) { in MenuMessageHook() 617 GetMenuItemInfo(menu_, menu_index, MF_BYPOSITION, &mii); in IsSeparatorItemAt() 649 InsertMenuItem(menu_, menu_index, TRUE, &mii); in AddMenuItemAt() 660 InsertMenuItem(menu_, menu_index, TRUE, &mii); in AddSeparatorItemAt() [all …]
|
D | menu_runner_cocoa_unittest.mm | 23 menu_.reset(new ui::SimpleMenuModel(NULL)); 24 menu_->AddItem(0, base::ASCIIToUTF16("Menu Item")); 26 runner_ = new internal::MenuRunnerImplCocoa(menu_.get()); 50 scoped_ptr<ui::SimpleMenuModel> menu_;
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | gtk2_status_icon.cc | 46 menu_.reset(); in UpdatePlatformContextMenu() 48 menu_.reset(new AppIndicatorIconMenu(model)); in UpdatePlatformContextMenu() 52 if (menu_.get()) in RefreshPlatformContextMenu() 53 menu_->Refresh(); in RefreshPlatformContextMenu() 64 if (menu_.get()) { in OnContextMenuRequested() 65 gtk_menu_popup(menu_->GetGtkMenu(), in OnContextMenuRequested()
|
D | app_indicator_icon.cc | 311 menu_->Refresh(); in RefreshPlatformContextMenu() 349 menu_.reset(new AppIndicatorIconMenu(menu_model_)); in SetMenu() 351 app_indicator_set_menu(icon_, menu_->GetGtkMenu()); in SetMenu() 356 if (!menu_.get()) in UpdateClickActionReplacementMenuItem() 363 menu_->UpdateClickActionReplacementMenuItem( in UpdateClickActionReplacementMenuItem()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | menu_model_adapter_test.cc | 196 menu_(NULL) { in MenuModelAdapterTest() 208 menu_ = menu_model_adapter_.CreateMenu(); in SetUp() 210 new views::MenuRunner(menu_, views::MenuRunner::HAS_MNEMONICS)); in SetUp() 217 menu_ = NULL; in TearDown() 249 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step1() 262 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step2() 267 menu_model_adapter_.BuildMenu(menu_); in Step2() 276 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step3() 287 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step4() 308 views::MenuItemView* menu_; member in MenuModelAdapterTest
|
D | menu_test_base.cc | 17 menu_(NULL), in MenuTestBase() 46 menu_ = new views::MenuItemView(this); in SetUp() 47 BuildMenu(menu_); in SetUp() 48 menu_runner_.reset(new views::MenuRunner(menu_, GetMenuRunnerFlags())); in SetUp() 60 menu_ = NULL; in TearDown()
|
D | menu_test_base.h | 49 return menu_; in menu() 83 views::MenuItemView* menu_; variable
|
/external/chromium_org/chrome/browser/ui/cocoa/profiles/ |
D | profile_menu_controller.mm | 87 menu_->SwitchToProfile([sender tag], false, 94 menu_->SwitchToProfile([sender tag], false, 99 menu_->EditProfile(menu_->GetActiveProfileIndex()); 103 menu_->AddNewProfile(ProfileMetrics::ADD_NEW_USER_MENU); 109 if (!menu_ || !menu_->ShouldShowAvatarMenu()) 123 for (size_t i = 0; i < menu_->GetNumberOfItems(); ++i) { 124 const AvatarMenu::Item& itemData = menu_->GetItemAt(i); 161 const AvatarMenu::Item& itemData = menu_->GetItemAt( 162 menu_->GetActiveProfileIndex()); 185 menu_.reset(new AvatarMenu( [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/status_icons/ |
D | status_icon_mac.mm | 78 if (menu_.get()) { 80 CreateMenu([menu_ model], toolTip_.get()); 93 return menu_.get() != nil; 98 menu_.reset(); 109 menu_.reset([[MenuController alloc] initWithModel:model 114 menu_.reset([[MenuController alloc] initWithModel:model 116 NSMenuItem* toolTipItem = [[menu_ menu] itemAtIndex:0]; 119 [item() setMenu:[menu_ menu]];
|
/external/chromium_org/chrome/browser/status_icons/ |
D | status_icon_menu_model_unittest.cc | 24 menu_.reset(new StatusIconMenuModel(NULL)); in SetUp() 25 menu_->AddObserver(this); in SetUp() 30 menu_->RemoveObserver(this); in TearDown() 38 return menu_.get(); in menu_model() 46 scoped_ptr<StatusIconMenuModel> menu_; member in StatusIconMenuModelTest
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
D | browser_action_overflow_menu_controller.cc | 70 menu_(NULL), in BrowserActionOverflowMenuController() 74 menu_ = new views::MenuItemView(this); in BrowserActionOverflowMenuController() 76 menu_, for_drop_ ? views::MenuRunner::FOR_DROP : 0)); in BrowserActionOverflowMenuController() 77 menu_->set_has_icons(true); in BrowserActionOverflowMenuController() 82 views::MenuItemView* menu_item = menu_->AppendMenuItemWithIcon( in BrowserActionOverflowMenuController() 91 menu_->SetTooltip(tooltip, command_id); in BrowserActionOverflowMenuController() 124 menu_->Cancel(); in CancelMenu() 167 menu_->Cancel(); in ShowContextMenu()
|
/external/chromium_org/ui/app_list/views/ |
D | app_list_menu_views.cc | 23 menu_ = new MenuItemView(menu_delegate_.get()); in AppListMenuViews() 24 menu_runner_.reset(new views::MenuRunner(menu_, 0)); in AppListMenuViews() 25 menu_delegate_->BuildMenu(menu_); in AppListMenuViews()
|
D | search_box_view.cc | 160 menu_.reset(); in InvalidateMenu() 210 if (!menu_) in OnMenuButtonClicked() 211 menu_.reset(new AppListMenuViews(view_delegate_)); in OnMenuButtonClicked() 216 menu_->RunMenuAt(menu_button_, menu_location); in OnMenuButtonClicked()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_context_menu.cc | 45 menu_(new views::MenuItemView(this)), in BookmarkContextMenu() 46 menu_runner_(new views::MenuRunner(menu_, in BookmarkContextMenu() 55 menu_model, i, menu_, menu_model->GetCommandIdAt(i)); in BookmarkContextMenu() 110 menu_->Cancel(); in CloseMenu()
|
D | bookmark_context_menu.h | 51 views::MenuItemView* menu() const { return menu_; } in menu() 81 views::MenuItemView* menu_; variable
|
/external/chromium_org/remoting/webapp/ |
D | menu_button.js | 36 this.menu_ = /** @type {HTMLElement} */ (container.querySelector('ul')); 84 this.menu_.addEventListener('click', closeHandler, false); 98 return this.menu_;
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_menu_bridge_unittest.mm | 27 menu_(menu) { 30 [menu_ autorelease]; 33 NSMenu* menu_; 38 return menu_; 100 NSMenu* menu = bridge_->menu_; 123 NSMenu* menu = bridge_->menu_; 149 bridge_->UpdateMenu(bridge_->menu_); 156 bridge_->UpdateMenu(bridge_->menu_); 158 bridge_->UpdateMenu(bridge_->menu_); 166 bridge_->UpdateMenu(bridge_->menu_); [all …]
|
/external/chromium_org/content/browser/renderer_host/ |
D | webmenurunner_mac.mm | 27 menu_.reset([[NSMenu alloc] initWithTitle:@""]); 28 [menu_ setAutoenablesItems:NO]; 40 [menu_ addItem:[NSMenuItem separatorItem]]; 45 NSMenuItem* menuItem = [menu_ addItemWithTitle:title 93 [menuItem setTag:[menu_ numberOfItems] - 1]; 116 [cell setMenu:menu_]; 152 [menu_ cancelTracking];
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | context_menu_handler.js | 27 menu_: null, property in ContextMenuHandler 29 return this.menu_; 43 this.menu_ = menu; 87 this.menu_ = null;
|
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/ |
D | recent_tabs_menu_model_delegate.mm | 13 menu_([menu retain]) { function 26 NSMenuItem* item = [menu_ itemAtIndex:index];
|
/external/chromium_org/ui/base/cocoa/ |
D | menu_controller.mm | 51 [menu_ setDelegate:nil]; 63 [menu_ cancelTracking]; 213 if (!menu_ && model_) { 214 menu_.reset([[self menuFromModel:model_] retain]); 215 [menu_ setDelegate:self]; 223 [menu_ insertItem:blankItem atIndex:0]; 226 return menu_.get();
|
/external/chromium_org/chrome/browser/renderer_context_menu/ |
D | spelling_menu_observer_browsertest.cc | 215 menu_.reset(); in TearDownOnMainThread() 220 menu_.reset(new MockRenderViewContextMenu(incognito)); in Reset() 221 observer_.reset(new SpellingMenuObserver(menu_.get())); in Reset() 222 menu_->SetObserver(observer_.get()); in Reset() 246 MockRenderViewContextMenu* menu() { return menu_.get(); } in menu() 250 scoped_ptr<MockRenderViewContextMenu> menu_; member in __anon026597100111::SpellingMenuObserverTest
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | menu_button_unittest.mm | 12 base::scoped_nsobject<NSMenu> menu_; field 23 menu_.reset([menu retain]); 37 EXPECT_EQ(menu_.get(), menu); 51 EXPECT_EQ(menu_.get(), menu);
|
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
D | network_list.js | 316 menu_: null, property in NetworkMenuItem 369 if (!this.menu_) { 377 this.menu_ = this.createMenu(); 378 this.menu_.addEventListener('mousedown', function(e) { 384 parent.replaceChild(this.menu_, existing); 386 parent.appendChild(this.menu_); 393 this.menu_.style.setProperty('top', top + 'px'); 394 this.menu_.hidden = false; 510 self.menu_ = null;
|