| Index: ui/views/controls/menu/menu_controller.h
|
| diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
|
| index ceac991a6426e82fab75c2a4638daab67c9223e3..30c56f0f04b88d9f36b68454c3851f526f5a1533 100644
|
| --- a/ui/views/controls/menu/menu_controller.h
|
| +++ b/ui/views/controls/menu/menu_controller.h
|
| @@ -92,6 +92,10 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
|
| // Whether or not drag operation is in progress.
|
| bool drag_in_progress() const { return drag_in_progress_; }
|
|
|
| + // Returns the owner of child windows.
|
| + // WARNING: this may be NULL.
|
| + Widget* owner() { return owner_; }
|
| +
|
| // Get the anchor position wich is used to show this menu.
|
| MenuAnchorPosition GetAnchorPosition() { return state_.anchor; }
|
|
|
|
|