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 "core/paint/PaintPropertyTreeBuilder.h" | 5 #include "core/paint/PaintPropertyTreeBuilder.h" |
6 | 6 |
7 #include "core/frame/FrameView.h" | 7 #include "core/frame/FrameView.h" |
| 8 #include "core/frame/LocalFrame.h" |
8 #include "core/frame/Settings.h" | 9 #include "core/frame/Settings.h" |
9 #include "core/layout/LayoutPart.h" | 10 #include "core/layout/LayoutPart.h" |
10 #include "core/paint/ObjectPaintProperties.h" | 11 #include "core/paint/ObjectPaintProperties.h" |
11 #include "core/paint/PaintLayer.h" | 12 #include "core/paint/PaintLayer.h" |
12 #include "platform/graphics/paint/ClipPaintPropertyNode.h" | 13 #include "platform/graphics/paint/ClipPaintPropertyNode.h" |
13 #include "platform/graphics/paint/TransformPaintPropertyNode.h" | 14 #include "platform/graphics/paint/TransformPaintPropertyNode.h" |
14 #include "platform/transforms/TransformationMatrix.h" | 15 #include "platform/transforms/TransformationMatrix.h" |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 | 18 |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 | 436 |
436 if (object.isLayoutPart()) { | 437 if (object.isLayoutPart()) { |
437 Widget* widget = toLayoutPart(object).widget(); | 438 Widget* widget = toLayoutPart(object).widget(); |
438 if (widget && widget->isFrameView()) | 439 if (widget && widget->isFrameView()) |
439 walk(*toFrameView(widget), localContext); | 440 walk(*toFrameView(widget), localContext); |
440 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). | 441 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). |
441 } | 442 } |
442 } | 443 } |
443 | 444 |
444 } // namespace blink | 445 } // namespace blink |
OLD | NEW |