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

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

Issue 1865063004: views: support vertical-drag-to-end on textfields (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ui/views/style/platform_style.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index e4240d49306a8920c8f6caf4f26d14b3a7459433..8a92fab141ee517a1998e1412076a5f0f5b5be8e 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -37,6 +37,10 @@ class PlatformStyle {
// Creates the default scrollbar for the given orientation.
static scoped_ptr<ScrollBar> CreateScrollBar(bool is_horizontal);
+ // True if dragging vertically above or below a textfield's bounds selects to
+ // the beginning or end of the text from the cursor, respectively.
+ static const bool kTextfieldDragVerticallyDragsToEnd;
tapted 2016/04/06 23:29:38 this should be ordered before all the functions (s
Elly Fong-Jones 2016/04/07 17:43:47 Done.
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformStyle);
};

Powered by Google App Engine
This is Rietveld 408576698