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

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

Issue 2695193002: Selection API: setBaseAndExtent() and selectAllChildren() should create new Range based on the spec… (Closed)
Patch Set: rebase Created 3 years, 10 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/DOMSelection.h
diff --git a/third_party/WebKit/Source/core/editing/DOMSelection.h b/third_party/WebKit/Source/core/editing/DOMSelection.h
index 9723ea4e4df7d0bf3a62e8d091f3463d1c64d6a8..b983c877129bb251bec1cfbc3770702d1b95b149 100644
--- a/third_party/WebKit/Source/core/editing/DOMSelection.h
+++ b/third_party/WebKit/Source/core/editing/DOMSelection.h
@@ -108,8 +108,9 @@ class CORE_EXPORT DOMSelection final : public GarbageCollected<DOMSelection>,
bool isAvailable() const;
- // Convenience method for accessors, does not check m_frame present.
+ // Convenience methods for accessors, does not check m_frame present.
const VisibleSelection& visibleSelection() const;
+ bool isBaseFirstInSelection() const;
Node* shadowAdjustedNode(const Position&) const;
int shadowAdjustedOffset(const Position&) const;

Powered by Google App Engine
This is Rietveld 408576698