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

Unified Diff: sky/engine/core/editing/Editor.h

Issue 928393003: Remove the concept of document.documentElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/dom/Position.cpp ('k') | sky/engine/core/editing/Editor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/Editor.h
diff --git a/sky/engine/core/editing/Editor.h b/sky/engine/core/editing/Editor.h
index cd7dc03e90f7ef6189cc8229b6685ef16ef1fad4..d9e0cef70e232bccac0e7aa7cab39bb5e5347305 100644
--- a/sky/engine/core/editing/Editor.h
+++ b/sky/engine/core/editing/Editor.h
@@ -176,7 +176,7 @@ public:
void pasteAsFragment(PassRefPtr<DocumentFragment>, bool smartReplace, bool matchStyle);
void pasteAsPlainText(const String&, bool smartReplace);
- Element* findEventTargetFrom(const VisibleSelection&) const;
+ ContainerNode* findEventTargetFrom(const VisibleSelection&) const;
bool findString(const String&, FindOptions);
// FIXME: Switch callers over to the FindOptions version and retire this one.
@@ -235,7 +235,7 @@ private:
void changeSelectionAfterCommand(const VisibleSelection& newSelection, FrameSelection::SetSelectionOptions);
void notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions);
- Element* findEventTargetFromSelection() const;
+ ContainerNode* findEventTargetFromSelection() const;
PassRefPtr<Range> rangeOfString(const String&, Range*, FindOptions);
« no previous file with comments | « sky/engine/core/dom/Position.cpp ('k') | sky/engine/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698