| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
| 4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
| 5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
| 10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // Methods for getting/setting the size Blink should use to layout the conte
nts. | 115 // Methods for getting/setting the size Blink should use to layout the conte
nts. |
| 116 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 116 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 117 void setLayoutSize(const IntSize&); | 117 void setLayoutSize(const IntSize&); |
| 118 | 118 |
| 119 // If this is set to false, the layout size will need to be explicitly set b
y the owner. | 119 // If this is set to false, the layout size will need to be explicitly set b
y the owner. |
| 120 // E.g. WebViewImpl sets its mainFrame's layout size manually | 120 // E.g. WebViewImpl sets its mainFrame's layout size manually |
| 121 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } | 121 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } |
| 122 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } | 122 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } |
| 123 | 123 |
| 124 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation;
} | 124 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation;
} |
| 125 void setNeedsFullPaintInvalidation() { m_doFullPaintInvalidation = true; } |
| 125 | 126 |
| 126 void updateAcceleratedCompositingSettings(); | 127 void updateAcceleratedCompositingSettings(); |
| 127 | 128 |
| 128 void recalcOverflowAfterStyleChange(); | 129 void recalcOverflowAfterStyleChange(); |
| 129 | 130 |
| 130 bool isEnclosedInCompositingLayer() const; | 131 bool isEnclosedInCompositingLayer() const; |
| 131 | 132 |
| 132 void resetScrollbars(); | 133 void resetScrollbars(); |
| 133 void prepareForDetach(); | 134 void prepareForDetach(); |
| 134 void detachCustomScrollbars(); | 135 void detachCustomScrollbars(); |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 } | 828 } |
| 828 | 829 |
| 829 private: | 830 private: |
| 830 RawPtrWillBeMember<FrameView> m_view; | 831 RawPtrWillBeMember<FrameView> m_view; |
| 831 bool m_originalValue; | 832 bool m_originalValue; |
| 832 }; | 833 }; |
| 833 | 834 |
| 834 } // namespace blink | 835 } // namespace blink |
| 835 | 836 |
| 836 #endif // FrameView_h | 837 #endif // FrameView_h |
| OLD | NEW |