Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1496)

Unified Diff: ui/views/style/platform_style.h

Issue 2650963002: MacViews: Select all text on right clicking an unfocused text view. (Closed)
Patch Set: Nit Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/selection_controller.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/style/platform_style.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index 5f945147b0037c3641ef829ae1bd4239e1df4be0..93b8c8460d7c4244e7294db1eb0be43128e1fdda 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -43,6 +43,9 @@ class VIEWS_EXPORT PlatformStyle {
// Whether right clicking on text, selects the word under cursor.
static const bool kSelectWordOnRightClick;
+ // Whether right clicking inside an unfocused text view selects all the text.
+ static const bool kSelectAllOnRightClickWhenUnfocused;
+
// The menu button's action to show the menu.
static const CustomButton::NotifyAction kMenuNotifyActivationAction;
« no previous file with comments | « ui/views/selection_controller.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698