| 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/inspector/protocol/DOM.h" | 9 #include "core/inspector/protocol/DOM.h" |
| 10 #include "platform/geometry/FloatQuad.h" | 10 #include "platform/geometry/FloatQuad.h" |
| 11 #include "platform/geometry/LayoutRect.h" | 11 #include "platform/geometry/LayoutRect.h" |
| 12 #include "platform/graphics/Color.h" | 12 #include "platform/graphics/Color.h" |
| 13 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class Color; | 17 class Color; |
| 18 | 18 |
| 19 namespace protocol { | |
| 20 class Value; | |
| 21 } | |
| 22 | |
| 23 struct CORE_EXPORT InspectorHighlightConfig { | 19 struct CORE_EXPORT InspectorHighlightConfig { |
| 24 USING_FAST_MALLOC(InspectorHighlightConfig); | 20 USING_FAST_MALLOC(InspectorHighlightConfig); |
| 25 | 21 |
| 26 public: | 22 public: |
| 27 InspectorHighlightConfig(); | 23 InspectorHighlightConfig(); |
| 28 | 24 |
| 29 Color content; | 25 Color content; |
| 30 Color contentOutline; | 26 Color contentOutline; |
| 31 Color padding; | 27 Color padding; |
| 32 Color border; | 28 Color border; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 std::unique_ptr<protocol::ListValue> m_highlightPaths; | 77 std::unique_ptr<protocol::ListValue> m_highlightPaths; |
| 82 bool m_showRulers; | 78 bool m_showRulers; |
| 83 bool m_showExtensionLines; | 79 bool m_showExtensionLines; |
| 84 bool m_displayAsMaterial; | 80 bool m_displayAsMaterial; |
| 85 float m_scale; | 81 float m_scale; |
| 86 }; | 82 }; |
| 87 | 83 |
| 88 } // namespace blink | 84 } // namespace blink |
| 89 | 85 |
| 90 #endif // InspectorHighlight_h | 86 #endif // InspectorHighlight_h |
| OLD | NEW |