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

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

Issue 2580293003: MacViews: Select word under cursor on right click. (Closed)
Patch Set: -- Created 4 years 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
Index: ui/views/style/platform_style.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index 67c7ae0fcd69d7c8ccdc6c812f199d99e9d94f9f..96bcd0ddf912d147e84ba39caeb685b5bccede68 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -44,6 +44,9 @@ class VIEWS_EXPORT PlatformStyle {
// the left or right end of the text from the cursor, respectively.
static const bool kTextDragVerticallyDragsToEnd;
+ // Whether right clicking on text, selects the word under cursor.
+ static const bool kSelectWordOnRightClick;
+
// The menu button's action to show the menu.
static const CustomButton::NotifyAction kMenuNotifyActivationAction;

Powered by Google App Engine
This is Rietveld 408576698