Chromium Code Reviews| 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..e8779491dc02cc5ac4e258d37efa7cbce8e5e8ae |
| --- /dev/null |
| +++ b/Source/core/inspector/LayoutEditor.h |
| @@ -0,0 +1,32 @@ |
| +// 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: |
|
dgozman
2015/06/23 17:13:55
nit: blank line before private please.
sergeyv
2015/06/23 17:21:13
Done.
|
| + explicit LayoutEditor(Node*); |
| + |
| + RefPtr<Node> m_node; |
| +}; |
| + |
| +} // namespace blink |
| + |
| + |
| +#endif // !defined(LayoutEditor_h) |