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 #include "config.h" | 5 #include "config.h" |
6 #include "core/inspector/InspectorHighlight.h" | 6 #include "core/inspector/InspectorHighlight.h" |
7 | 7 |
8 #include "core/dom/ClientRect.h" | 8 #include "core/dom/ClientRect.h" |
9 #include "core/dom/PseudoElement.h" | 9 #include "core/dom/PseudoElement.h" |
10 #include "core/frame/FrameView.h" | 10 #include "core/frame/FrameView.h" |
11 #include "core/layout/LayoutBox.h" | 11 #include "core/layout/LayoutBox.h" |
12 #include "core/layout/LayoutInline.h" | 12 #include "core/layout/LayoutInline.h" |
13 #include "core/layout/LayoutObject.h" | 13 #include "core/layout/LayoutObject.h" |
14 #include "core/layout/shapes/ShapeOutsideInfo.h" | 14 #include "core/layout/shapes/ShapeOutsideInfo.h" |
15 #include "core/layout/style/LayoutStyleConstants.h" | 15 #include "core/layout/style/ComputedStyleConstants.h" |
16 #include "platform/graphics/Path.h" | 16 #include "platform/graphics/Path.h" |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 class PathBuilder { | 22 class PathBuilder { |
23 WTF_MAKE_NONCOPYABLE(PathBuilder); | 23 WTF_MAKE_NONCOPYABLE(PathBuilder); |
24 public: | 24 public: |
25 PathBuilder() : m_path(TypeBuilder::Array<JSONValue>::create()) { } | 25 PathBuilder() : m_path(TypeBuilder::Array<JSONValue>::create()) { } |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 config.eventTarget = Color(128, 128, 128, 0); | 425 config.eventTarget = Color(128, 128, 128, 0); |
426 config.shape = Color(0, 0, 0, 0); | 426 config.shape = Color(0, 0, 0, 0); |
427 config.shapeMargin = Color(128, 128, 128, 0); | 427 config.shapeMargin = Color(128, 128, 128, 0); |
428 config.showInfo = true; | 428 config.showInfo = true; |
429 config.showRulers = true; | 429 config.showRulers = true; |
430 config.showExtensionLines = true; | 430 config.showExtensionLines = true; |
431 return config; | 431 return config; |
432 } | 432 } |
433 | 433 |
434 } // namespace blink | 434 } // namespace blink |
OLD | NEW |