OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef InspectorHighlight_h | 5 #ifndef InspectorHighlight_h |
6 #define InspectorHighlight_h | 6 #define InspectorHighlight_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/InspectorTypeBuilder.h" | 9 #include "core/InspectorTypeBuilder.h" |
10 #include "platform/geometry/FloatQuad.h" | 10 #include "platform/geometry/FloatQuad.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 Color padding; | 27 Color padding; |
28 Color border; | 28 Color border; |
29 Color margin; | 29 Color margin; |
30 Color eventTarget; | 30 Color eventTarget; |
31 Color shape; | 31 Color shape; |
32 Color shapeMargin; | 32 Color shapeMargin; |
33 | 33 |
34 bool showInfo; | 34 bool showInfo; |
35 bool showRulers; | 35 bool showRulers; |
36 bool showExtensionLines; | 36 bool showExtensionLines; |
37 bool showLayoutEditor; | |
38 bool displayAsMaterial; | 37 bool displayAsMaterial; |
39 }; | 38 }; |
40 | 39 |
41 class CORE_EXPORT InspectorHighlight { | 40 class CORE_EXPORT InspectorHighlight { |
42 STACK_ALLOCATED(); | 41 STACK_ALLOCATED(); |
43 public: | 42 public: |
44 InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElemen
tInfo); | 43 InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElemen
tInfo); |
45 InspectorHighlight(); | 44 InspectorHighlight(); |
46 ~InspectorHighlight(); | 45 ~InspectorHighlight(); |
47 | 46 |
(...skipping 13 matching lines...) Expand all Loading... |
61 RefPtr<JSONObject> m_elementInfo; | 60 RefPtr<JSONObject> m_elementInfo; |
62 RefPtr<JSONArray> m_highlightPaths; | 61 RefPtr<JSONArray> m_highlightPaths; |
63 bool m_showRulers; | 62 bool m_showRulers; |
64 bool m_showExtensionLines; | 63 bool m_showExtensionLines; |
65 bool m_displayAsMaterial; | 64 bool m_displayAsMaterial; |
66 }; | 65 }; |
67 | 66 |
68 } // namespace blink | 67 } // namespace blink |
69 | 68 |
70 #endif // InspectorHighlight_h | 69 #endif // InspectorHighlight_h |
OLD | NEW |