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

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

Issue 2710593009: Selection API: add removeRange(). (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 094a1e013f55afcd58dd5472ae5c18554ae36409..6dbc02aad5b233acfe70d70c8c7cbf7ccfe7b46a 100644
--- a/third_party/WebKit/Source/core/editing/DOMSelection.h
+++ b/third_party/WebKit/Source/core/editing/DOMSelection.h
@@ -90,6 +90,7 @@ class CORE_EXPORT DOMSelection final : public GarbageCollected<DOMSelection>,
void collapseToStart(ExceptionState&);
void extend(Node*, unsigned offset, ExceptionState&);
Range* getRangeAt(unsigned, ExceptionState&) const;
+ void removeRange(Range*);
void removeAllRanges();
void addRange(Range*);
void deleteFromDocument();

Powered by Google App Engine
This is Rietveld 408576698