| 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 14 matching lines...) Expand all Loading... |
| 25 Color padding; | 25 Color padding; |
| 26 Color border; | 26 Color border; |
| 27 Color margin; | 27 Color margin; |
| 28 Color eventTarget; | 28 Color eventTarget; |
| 29 Color shape; | 29 Color shape; |
| 30 Color shapeMargin; | 30 Color shapeMargin; |
| 31 | 31 |
| 32 bool showInfo; | 32 bool showInfo; |
| 33 bool showRulers; | 33 bool showRulers; |
| 34 bool showExtensionLines; | 34 bool showExtensionLines; |
| 35 bool showLayoutEditor; |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 class CORE_EXPORT InspectorHighlight { | 38 class CORE_EXPORT InspectorHighlight { |
| 38 STACK_ALLOCATED(); | 39 STACK_ALLOCATED(); |
| 39 public: | 40 public: |
| 40 InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElemen
tInfo); | 41 InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElemen
tInfo); |
| 41 InspectorHighlight(); | 42 InspectorHighlight(); |
| 42 ~InspectorHighlight(); | 43 ~InspectorHighlight(); |
| 43 | 44 |
| 44 static bool getBoxModel(Node*, RefPtr<TypeBuilder::DOM::BoxModel>&); | 45 static bool getBoxModel(Node*, RefPtr<TypeBuilder::DOM::BoxModel>&); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 55 | 56 |
| 56 RefPtr<JSONObject> m_elementInfo; | 57 RefPtr<JSONObject> m_elementInfo; |
| 57 RefPtr<JSONArray> m_highlightPaths; | 58 RefPtr<JSONArray> m_highlightPaths; |
| 58 bool m_showRulers; | 59 bool m_showRulers; |
| 59 bool m_showExtensionLines; | 60 bool m_showExtensionLines; |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace blink | 63 } // namespace blink |
| 63 | 64 |
| 64 #endif // InspectorHighlight_h | 65 #endif // InspectorHighlight_h |
| OLD | NEW |