| 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 #ifndef RenderIFrame_h | 5 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERIFRAME_H_ |
| 6 #define RenderIFrame_h | 6 #define SKY_ENGINE_CORE_RENDERING_RENDERIFRAME_H_ |
| 7 | 7 |
| 8 #include "sky/engine/core/rendering/RenderReplaced.h" | 8 #include "sky/engine/core/rendering/RenderReplaced.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class HTMLIFrameElement; | 12 class HTMLIFrameElement; |
| 13 | 13 |
| 14 class RenderIFrame : public RenderReplaced { | 14 class RenderIFrame : public RenderReplaced { |
| 15 public: | 15 public: |
| 16 explicit RenderIFrame(HTMLIFrameElement*); | 16 explicit RenderIFrame(HTMLIFrameElement*); |
| 17 virtual ~RenderIFrame(); | 17 virtual ~RenderIFrame(); |
| 18 | 18 |
| 19 void updateWidgetBounds(); | 19 void updateWidgetBounds(); |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 LayerType layerTypeRequired() const override { return NormalLayer; } | 22 LayerType layerTypeRequired() const override { return NormalLayer; } |
| 23 void paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) ove
rride; | 23 void paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) ove
rride; |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace blink | 26 } // namespace blink |
| 27 | 27 |
| 28 #endif // RenderIFrame_h | 28 #endif // SKY_ENGINE_CORE_RENDERING_RENDERIFRAME_H_ |
| OLD | NEW |