summaryrefslogtreecommitdiffstats
path: root/views/controls/button/native_button_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/native_button_wrapper.h')
-rw-r--r--views/controls/button/native_button_wrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/button/native_button_wrapper.h b/views/controls/button/native_button_wrapper.h
index 07739af..0f2439c 100644
--- a/views/controls/button/native_button_wrapper.h
+++ b/views/controls/button/native_button_wrapper.h
@@ -44,6 +44,9 @@ class NativeButtonWrapper {
// Sets the focus to the button.
virtual void SetFocus() = 0;
+ // Returns a handle to the underlying native view for testing.
+ virtual gfx::NativeView GetTestingHandle() const = 0;
+
// Return the width of the button. Used for fixed size buttons (checkboxes and
// radio buttons) only.
static int GetFixedWidth();