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

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

Issue 2228833002: MacViews: Fix behavior of move and select commands when selection direction changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_text_commands
Patch Set: Created 4 years, 4 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
Index: ui/views/style/platform_style.cc
diff --git a/ui/views/style/platform_style.cc b/ui/views/style/platform_style.cc
index e1da29f3068ddaf185323bab144c7509795a616e..294ce49039fde9b5902bb0a6738b5fea1f15ac34 100644
--- a/ui/views/style/platform_style.cc
+++ b/ui/views/style/platform_style.cc
@@ -42,6 +42,10 @@ const bool PlatformStyle::kDialogDefaultButtonCanBeCancel = true;
const bool PlatformStyle::kTextfieldDragVerticallyDragsToEnd = false;
const CustomButton::NotifyAction PlatformStyle::kMenuNotifyActivationAction =
CustomButton::NOTIFY_ON_RELEASE;
+const gfx::SelectionReversedBehavior PlatformStyle::kWordSelectionBehavior =
+ gfx::SELECTION_DEFAULT;
+const gfx::SelectionReversedBehavior PlatformStyle::kLineSelectionBehavior =
+ gfx::SELECTION_DEFAULT;
// static
gfx::ImageSkia PlatformStyle::CreateComboboxArrow(bool is_enabled,

Powered by Google App Engine
This is Rietveld 408576698