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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.h

Issue 2653523003: Make DOMSelection cache Range (Closed)
Patch Set: update 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/dom/TreeScope.h
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.h b/third_party/WebKit/Source/core/dom/TreeScope.h
index dd17132886a22af47ea2e807ff95d35cb8e9cebf..a00033b29c97e20b7092fb433a6f813290b6fd66 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.h
+++ b/third_party/WebKit/Source/core/dom/TreeScope.h
@@ -88,6 +88,7 @@ class CORE_EXPORT TreeScope : public GarbageCollectedMixin {
HeapVector<Member<Element>> elementsFromPoint(int x, int y) const;
HeapVector<Member<Element>> elementsFromHitTestResult(HitTestResult&) const;
+ bool hasSelection() const;
DOMSelection* getSelection() const;
Element* retarget(const Element& target) const;

Powered by Google App Engine
This is Rietveld 408576698