OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "sky/engine/config.h" | |
6 | 5 |
7 #include "sky/engine/core/rendering/RenderIFrame.h" | 6 #include "sky/engine/core/rendering/RenderIFrame.h" |
8 | 7 |
9 #include "sky/engine/core/editing/FrameSelection.h" | 8 #include "sky/engine/core/editing/FrameSelection.h" |
10 #include "sky/engine/core/html/HTMLIFrameElement.h" | 9 #include "sky/engine/core/html/HTMLIFrameElement.h" |
11 #include "sky/engine/core/loader/FrameLoaderClient.h" | 10 #include "sky/engine/core/loader/FrameLoaderClient.h" |
12 #include "sky/engine/core/rendering/PaintInfo.h" | 11 #include "sky/engine/core/rendering/PaintInfo.h" |
13 #include "sky/engine/core/rendering/RenderView.h" | 12 #include "sky/engine/core/rendering/RenderView.h" |
14 #include "sky/engine/platform/geometry/LayoutPoint.h" | 13 #include "sky/engine/platform/geometry/LayoutPoint.h" |
15 | 14 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 56 |
58 IntRect paintRect = pixelSnappedIntRect(LayoutRect( | 57 IntRect paintRect = pixelSnappedIntRect(LayoutRect( |
59 paintOffset.x(), paintOffset.y(), contentWidth(), contentHeight())); | 58 paintOffset.x(), paintOffset.y(), contentWidth(), contentHeight())); |
60 context->setStrokeStyle(SolidStroke); | 59 context->setStrokeStyle(SolidStroke); |
61 context->setStrokeColor(Color::lightGray); | 60 context->setStrokeColor(Color::lightGray); |
62 context->setFillColor(Color::darkGray); | 61 context->setFillColor(Color::darkGray); |
63 context->drawRect(paintRect); | 62 context->drawRect(paintRect); |
64 } | 63 } |
65 | 64 |
66 } // namespace blink | 65 } // namespace blink |
OLD | NEW |