Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 private: | |
|
dgozman
2015/06/23 17:13:55
nit: blank line before private please.
sergeyv
2015/06/23 17:21:13
Done.
| |
| 24 explicit LayoutEditor(Node*); | |
| 25 | |
| 26 RefPtr<Node> m_node; | |
| 27 }; | |
| 28 | |
| 29 } // namespace blink | |
| 30 | |
| 31 | |
| 32 #endif // !defined(LayoutEditor_h) | |
| OLD | NEW |