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

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

Issue 1204453002: Devtools: Create layout editor experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/inspector/InspectorOverlayPage.html ('k') | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/LayoutEditor.h
diff --git a/Source/core/inspector/LayoutEditor.h b/Source/core/inspector/LayoutEditor.h
new file mode 100644
index 0000000000000000000000000000000000000000..a0ed0a6339271183fa7e1d32236cb198ac287cfd
--- /dev/null
+++ b/Source/core/inspector/LayoutEditor.h
@@ -0,0 +1,33 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef LayoutEditor_h
+#define LayoutEditor_h
+
+#include "wtf/PassOwnPtr.h"
+#include "wtf/RefPtr.h"
+
+namespace blink {
+
+class JSONObject;
+class Node;
+
+class LayoutEditor final {
+public:
+ static PassOwnPtr<LayoutEditor> create(Node* node)
+ {
+ return adoptPtr(new LayoutEditor(node));
+ }
+ PassRefPtr<JSONObject> buildJSONInfo() const;
+
+private:
+ explicit LayoutEditor(Node*);
+
+ RefPtr<Node> m_node;
+};
+
+} // namespace blink
+
+
+#endif // !defined(LayoutEditor_h)
« no previous file with comments | « Source/core/inspector/InspectorOverlayPage.html ('k') | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698