OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MenuRunner
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/ui/views/controls/menu/
menu_runner.h
28
//
MenuRunner
is responsible for showing (running) the menu and additionally
30
// to delete
MenuRunner
at any point, but
MenuRunner
internally only deletes the
31
// MenuItemView *after* the nested message loop completes. If
MenuRunner
is
35
// NOTE: while you can delete a
MenuRunner
at any point, the nested message loop
37
// the
MenuRunner
while the menu is running, your object is effectively still
41
// Similarly you should avoid creating
MenuRunner
on the stack. Doing so means
42
//
MenuRunner
may not be immediately destroyed if your object is destroyed,
44
// should define
MenuRunner
as a scoped_ptr in your class so that when your
45
// object is destroyed
MenuRunner
initiates the proper cleanup and ensures you
[
all
...]
menu_runner.cc
72
MenuRunner
::RunResult RunMenuAt(Widget* parent,
92
MenuRunner
::RunResult MenuDone(MenuItemView* result, int mouse_event_flags);
107
// valid if
MenuRunner
has been deleted.
159
// Release is invoked when
MenuRunner
is destroyed. Assume this is happening
168
MenuRunner
::RunResult MenuRunnerImpl::RunMenuAt(
178
return
MenuRunner
::NORMAL_EXIT;
183
if ((types &
MenuRunner
::IS_NESTED) != 0) {
191
if ((types &
MenuRunner
::FOR_DROP) == 0) {
195
return
MenuRunner
::NORMAL_EXIT;
204
for_drop_ = (types &
MenuRunner
::FOR_DROP) != 0
[
all
...]
Completed in 957 milliseconds