Home
last modified time | relevance | path

Searched refs:MenuRunner (Results 1 – 25 of 82) sorted by relevance

1234

/external/chromium_org/ui/views/controls/menu/
Dmenu_runner.cc44 MenuRunner::RunResult RunMenuAt(Widget* parent,
64 MenuRunner::RunResult MenuDone(MenuItemView* result, int mouse_event_flags);
144 MenuRunner::RunResult MenuRunnerImpl::RunMenuAt(Widget* parent, in RunMenuAt()
153 return MenuRunner::NORMAL_EXIT; in RunMenuAt()
158 if ((types & MenuRunner::IS_NESTED) != 0) { in RunMenuAt()
166 if ((types & MenuRunner::FOR_DROP) == 0) { in RunMenuAt()
170 return MenuRunner::NORMAL_EXIT; in RunMenuAt()
179 for_drop_ = (types & MenuRunner::FOR_DROP) != 0; in RunMenuAt()
180 bool has_mnemonics = (types & MenuRunner::HAS_MNEMONICS) != 0 && !for_drop_; in RunMenuAt()
189 controller->set_is_combobox((types & MenuRunner::COMBOBOX) != 0); in RunMenuAt()
[all …]
Dmenu_runner.h63 class VIEWS_EXPORT MenuRunner {
96 explicit MenuRunner(ui::MenuModel* menu_model);
97 explicit MenuRunner(MenuItemView* menu);
98 ~MenuRunner();
146 DISALLOW_COPY_AND_ASSIGN(MenuRunner);
161 MenuRunner* runner);
Ddisplay_change_listener_aura.cc19 AuraDisplayChangeListener(Widget* widget, MenuRunner* menu_runner);
29 MenuRunner* menu_runner_;
36 MenuRunner* menu_runner) in AuraDisplayChangeListener()
63 MenuRunner* runner) { in Create()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_context_menu_view.cc30 menu_runner_.reset(new views::MenuRunner(menu_model)); in Run()
49 views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU) == in Run()
50 views::MenuRunner::MENU_DELETED) { in Run()
Ddownload_shelf_context_menu_view.h25 class MenuRunner; variable
44 scoped_ptr<views::MenuRunner> menu_runner_;
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu.cc48 menu_runner_(new views::MenuRunner(menu_)), in BookmarkContextMenu()
75 (views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::IS_NESTED | in RunMenuAt()
76 views::MenuRunner::CONTEXT_MENU)) == in RunMenuAt()
77 views::MenuRunner::MENU_DELETED) { in RunMenuAt()
Dbookmark_context_menu.h15 class MenuRunner; variable
84 scoped_ptr<views::MenuRunner> menu_runner_;
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_button.cc216 menu_runner_.reset(new views::MenuRunner(menu_delegate.CreateMenu())); in ShowDropDownMenu()
217 views::MenuRunner::RunResult result = in ShowDropDownMenu()
223 views::MenuRunner::HAS_MNEMONICS); in ShowDropDownMenu()
224 if (result == views::MenuRunner::MENU_DELETED) in ShowDropDownMenu()
229 menu_runner_.reset(new views::MenuRunner(menu)); in ShowDropDownMenu()
230 views::MenuRunner::RunResult result = in ShowDropDownMenu()
236 views::MenuRunner::HAS_MNEMONICS); in ShowDropDownMenu()
237 if (result == views::MenuRunner::MENU_DELETED) in ShowDropDownMenu()
Dtoolbar_button.h17 class MenuRunner; variable
80 scoped_ptr<views::MenuRunner> menu_runner_;
/external/chromium_org/ui/views/test/
Dmenu_runner_test_api.h13 class MenuRunner; variable
21 explicit MenuRunnerTestAPI(MenuRunner* menu_runner);
28 MenuRunner* menu_runner_;
/external/chromium_org/chrome/browser/ui/views/extensions/
Dbrowser_action_overflow_menu_controller.cc76 menu_runner_.reset(new views::MenuRunner(menu_)); in BrowserActionOverflowMenuController()
118 ui::MENU_SOURCE_NONE, for_drop_ ? views::MenuRunner::FOR_DROP : 0)); in RunMenu()
153 views::MenuRunner context_menu_runner(context_menu_contents.get()); in ShowContextMenu()
163 views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::IS_NESTED | in ShowContextMenu()
164 views::MenuRunner::CONTEXT_MENU)); in ShowContextMenu()
/external/chromium_org/ui/views/examples/
Dmenu_example.cc74 scoped_ptr<MenuRunner> menu_runner_;
190 menu_runner_.reset(new MenuRunner(GetMenuModel())); in OnMenuButtonClicked()
197 MenuRunner::HAS_MNEMONICS) == in OnMenuButtonClicked()
198 MenuRunner::MENU_DELETED) { in OnMenuButtonClicked()
Dtree_view_example.h18 class MenuRunner; variable
82 scoped_ptr<MenuRunner> context_menu_runner_;
/external/chromium_org/chrome/browser/ui/views/renderer_context_menu/
Drender_view_context_menu_views.cc52 anchor_position, type, views::MenuRunner::HAS_MNEMONICS | in RunMenuAt()
53 views::MenuRunner::CONTEXT_MENU) == in RunMenuAt()
54 views::MenuRunner::MENU_DELETED) in RunMenuAt()
62 menu_runner_.reset(new views::MenuRunner(&menu_model_)); in PlatformInit()
Drender_view_context_menu_views.h19 class MenuRunner; variable
63 scoped_ptr<views::MenuRunner> menu_runner_;
/external/chromium_org/ui/message_center/views/
Dmessage_view_context_menu_controller.cc35 views::MenuRunner menu_runner(menu_model.get()); in ShowContextMenuForView()
42 views::MenuRunner::HAS_MNEMONICS)); in ShowContextMenuForView()
/external/chromium_org/chrome/browser/ui/views/website_settings/
Dpermission_selector_view.cc61 scoped_ptr<views::MenuRunner> menu_runner_;
101 menu_runner_.reset(new views::MenuRunner(menu_model_)); in OnMenuButtonClicked()
110 views::MenuRunner::HAS_MNEMONICS) == in OnMenuButtonClicked()
111 views::MenuRunner::MENU_DELETED) { in OnMenuButtonClicked()
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dpage_action_image_view.cc159 menu_runner_.reset(new views::MenuRunner(context_menu_model.get())); in ShowContextMenuForView()
168 views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU) == in ShowContextMenuForView()
169 views::MenuRunner::MENU_DELETED) { in ShowContextMenuForView()
/external/chromium_org/chrome/browser/ui/views/
Dmenu_test_base.h18 class MenuRunner; variable
80 scoped_ptr<views::MenuRunner> menu_runner_;
Dmenu_test_base.cc45 menu_runner_.reset(new views::MenuRunner(menu_)); in SetUp()
78 views::MenuRunner::HAS_MNEMONICS)); in OnMenuButtonClicked()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_frame.cc264 menu_runner_.reset(new views::MenuRunner(GetSystemMenuModel())); in ShowContextMenuForView()
270 views::MenuRunner::HAS_MNEMONICS | in ShowContextMenuForView()
271 views::MenuRunner::CONTEXT_MENU) == in ShowContextMenuForView()
272 views::MenuRunner::MENU_DELETED) { in ShowContextMenuForView()
/external/chromium_org/chrome/browser/ui/views/status_icons/
Dstatus_icon_win.h22 class MenuRunner; variable
86 scoped_ptr<views::MenuRunner> menu_runner_;
/external/chromium_org/ash/shell/
Dwindow_type_launcher.cc39 using views::MenuRunner;
389 menu_runner_.reset(new MenuRunner(root)); in ShowContextMenuForView()
396 MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU) == in ShowContextMenuForView()
397 MenuRunner::MENU_DELETED) { in ShowContextMenuForView()
Dwindow_type_launcher.h14 class MenuRunner; variable
76 scoped_ptr<views::MenuRunner> menu_runner_;
/external/chromium_org/ui/app_list/views/
Dsearch_result_view.h25 class MenuRunner; variable
103 scoped_ptr<views::MenuRunner> context_menu_runner_;

1234