| 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)
|
|
|