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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
47 Widget* widget() const; | 47 Widget* widget() const; |
48 | 48 |
49 void updateOnWidgetChange(); | 49 void updateOnWidgetChange(); |
50 void updateWidgetPosition(); | 50 void updateWidgetPosition(); |
51 void widgetPositionsUpdated(); | 51 void widgetPositionsUpdated(); |
52 bool updateWidgetGeometry(); | 52 bool updateWidgetGeometry(); |
53 | 53 |
54 bool isLayoutPart() const final { return true; } | 54 bool isLayoutPart() const final { return true; } |
55 virtual void paintContents(const PaintInfo&, const LayoutPoint&) const; | 55 virtual void paintContents(const PaintInfo&, const LayoutPoint&) const; |
56 | 56 |
57 bool isThrottledFrameView(); | |
esprehn
2015/10/16 21:40:45
const ?
Sami
2015/10/19 10:51:06
Done.
| |
58 | |
57 protected: | 59 protected: |
58 PaintLayerType layerTypeRequired() const override; | 60 PaintLayerType layerTypeRequired() const override; |
59 | 61 |
60 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; | 62 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; |
61 void layout() override; | 63 void layout() override; |
62 void paint(const PaintInfo&, const LayoutPoint&) const override; | 64 void paint(const PaintInfo&, const LayoutPoint&) const override; |
63 CursorDirective getCursor(const LayoutPoint&, Cursor&) const final; | 65 CursorDirective getCursor(const LayoutPoint&, Cursor&) const final; |
64 | 66 |
65 // Overridden to invalidate the child frame if any. | 67 // Overridden to invalidate the child frame if any. |
66 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState&) override; | 68 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState&) override; |
67 | 69 |
68 private: | 70 private: |
69 CompositingReasons additionalCompositingReasons() const override; | 71 CompositingReasons additionalCompositingReasons() const override; |
70 | 72 |
71 void willBeDestroyed() final; | 73 void willBeDestroyed() final; |
72 void destroy() final; | 74 void destroy() final; |
73 | 75 |
74 bool setWidgetGeometry(const LayoutRect&); | 76 bool setWidgetGeometry(const LayoutRect&); |
75 | 77 |
76 bool nodeAtPointOverWidget(HitTestResult&, const HitTestLocation& locationIn Container, const LayoutPoint& accumulatedOffset, HitTestAction); | 78 bool nodeAtPointOverWidget(HitTestResult&, const HitTestLocation& locationIn Container, const LayoutPoint& accumulatedOffset, HitTestAction); |
77 | 79 |
78 int m_refCount; | 80 int m_refCount; |
79 }; | 81 }; |
80 | 82 |
81 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); | 83 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); |
82 | 84 |
83 } // namespace blink | 85 } // namespace blink |
84 | 86 |
85 #endif // LayoutPart_h | 87 #endif // LayoutPart_h |
OLD | NEW |