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

Unified Diff: Source/core/inspector/DOMEditor.h

Issue 716603002: Use ContainerNode more in DOMEditor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | Source/core/inspector/DOMEditor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/DOMEditor.h
diff --git a/Source/core/inspector/DOMEditor.h b/Source/core/inspector/DOMEditor.h
index 4e4194daf1781589941eae38756ccd2921047c2e..60e52b273ca71b77188f2ae5fc0ac004e85092ac 100644
--- a/Source/core/inspector/DOMEditor.h
+++ b/Source/core/inspector/DOMEditor.h
@@ -36,6 +36,7 @@
namespace blink {
+class ContainerNode;
class Element;
class ExceptionState;
class InspectorHistory;
@@ -52,17 +53,17 @@ public:
void trace(Visitor*);
- bool insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ExceptionState&);
- bool removeChild(Node* parentNode, Node*, ExceptionState&);
+ bool insertBefore(ContainerNode* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ExceptionState&);
+ bool removeChild(ContainerNode* parentNode, Node*, ExceptionState&);
bool setAttribute(Element*, const String& name, const String& value, ExceptionState&);
bool removeAttribute(Element*, const String& name, ExceptionState&);
bool setOuterHTML(Node*, const String& html, Node** newNode, ExceptionState&);
bool replaceWholeText(Text*, const String& text, ExceptionState&);
- bool replaceChild(Node* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode, ExceptionState&);
+ bool replaceChild(ContainerNode* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode, ExceptionState&);
bool setNodeValue(Node* parentNode, const String& value, ExceptionState&);
- bool insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ErrorString*);
- bool removeChild(Node* parentNode, Node*, ErrorString*);
+ bool insertBefore(ContainerNode* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ErrorString*);
+ bool removeChild(ContainerNode* parentNode, Node*, ErrorString*);
bool setAttribute(Element*, const String& name, const String& value, ErrorString*);
bool removeAttribute(Element*, const String& name, ErrorString*);
bool setOuterHTML(Node*, const String& html, Node** newNode, ErrorString*);
« no previous file with comments | « no previous file | Source/core/inspector/DOMEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698