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

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

Issue 2890313003: Commands preserve handles (Closed)
Patch Set: added test Created 3 years, 7 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/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index 37d60f7eff87dd654b71daf32c2f7ca55aaa3df4..618a148bd27c2d417a895b384330b04ceae74987 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -65,7 +65,7 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate {
TextAffinity Affinity() const { return affinity_; }
- SelectionTemplate<Strategy> AsSelection() const;
+ SelectionTemplate<Strategy> AsSelection(bool is_handle_visible = false) const;
PositionTemplate<Strategy> Base() const { return base_; }
PositionTemplate<Strategy> Extent() const { return extent_; }
PositionTemplate<Strategy> Start() const { return start_; }

Powered by Google App Engine
This is Rietveld 408576698