| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) | 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) |
| 5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #include "core/frame/FrameView.h" | 28 #include "core/frame/FrameView.h" |
| 29 #include "core/frame/LocalFrame.h" | 29 #include "core/frame/LocalFrame.h" |
| 30 #include "core/html/HTMLFrameElementBase.h" | 30 #include "core/html/HTMLFrameElementBase.h" |
| 31 #include "core/plugins/PluginView.h" | 31 #include "core/plugins/PluginView.h" |
| 32 #include "core/rendering/HitTestResult.h" | 32 #include "core/rendering/HitTestResult.h" |
| 33 #include "core/rendering/RenderLayer.h" | 33 #include "core/rendering/RenderLayer.h" |
| 34 #include "core/rendering/RenderView.h" | 34 #include "core/rendering/RenderView.h" |
| 35 #include "core/rendering/svg/RenderSVGRoot.h" | 35 #include "core/rendering/svg/RenderSVGRoot.h" |
| 36 | 36 |
| 37 using namespace std; | |
| 38 | |
| 39 namespace WebCore { | 37 namespace WebCore { |
| 40 | 38 |
| 41 RenderPart::RenderPart(Element* node) | 39 RenderPart::RenderPart(Element* node) |
| 42 : RenderWidget(node) | 40 : RenderWidget(node) |
| 43 { | 41 { |
| 44 setInline(false); | 42 setInline(false); |
| 45 } | 43 } |
| 46 | 44 |
| 47 RenderPart::~RenderPart() | 45 RenderPart::~RenderPart() |
| 48 { | 46 { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 } | 128 } |
| 131 | 129 |
| 132 CompositingReasons RenderPart::additionalCompositingReasons(CompositingTriggerFl
ags) const | 130 CompositingReasons RenderPart::additionalCompositingReasons(CompositingTriggerFl
ags) const |
| 133 { | 131 { |
| 134 if (requiresAcceleratedCompositing()) | 132 if (requiresAcceleratedCompositing()) |
| 135 return CompositingReasonIFrame; | 133 return CompositingReasonIFrame; |
| 136 return CompositingReasonNone; | 134 return CompositingReasonNone; |
| 137 } | 135 } |
| 138 | 136 |
| 139 } | 137 } |
| OLD | NEW |