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

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

Issue 1187973007: Templatize LayoutView::commitPendingSelection function (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | Source/core/layout/LayoutView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/VisibleSelection.h
diff --git a/Source/core/editing/VisibleSelection.h b/Source/core/editing/VisibleSelection.h
index 45a4d61281c2dd28cfe8003893ee4d131b11df7e..d0d8c0c9145fef6a68b3eebd715c5e60d1be70af 100644
--- a/Source/core/editing/VisibleSelection.h
+++ b/Source/core/editing/VisibleSelection.h
@@ -51,6 +51,8 @@ public:
static PositionType selectionExtent(const VisibleSelection& selection) { return selection.extent(); }
static PositionType selectionStart(const VisibleSelection& selection) { return selection.start(); }
static PositionType selectionEnd(const VisibleSelection& selection) { return selection.end(); }
+ static VisiblePosition selectionVisibleStart(const VisibleSelection& selection) { return selection.visibleStart(); }
+ static VisiblePosition selectionVisibleEnd(const VisibleSelection& selection) { return selection.visibleEnd(); }
};
VisibleSelection();
« no previous file with comments | « no previous file | Source/core/layout/LayoutView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698