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

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

Issue 467503002: Move DOMSelection.[cpp/h] from core/page to core/editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « Source/core/dom/TreeScope.cpp ('k') | Source/core/editing/DOMSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/DOMSelection.h
diff --git a/Source/core/page/DOMSelection.h b/Source/core/editing/DOMSelection.h
similarity index 98%
rename from Source/core/page/DOMSelection.h
rename to Source/core/editing/DOMSelection.h
index f0514e17e2d98df37353a9cc8f08003f82062c92..4274d5e9c9e6ecfd732ea91071925f5f9373cb5c 100644
--- a/Source/core/page/DOMSelection.h
+++ b/Source/core/editing/DOMSelection.h
@@ -57,12 +57,11 @@ public:
void clearTreeScope();
- // FIXME: Reorder API functions according to Selection.idl.
// Safari Selection Object API
// These methods return the valid equivalents of internal editing positions.
Node* baseNode() const;
- Node* extentNode() const;
int baseOffset() const;
+ Node* extentNode() const;
int extentOffset() const;
String type() const;
void setBaseAndExtent(Node* baseNode, int baseOffset, Node* extentNode, int extentOffset, ExceptionState&);
« no previous file with comments | « Source/core/dom/TreeScope.cpp ('k') | Source/core/editing/DOMSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698