| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 void deref(); | 45 void deref(); |
| 46 | 46 |
| 47 Widget* widget() const; | 47 Widget* widget() const; |
| 48 | 48 |
| 49 void updateOnWidgetChange(); | 49 void updateOnWidgetChange(); |
| 50 void updateWidgetGeometry(); | 50 void updateWidgetGeometry(); |
| 51 | 51 |
| 52 bool isLayoutPart() const final { return true; } | 52 bool isLayoutPart() const final { return true; } |
| 53 virtual void paintContents(const PaintInfo&, const LayoutPoint&) const; | 53 virtual void paintContents(const PaintInfo&, const LayoutPoint&) const; |
| 54 | 54 |
| 55 bool isThrottledFrameView() const; | |
| 56 | |
| 57 protected: | 55 protected: |
| 58 PaintLayerType layerTypeRequired() const override; | 56 PaintLayerType layerTypeRequired() const override; |
| 59 | 57 |
| 60 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; | 58 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; |
| 61 void layout() override; | 59 void layout() override; |
| 62 void paint(const PaintInfo&, const LayoutPoint&) const override; | 60 void paint(const PaintInfo&, const LayoutPoint&) const override; |
| 63 CursorDirective getCursor(const LayoutPoint&, Cursor&) const final; | 61 CursorDirective getCursor(const LayoutPoint&, Cursor&) const final; |
| 64 | 62 |
| 65 // Overridden to invalidate the child frame if any. | 63 // Overridden to invalidate the child frame if any. |
| 66 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState&) override; | 64 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState&) override; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 77 bool nodeAtPointOverWidget(HitTestResult&, const HitTestLocation& locationIn
Container, const LayoutPoint& accumulatedOffset, HitTestAction); | 75 bool nodeAtPointOverWidget(HitTestResult&, const HitTestLocation& locationIn
Container, const LayoutPoint& accumulatedOffset, HitTestAction); |
| 78 | 76 |
| 79 int m_refCount; | 77 int m_refCount; |
| 80 }; | 78 }; |
| 81 | 79 |
| 82 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); | 80 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); |
| 83 | 81 |
| 84 } // namespace blink | 82 } // namespace blink |
| 85 | 83 |
| 86 #endif // LayoutPart_h | 84 #endif // LayoutPart_h |
| OLD | NEW |