| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; | 93 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; |
| 94 void setLayoutSize(const IntSize&); | 94 void setLayoutSize(const IntSize&); |
| 95 | 95 |
| 96 // If this is set to false, the layout size will need to be explicitly set b
y the owner. | 96 // If this is set to false, the layout size will need to be explicitly set b
y the owner. |
| 97 // E.g. WebViewImpl sets its mainFrame's layout size manually | 97 // E.g. WebViewImpl sets its mainFrame's layout size manually |
| 98 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } | 98 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS
ize = isFixed; } |
| 99 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } | 99 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } |
| 100 | 100 |
| 101 void recalcOverflowAfterStyleChange(); | 101 void recalcOverflowAfterStyleChange(); |
| 102 | 102 |
| 103 bool isEnclosedInCompositingLayer() const; | |
| 104 | |
| 105 void prepareForDetach(); | 103 void prepareForDetach(); |
| 106 | 104 |
| 107 void clear(); | 105 void clear(); |
| 108 | 106 |
| 109 bool isTransparent() const; | 107 bool isTransparent() const; |
| 110 void setTransparent(bool isTransparent); | 108 void setTransparent(bool isTransparent); |
| 111 | 109 |
| 112 Color baseBackgroundColor() const; | 110 Color baseBackgroundColor() const; |
| 113 void setBaseBackgroundColor(const Color&); | 111 void setBaseBackgroundColor(const Color&); |
| 114 void updateBackgroundRecursively(const Color&, bool); | 112 void updateBackgroundRecursively(const Color&, bool); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 bool m_layoutSizeFixedToFrameSize; | 252 bool m_layoutSizeFixedToFrameSize; |
| 255 | 253 |
| 256 Vector<IntRect> m_tickmarks; | 254 Vector<IntRect> m_tickmarks; |
| 257 }; | 255 }; |
| 258 | 256 |
| 259 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 257 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 260 | 258 |
| 261 } // namespace blink | 259 } // namespace blink |
| 262 | 260 |
| 263 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 261 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |