summaryrefslogtreecommitdiffstats
path: root/views/controls/button/native_button_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/native_button_gtk.cc')
-rw-r--r--views/controls/button/native_button_gtk.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/button/native_button_gtk.cc b/views/controls/button/native_button_gtk.cc
index 3731d45..e4355c1 100644
--- a/views/controls/button/native_button_gtk.cc
+++ b/views/controls/button/native_button_gtk.cc
@@ -68,6 +68,10 @@ void NativeButtonGtk::SetFocus() {
Focus();
}
+gfx::NativeView NativeButtonWin::GetTestingHandle() const {
+ return native_view();
+}
+
gfx::Size NativeButtonGtk::GetPreferredSize() {
if (!native_view())
return gfx::Size();