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

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

Issue 397303002: DevTools: [Elements] Implement shortcut-based node cut-copy-pasting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make DOMAgent.copyTo hidden Created 6 years, 5 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: Source/core/inspector/InspectorDOMAgent.h
diff --git a/Source/core/inspector/InspectorDOMAgent.h b/Source/core/inspector/InspectorDOMAgent.h
index 16afd167b62219f360a2d0cc5d2bc1e1ba9ce2eb..4267972214bd5d7ead72efa78b458e4368aa4208 100644
--- a/Source/core/inspector/InspectorDOMAgent.h
+++ b/Source/core/inspector/InspectorDOMAgent.h
@@ -143,6 +143,7 @@ public:
virtual void highlightNode(ErrorString*, const RefPtr<JSONObject>& highlightConfig, const int* nodeId, const String* objectId) OVERRIDE;
virtual void highlightFrame(ErrorString*, const String& frameId, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor) OVERRIDE;
+ virtual void copyTo(ErrorString*, int nodeId, int targetElementId, const int* const anchorNodeId, int* newNodeId) OVERRIDE;
virtual void moveTo(ErrorString*, int nodeId, int targetNodeId, const int* anchorNodeId, int* newNodeId) OVERRIDE;
virtual void undo(ErrorString*) OVERRIDE;
virtual void redo(ErrorString*) OVERRIDE;
@@ -230,6 +231,7 @@ private:
void unbind(Node*, NodeToIdMap*);
Node* assertEditableNode(ErrorString*, int nodeId);
+ Node* assertEditableChildNode(ErrorString*, Element* parentElement, int nodeId);
Element* assertEditableElement(ErrorString*, int nodeId);
void inspect(Node*);
« no previous file with comments | « no previous file | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | Source/core/inspector/InspectorDOMAgent.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698