diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 17:29:34 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 17:29:34 +0000 |
commit | f68cf1ab5512e6de17b2a7fcb1b542aa363992ee (patch) | |
tree | f959a984a35dd134a5833bb3a861343e64ffd99a /views/controls/button | |
parent | 9095e9890efaa0b745438abfbd42634fbad32b04 (diff) | |
download | chromium_src-f68cf1ab5512e6de17b2a7fcb1b542aa363992ee.zip chromium_src-f68cf1ab5512e6de17b2a7fcb1b542aa363992ee.tar.gz chromium_src-f68cf1ab5512e6de17b2a7fcb1b542aa363992ee.tar.bz2 |
Make toolbar compile on linux.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/115813
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/button')
-rw-r--r-- | views/controls/button/button_dropdown.cc | 2 | ||||
-rw-r--r-- | views/controls/button/button_dropdown.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/button/button_dropdown.cc b/views/controls/button/button_dropdown.cc index cb1f6ec..92a24ab 100644 --- a/views/controls/button/button_dropdown.cc +++ b/views/controls/button/button_dropdown.cc @@ -116,7 +116,7 @@ void ButtonDropDown::ShowContextMenu(int x, int y, bool is_mouse_gesture) { SetState(BS_HOT); } -void ButtonDropDown::ShowDropDownMenu(HWND window) { +void ButtonDropDown::ShowDropDownMenu(gfx::NativeView window) { if (menu_delegate_) { gfx::Rect lb = GetLocalBounds(true); diff --git a/views/controls/button/button_dropdown.h b/views/controls/button/button_dropdown.h index feb5b5c..4ff4b24 100644 --- a/views/controls/button/button_dropdown.h +++ b/views/controls/button/button_dropdown.h @@ -43,7 +43,7 @@ class ButtonDropDown : public ImageButton { bool is_mouse_gesture); // Internal function to show the dropdown menu - void ShowDropDownMenu(HWND window); + void ShowDropDownMenu(gfx::NativeView window); // Specifies who to delegate populating the menu Menu::Delegate* menu_delegate_; |