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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionEditor.h

Issue 1412713003: Reland 'Use FrameSelection::selectedText where possible.' Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reimplement setSelectionInTextFormControl: use setSelection. Created 5 years, 2 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: third_party/WebKit/Source/core/editing/SelectionEditor.h
diff --git a/third_party/WebKit/Source/core/editing/SelectionEditor.h b/third_party/WebKit/Source/core/editing/SelectionEditor.h
index f1aff73e3b598404da74abcbf810a840bb48b74f..9fb6c6312fc094e8b40161225afd1fe93888bc73 100644
--- a/third_party/WebKit/Source/core/editing/SelectionEditor.h
+++ b/third_party/WebKit/Source/core/editing/SelectionEditor.h
@@ -62,6 +62,7 @@ public:
void setIsDirectional(bool);
void setWithoutValidation(const Position& start, const Position& end);
+ void setSelectionInTextFormControl(const Position& start, const Position& end);
void resetXPosForVerticalArrowNavigation();

Powered by Google App Engine
This is Rietveld 408576698