| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 bool isInPerformLayout() const; | 79 bool isInPerformLayout() const; |
| 80 | 80 |
| 81 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; | 81 RenderObject* layoutRoot(bool onlyDuringLayout = false) const; |
| 82 void clearLayoutSubtreeRoot() { m_layoutSubtreeRoot = 0; } | 82 void clearLayoutSubtreeRoot() { m_layoutSubtreeRoot = 0; } |
| 83 int layoutCount() const { return m_layoutCount; } | 83 int layoutCount() const { return m_layoutCount; } |
| 84 | 84 |
| 85 bool needsLayout() const; | 85 bool needsLayout() const; |
| 86 void setNeedsLayout(); | 86 void setNeedsLayout(); |
| 87 | 87 |
| 88 // Methods for getting/setting the size Blink should use to layout the conte
nts. | 88 // Methods for getting/setting the size Blink should use to layout the conte
nts. |
| 89 // FIXME(sky): Remove the scrollbars argument now that FrameView doesn't scr
oll. | |
| 90 IntSize layoutSize() const; | 89 IntSize layoutSize() const; |
| 91 void setLayoutSize(const IntSize&); | 90 void setLayoutSize(const IntSize&); |
| 92 | 91 |
| 93 // If this is set to false, the layout size will need to be explicitly set b
y the owner. | 92 // If this is set to false, the layout size will need to be explicitly set b
y the owner. |
| 94 // E.g. WebViewImpl sets its mainFrame's layout size manually | 93 // E.g. WebViewImpl sets its mainFrame's layout size manually |
| 95 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } | 94 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } |
| 96 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } | 95 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } |
| 97 | 96 |
| 98 void recalcOverflowAfterStyleChange(); | 97 void recalcOverflowAfterStyleChange(); |
| 99 | 98 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 bool m_layoutSizeFixedToFrameSize; | 234 bool m_layoutSizeFixedToFrameSize; |
| 236 | 235 |
| 237 Vector<IntRect> m_tickmarks; | 236 Vector<IntRect> m_tickmarks; |
| 238 }; | 237 }; |
| 239 | 238 |
| 240 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 239 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 241 | 240 |
| 242 } // namespace blink | 241 } // namespace blink |
| 243 | 242 |
| 244 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 243 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |