Searched refs:context_menu_contents_ (Results 1 – 14 of 14) sorted by relevance
144 if (context_menu_contents_.get()) in ~BrowserTabStripController()145 context_menu_contents_->Cancel(); in ~BrowserTabStripController()242 context_menu_contents_.reset(new TabContextMenuContents(tab, this)); in ShowContextMenuForTab()243 context_menu_contents_->RunMenuAt(p); in ShowContextMenuForTab()
125 scoped_ptr<TabContextMenuContents> context_menu_contents_; variable
252 if (!context_menu_contents_.get()) { in ShowContextMenuForView()253 context_menu_contents_.reset(new ui::SimpleMenuModel(this)); in ShowContextMenuForView()254 context_menu_contents_->AddItemWithStringId(IDS_EDIT, IDS_EDIT); in ShowContextMenuForView()255 context_menu_contents_->AddItemWithStringId( in ShowContextMenuForView()258 context_menu_.reset(new views::Menu2(context_menu_contents_.get())); in ShowContextMenuForView()
252 scoped_ptr<ui::SimpleMenuModel> context_menu_contents_; variable
2559 if (context_menu_contents_.get()) in BuildContextMenu()2562 context_menu_contents_.reset(new ui::SimpleMenuModel(this)); in BuildContextMenu()2565 context_menu_contents_->AddItemWithStringId(IDC_COPY, IDS_COPY); in BuildContextMenu()2567 context_menu_contents_->AddItemWithStringId(IDS_UNDO, IDS_UNDO); in BuildContextMenu()2568 context_menu_contents_->AddSeparator(); in BuildContextMenu()2569 context_menu_contents_->AddItemWithStringId(IDC_CUT, IDS_CUT); in BuildContextMenu()2570 context_menu_contents_->AddItemWithStringId(IDC_COPY, IDS_COPY); in BuildContextMenu()2571 context_menu_contents_->AddItemWithStringId(IDC_PASTE, IDS_PASTE); in BuildContextMenu()2574 context_menu_contents_->AddItemWithStringId(IDS_PASTE_AND_GO, in BuildContextMenu()2576 context_menu_contents_->AddSeparator(); in BuildContextMenu()[all …]
501 scoped_ptr<ui::SimpleMenuModel> context_menu_contents_; variable
33 context_menu_contents_.reset(menu); in SetContextMenu()
75 scoped_ptr<ui::MenuModel> context_menu_contents_; variable
100 context_menu_contents_ = new ExtensionContextMenuModel( in ShowContextMenu()104 context_menu_menu_.reset(new views::Menu2(context_menu_contents_.get())); in ShowContextMenu()
109 scoped_refptr<ExtensionContextMenuModel> context_menu_contents_; variable
156 context_menu_contents_ = in ShowContextMenu()158 context_menu_menu_.reset(new views::Menu2(context_menu_contents_.get())); in ShowContextMenu()
89 scoped_refptr<ExtensionContextMenuModel> context_menu_contents_; variable
143 scoped_refptr<ExtensionContextMenuModel> context_menu_contents_; variable
260 context_menu_contents_ = in ShowContextMenu()262 context_menu_menu_.reset(new views::Menu2(context_menu_contents_.get())); in ShowContextMenu()