| 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 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 #ifndef LayoutPart_h | 23 #ifndef LayoutPart_h |
| 24 #define LayoutPart_h | 24 #define LayoutPart_h |
| 25 | 25 |
| 26 #include "core/CoreExport.h" | 26 #include "core/CoreExport.h" |
| 27 #include "core/layout/LayoutReplaced.h" | 27 #include "core/layout/LayoutReplaced.h" |
| 28 #include "platform/Widget.h" | 28 #include "platform/Widget.h" |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 // LayoutObject for frames via LayoutFrame and LayoutIFrame, and plugins via Lay
outEmbeddedObject. | 32 // LayoutObject for frames via LayoutFrame and LayoutIFrame, and plugins via |
| 33 // LayoutEmbeddedObject. |
| 33 class CORE_EXPORT LayoutPart : public LayoutReplaced { | 34 class CORE_EXPORT LayoutPart : public LayoutReplaced { |
| 34 public: | 35 public: |
| 35 explicit LayoutPart(Element*); | 36 explicit LayoutPart(Element*); |
| 36 ~LayoutPart() override; | 37 ~LayoutPart() override; |
| 37 | 38 |
| 38 bool requiresAcceleratedCompositing() const; | 39 bool requiresAcceleratedCompositing() const; |
| 39 | 40 |
| 40 bool needsPreferredWidthsRecalculation() const final; | 41 bool needsPreferredWidthsRecalculation() const final; |
| 41 | 42 |
| 42 bool nodeAtPoint(HitTestResult&, | 43 bool nodeAtPoint(HitTestResult&, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 HitTestAction); | 85 HitTestAction); |
| 85 | 86 |
| 86 int m_refCount; | 87 int m_refCount; |
| 87 }; | 88 }; |
| 88 | 89 |
| 89 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); | 90 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); |
| 90 | 91 |
| 91 } // namespace blink | 92 } // namespace blink |
| 92 | 93 |
| 93 #endif // LayoutPart_h | 94 #endif // LayoutPart_h |
| OLD | NEW |