Index: ui/views/style/platform_style.h |
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h |
index e71720fbce3b714c30ebabab18757260a0eec5ac..a20188185e2fc0f37094c2c2c89c6fb3cc2a6a0e 100644 |
--- a/ui/views/style/platform_style.h |
+++ b/ui/views/style/platform_style.h |
@@ -46,6 +46,12 @@ class VIEWS_EXPORT PlatformStyle { |
// The menu button's action to show the menu. |
static const CustomButton::NotifyAction kMenuNotifyActivationAction; |
+ // Action to perform on a button when the Space key is pressed. |
+ static const CustomButton::ButtonAction kButtonActionOnSpace; |
+ |
+ // Whether Return key clicks the focused control. |
+ static const bool kClickControlOnReturn; |
tapted
2017/01/04 04:54:31
I read "Control" and thought "Control+Return" - i.
karandeepb
2017/01/04 06:14:45
Is kReturnClicksFocusedControl better?
tapted
2017/01/05 00:34:41
Hm. I see your point. I was thinking of it in term
|
+ |
// Whether TreeViews get a focus ring on the entire TreeView when focused. |
static const bool kTreeViewHasFocusRing; |