diff options
author | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-26 06:00:42 +0000 |
---|---|---|
committer | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-26 06:00:42 +0000 |
commit | 5fc549f0469b301169a17a28b725c8ea20d80673 (patch) | |
tree | fea512f022e5be806e587aea4a8905fcd73c2331 /views/controls/menu/menu_item_view.h | |
parent | 7de2cf6dea088d93b88e997605e229888fadfceb (diff) | |
download | chromium_src-5fc549f0469b301169a17a28b725c8ea20d80673.zip chromium_src-5fc549f0469b301169a17a28b725c8ea20d80673.tar.gz chromium_src-5fc549f0469b301169a17a28b725c8ea20d80673.tar.bz2 |
Use widget to specify the parent of views menu.
BUG=none
TEST=none. no functional change and all tests should pass.
Review URL: http://codereview.chromium.org/7489035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/menu_item_view.h')
-rw-r--r-- | views/controls/menu/menu_item_view.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h index ba2a365..1403729e 100644 --- a/views/controls/menu/menu_item_view.h +++ b/views/controls/menu/menu_item_view.h @@ -135,12 +135,12 @@ class MenuItemView : public View { // whether the items have mnemonics. Mnemonics are identified by way of the // character following the '&'. The anchor position is specified for non-RTL // languages; the opposite value will be used for RTL. - void RunMenuAt(gfx::NativeWindow parent, + void RunMenuAt(Widget* parent, MenuButton* button, const gfx::Rect& bounds, AnchorPosition anchor, bool has_mnemonics); - void RunMenuForDropAt(gfx::NativeWindow parent, + void RunMenuForDropAt(Widget* parent, const gfx::Rect& bounds, AnchorPosition anchor); |