summaryrefslogtreecommitdiffstats
path: root/views/controls/button
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button')
-rw-r--r--views/controls/button/native_button_gtk.cc2
-rw-r--r--views/controls/button/native_button_wrapper.h2
2 files changed, 3 insertions, 1 deletions
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;