From de4b4e40ef3eae4bdf9530c452663d8a0cd07897 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Wed, 10 Jun 2009 17:00:53 +0000 Subject: Gets linux2 to compile again. BUG=none TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/118515 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18069 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/button/native_button_gtk.cc | 2 +- views/controls/button/native_button_wrapper.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/controls/button/native_button_gtk.cc b/views/controls/button/native_button_gtk.cc index e4355c1..c97d1e0 100644 --- a/views/controls/button/native_button_gtk.cc +++ b/views/controls/button/native_button_gtk.cc @@ -68,7 +68,7 @@ void NativeButtonGtk::SetFocus() { Focus(); } -gfx::NativeView NativeButtonWin::GetTestingHandle() const { +gfx::NativeView NativeButtonGtk::GetTestingHandle() const { return native_view(); } diff --git a/views/controls/button/native_button_wrapper.h b/views/controls/button/native_button_wrapper.h index 0f2439c..39aa2c3 100644 --- a/views/controls/button/native_button_wrapper.h +++ b/views/controls/button/native_button_wrapper.h @@ -5,6 +5,8 @@ #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ +#include "base/gfx/native_widget_types.h" + namespace views { class Checkbox; -- cgit v1.1