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

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

Issue 1865063004: views: support vertical-drag-to-end on textfields (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor some textfield unittests Created 4 years, 8 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
« ui/views/style/platform_style.h ('K') | « ui/views/style/platform_style.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/style/platform_style_mac.cc
diff --git a/ui/views/style/platform_style_mac.cc b/ui/views/style/platform_style_mac.cc
index f1038d87842aeeea13a344d82c013f46914ee84a..424355d07603bb78f7b34cc29f35bd7566f80751 100644
--- a/ui/views/style/platform_style_mac.cc
+++ b/ui/views/style/platform_style_mac.cc
@@ -11,6 +11,9 @@
namespace views {
// static
+const bool PlatformStyle::kTextfieldDragVerticallyDragsToEnd = true;
+
+// static
scoped_ptr<LabelButtonBorder> PlatformStyle::CreateLabelButtonBorder(
Button::ButtonStyle style) {
if (style == Button::STYLE_BUTTON)
« ui/views/style/platform_style.h ('K') | « ui/views/style/platform_style.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698