Home
last modified time | relevance | path

Searched refs:SimpleMenuModel (Results 1 – 25 of 105) sorted by relevance

12345

/external/chromium_org/ui/base/models/
Dsimple_menu_model.cc16 struct SimpleMenuModel::Item {
32 bool SimpleMenuModel::Delegate::IsCommandIdVisible(int command_id) const { in IsCommandIdVisible()
36 bool SimpleMenuModel::Delegate::IsItemForCommandIdDynamic( in IsItemForCommandIdDynamic()
41 base::string16 SimpleMenuModel::Delegate::GetLabelForCommandId( in GetLabelForCommandId()
46 base::string16 SimpleMenuModel::Delegate::GetSublabelForCommandId( in GetSublabelForCommandId()
51 base::string16 SimpleMenuModel::Delegate::GetMinorTextForCommandId( in GetMinorTextForCommandId()
56 bool SimpleMenuModel::Delegate::GetIconForCommandId( in GetIconForCommandId()
61 void SimpleMenuModel::Delegate::CommandIdHighlighted(int command_id) { in CommandIdHighlighted()
64 void SimpleMenuModel::Delegate::ExecuteCommand( in ExecuteCommand()
69 void SimpleMenuModel::Delegate::MenuWillShow(SimpleMenuModel* /*source*/) { in MenuWillShow() argument
[all …]
Dsimple_menu_model.h26 class UI_BASE_EXPORT SimpleMenuModel : public MenuModel {
64 virtual void MenuWillShow(SimpleMenuModel* source);
67 virtual void MenuClosed(SimpleMenuModel* source);
72 explicit SimpleMenuModel(Delegate* delegate);
73 virtual ~SimpleMenuModel();
201 base::WeakPtrFactory<SimpleMenuModel> method_factory_;
203 DISALLOW_COPY_AND_ASSIGN(SimpleMenuModel);
/external/chromium_org/chrome/browser/download/
Ddownload_shelf_context_menu.h24 class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
50 ui::SimpleMenuModel* GetMenuModel();
71 ui::SimpleMenuModel* GetInProgressMenuModel();
72 ui::SimpleMenuModel* GetFinishedMenuModel();
73 ui::SimpleMenuModel* GetInterruptedMenuModel();
74 ui::SimpleMenuModel* GetMaybeMaliciousMenuModel();
75 ui::SimpleMenuModel* GetMaliciousMenuModel();
86 scoped_ptr<ui::SimpleMenuModel> in_progress_download_menu_model_;
87 scoped_ptr<ui::SimpleMenuModel> finished_download_menu_model_;
88 scoped_ptr<ui::SimpleMenuModel> interrupted_download_menu_model_;
[all …]
Ddownload_shelf_context_menu.cc61 ui::SimpleMenuModel* DownloadShelfContextMenu::GetMenuModel() { in GetMenuModel()
62 ui::SimpleMenuModel* model = NULL; in GetMenuModel()
283 ui::SimpleMenuModel* DownloadShelfContextMenu::GetInProgressMenuModel() { in GetInProgressMenuModel()
287 in_progress_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetInProgressMenuModel()
305 ui::SimpleMenuModel* DownloadShelfContextMenu::GetFinishedMenuModel() { in GetFinishedMenuModel()
309 finished_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetFinishedMenuModel()
327 ui::SimpleMenuModel* DownloadShelfContextMenu::GetInterruptedMenuModel() { in GetInterruptedMenuModel()
338 interrupted_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetInterruptedMenuModel()
360 ui::SimpleMenuModel* DownloadShelfContextMenu::GetMaybeMaliciousMenuModel() { in GetMaybeMaliciousMenuModel()
364 maybe_malicious_download_menu_model_.reset(new ui::SimpleMenuModel(this)); in GetMaybeMaliciousMenuModel()
[all …]
/external/chromium_org/chrome/browser/ui/views/frame/
Dsystem_menu_model_builder.h18 class SimpleMenuModel; variable
38 void BuildMenu(ui::SimpleMenuModel* model);
39 void BuildSystemMenuForBrowserWindow(ui::SimpleMenuModel* model);
40 void BuildSystemMenuForAppOrPopupWindow(ui::SimpleMenuModel* model);
43 void AddFrameToggleItems(ui::SimpleMenuModel* model);
46 void AppendTeleportMenu(ui::SimpleMenuModel* model);
Dsystem_menu_model_builder.cc38 ui::SimpleMenuModel* model = new ui::SimpleMenuModel(&menu_delegate_); in Init()
50 void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuModel* model) { in BuildMenu()
61 ui::SimpleMenuModel* model) { in BuildSystemMenuForBrowserWindow()
79 ui::SimpleMenuModel* model) { in BuildSystemMenuForAppOrPopupWindow()
114 void SystemMenuModelBuilder::AddFrameToggleItems(ui::SimpleMenuModel* model) { in AddFrameToggleItems()
123 void SystemMenuModelBuilder::AppendTeleportMenu(ui::SimpleMenuModel* model) { in AppendTeleportMenu()
/external/chromium_org/chrome/browser/extensions/
Dcontext_menu_matcher.h40 ui::SimpleMenuModel::Delegate* delegate,
41 ui::SimpleMenuModel* menu_model,
85 ui::SimpleMenuModel* menu_model,
96 ui::SimpleMenuModel* menu_model_;
97 ui::SimpleMenuModel::Delegate* delegate_;
105 ScopedVector<ui::SimpleMenuModel> extension_menu_models_;
Dcontext_menu_matcher.cc44 ui::SimpleMenuModel::Delegate* delegate, in ContextMenuMatcher()
45 ui::SimpleMenuModel* menu_model, in ContextMenuMatcher()
115 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate_); in AppendExtensionItems()
228 ui::SimpleMenuModel* menu_model, in RecursivelyAppendExtensionItems()
267 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate_); in RecursivelyAppendExtensionItems()
/external/chromium_org/chrome/browser/ui/toolbar/
Dwrench_menu_model.h28 class EncodingMenuModel : public ui::SimpleMenuModel,
29 public ui::SimpleMenuModel::Delegate {
51 class ZoomMenuModel : public ui::SimpleMenuModel {
53 explicit ZoomMenuModel(ui::SimpleMenuModel::Delegate* delegate);
62 class ToolsMenuModel : public ui::SimpleMenuModel {
64 ToolsMenuModel(ui::SimpleMenuModel::Delegate* delegate, Browser* browser);
76 class WrenchMenuModel : public ui::SimpleMenuModel,
77 public ui::SimpleMenuModel::Delegate,
Dbookmark_sub_menu_model.h16 class BookmarkSubMenuModel : public ui::SimpleMenuModel {
18 BookmarkSubMenuModel(ui::SimpleMenuModel::Delegate* delegate,
Dwrench_menu_model.cc102 : ui::SimpleMenuModel(this), in EncodingMenuModel()
171 ZoomMenuModel::ZoomMenuModel(ui::SimpleMenuModel::Delegate* delegate) in ZoomMenuModel()
172 : SimpleMenuModel(delegate) { in ZoomMenuModel()
190 class WrenchMenuModel::HelpMenuModel : public ui::SimpleMenuModel {
192 HelpMenuModel(ui::SimpleMenuModel::Delegate* delegate, in HelpMenuModel()
194 : SimpleMenuModel(delegate) { in HelpMenuModel()
225 ToolsMenuModel::ToolsMenuModel(ui::SimpleMenuModel::Delegate* delegate, in ToolsMenuModel()
227 : SimpleMenuModel(delegate) { in ToolsMenuModel()
278 : ui::SimpleMenuModel(this), in WrenchMenuModel()
513 : ui::SimpleMenuModel(this), in WrenchMenuModel()
Dbookmark_sub_menu_model.cc20 ui::SimpleMenuModel::Delegate* delegate, Browser* browser) in BookmarkSubMenuModel()
21 : SimpleMenuModel(delegate) { in BookmarkSubMenuModel()
/external/chromium_org/ui/views/examples/
Dmenu_example.cc25 class ExampleMenuModel : public ui::SimpleMenuModel,
26 public ui::SimpleMenuModel::Delegate {
54 scoped_ptr<ui::SimpleMenuModel> submenu_;
71 ui::SimpleMenuModel* GetMenuModel();
82 : ui::SimpleMenuModel(this), in ExampleMenuModel()
99 submenu_.reset(new ui::SimpleMenuModel(this)); in ExampleMenuModel()
202 ui::SimpleMenuModel* ExampleMenuButton::GetMenuModel() { in GetMenuModel()
/external/chromium_org/components/renderer_context_menu/
Drender_view_context_menu_base.h36 class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate,
45 virtual void Init(ui::SimpleMenuModel* menu_model) = 0;
78 const ui::SimpleMenuModel& menu_model() const { return menu_model_; } in menu_model()
89 virtual void MenuWillShow(ui::SimpleMenuModel* source) OVERRIDE;
90 virtual void MenuClosed(ui::SimpleMenuModel* source) OVERRIDE;
167 ui::SimpleMenuModel menu_model_;
Drender_view_context_menu_base.cc73 ui::SimpleMenuModel::Delegate* delegate, in AddCustomItemsToMenu()
74 ui::SimpleMenuModel* menu_model) { in AddCustomItemsToMenu()
112 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate); in AddCustomItemsToMenu()
318 void RenderViewContextMenuBase::MenuWillShow(ui::SimpleMenuModel* source) { in MenuWillShow()
338 void RenderViewContextMenuBase::MenuClosed(ui::SimpleMenuModel* source) { in MenuClosed()
/external/chromium_org/ui/base/cocoa/
Dmenu_controller_unittest.mm32 class Delegate : public SimpleMenuModel::Delegate {
56 virtual void MenuWillShow(SimpleMenuModel* /*source*/) OVERRIDE {
69 virtual void MenuClosed(SimpleMenuModel* /*source*/) OVERRIDE {
115 class FontListMenuModel : public SimpleMenuModel {
117 FontListMenuModel(SimpleMenuModel::Delegate* delegate,
119 : SimpleMenuModel(delegate),
135 SimpleMenuModel model(&delegate);
143 SimpleMenuModel model(&delegate);
168 SimpleMenuModel model(&delegate);
170 SimpleMenuModel submodel(&delegate);
[all …]
/external/chromium_org/ash/shelf/
Dshelf_menu_model.h14 class ASH_EXPORT ShelfMenuModel : public ui::SimpleMenuModel {
16 explicit ShelfMenuModel(ui::SimpleMenuModel::Delegate* delegate) in ShelfMenuModel()
17 : ui::SimpleMenuModel(delegate) {} in ShelfMenuModel()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_button_test.cc15 ui::SimpleMenuModel::Delegate {
28 button_ = new ToolbarButton(NULL, new ui::SimpleMenuModel(this)); in SetUp()
63 virtual void MenuWillShow(ui::SimpleMenuModel* /*source*/) OVERRIDE { in MenuWillShow() argument
67 virtual void MenuClosed(ui::SimpleMenuModel* /*source*/) OVERRIDE { in MenuClosed() argument
/external/chromium_org/ui/app_list/
Dapp_list_menu.h16 class AppListMenu : public ui::SimpleMenuModel::Delegate {
30 ui::SimpleMenuModel* menu_model() { return &menu_model_; } in menu_model()
42 ui::SimpleMenuModel menu_model_;
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_context_menu_controller.h44 public ui::SimpleMenuModel::Delegate {
62 ui::SimpleMenuModel* menu_model() { return menu_model_.get(); } in menu_model()
101 scoped_ptr<ui::SimpleMenuModel> menu_model_;
/external/chromium_org/chrome/browser/ui/tabs/
Dtab_menu_model.h15 class TabMenuModel : public ui::SimpleMenuModel {
17 TabMenuModel(ui::SimpleMenuModel::Delegate* delegate,
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_controller_target.h28 - (ui::SimpleMenuModel*)contextMenuModelForController:(TabController*)controller
29 menuDelegate:(ui::SimpleMenuModel::Delegate*)delegate;
/external/chromium_org/components/translate/core/browser/
Doptions_menu_model.h16 class OptionsMenuModel : public ui::SimpleMenuModel,
17 public ui::SimpleMenuModel::Delegate {
/external/chromium_org/chrome/browser/renderer_context_menu/
Dspellchecker_submenu_observer_browsertest.cc24 class MockRenderViewContextMenu : public ui::SimpleMenuModel::Delegate,
54 virtual void MenuWillShow(ui::SimpleMenuModel* source) OVERRIDE {} in MenuWillShow()
55 virtual void MenuClosed(ui::SimpleMenuModel* source) OVERRIDE {} in MenuClosed()
Dspellchecker_submenu_observer.h23 ui::SimpleMenuModel::Delegate* delegate,
40 ui::SimpleMenuModel submenu_model_;

12345