| 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/Settings.h" | 8 #include "core/frame/Settings.h" |
| 9 #include "core/layout/LayoutPart.h" | 9 #include "core/layout/LayoutPart.h" |
| 10 #include "core/layout/LayoutView.h" | |
| 11 #include "core/paint/ObjectPaintProperties.h" | 10 #include "core/paint/ObjectPaintProperties.h" |
| 12 #include "core/paint/PaintLayer.h" | 11 #include "core/paint/PaintLayer.h" |
| 13 #include "platform/graphics/paint/ClipPaintPropertyNode.h" | 12 #include "platform/graphics/paint/ClipPaintPropertyNode.h" |
| 14 #include "platform/graphics/paint/TransformPaintPropertyNode.h" | 13 #include "platform/graphics/paint/TransformPaintPropertyNode.h" |
| 15 #include "platform/transforms/TransformationMatrix.h" | 14 #include "platform/transforms/TransformationMatrix.h" |
| 16 | 15 |
| 17 namespace blink { | 16 namespace blink { |
| 18 | 17 |
| 19 // The context for layout tree walk. | 18 // The context for layout tree walk. |
| 20 // The walk will be done in the primary tree order (= DOM order), thus the conte
xt will also be | 19 // The walk will be done in the primary tree order (= DOM order), thus the conte
xt will also be |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 | 435 |
| 437 if (object.isLayoutPart()) { | 436 if (object.isLayoutPart()) { |
| 438 Widget* widget = toLayoutPart(object).widget(); | 437 Widget* widget = toLayoutPart(object).widget(); |
| 439 if (widget && widget->isFrameView()) | 438 if (widget && widget->isFrameView()) |
| 440 walk(*toFrameView(widget), localContext); | 439 walk(*toFrameView(widget), localContext); |
| 441 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). | 440 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). |
| 442 } | 441 } |
| 443 } | 442 } |
| 444 | 443 |
| 445 } // namespace blink | 444 } // namespace blink |
| OLD | NEW |