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: Reorder function. 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
« 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 181c18076f179045bf1f13b9b2aad9a5ffdb19ab..dfa434f13271fd7cf7a4d7e5d80c338339bec114 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;
« 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