From f68cf1ab5512e6de17b2a7fcb1b542aa363992ee Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Wed, 27 May 2009 17:29:34 +0000 Subject: 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 --- views/controls/button/button_dropdown.cc | 2 +- views/controls/button/button_dropdown.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'views/controls/button') 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_; -- cgit v1.1