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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorOverlayPage.html ('k') | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef LayoutEditor_h
6 #define LayoutEditor_h
7
8 #include "wtf/PassOwnPtr.h"
9 #include "wtf/RefPtr.h"
10
11 namespace blink {
12
13 class JSONObject;
14 class Node;
15
16 class LayoutEditor final {
17 public:
18 static PassOwnPtr<LayoutEditor> create(Node* node)
19 {
20 return adoptPtr(new LayoutEditor(node));
21 }
22 PassRefPtr<JSONObject> buildJSONInfo() const;
23
24 private:
25 explicit LayoutEditor(Node*);
26
27 RefPtr<Node> m_node;
28 };
29
30 } // namespace blink
31
32
33 #endif // !defined(LayoutEditor_h)
OLDNEW
« 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