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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/button/native_button_wrapper.h b/views/controls/button/native_button_wrapper.h
index 39aa2c3..bd974bd 100644
--- a/views/controls/button/native_button_wrapper.h
+++ b/views/controls/button/native_button_wrapper.h
@@ -46,6 +46,10 @@ class NativeButtonWrapper {
// Sets the focus to the button.
virtual void SetFocus() = 0;
+ // Returns true if the wrapped NativeButton supplies its own label, false if
+ // the caller needs to provide one.
+ virtual bool UsesNativeLabel() const = 0;
+
// Returns a handle to the underlying native view for testing.
virtual gfx::NativeView GetTestingHandle() const = 0;