| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 // passed around the FrameView layout methods can be true while this returns | 169 // passed around the FrameView layout methods can be true while this returns |
| 170 // false. | 170 // false. |
| 171 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; } | 171 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; } |
| 172 | 172 |
| 173 // FIXME(sky): remove | 173 // FIXME(sky): remove |
| 174 IntPoint windowToContents(const IntPoint& windowPoint) const { return window
Point; } | 174 IntPoint windowToContents(const IntPoint& windowPoint) const { return window
Point; } |
| 175 IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return cont
entsPoint; } | 175 IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return cont
entsPoint; } |
| 176 IntRect windowToContents(const IntRect& windowRect) const { return windowRec
t; } | 176 IntRect windowToContents(const IntRect& windowRect) const { return windowRec
t; } |
| 177 IntRect contentsToWindow(const IntRect& contentsRect) const { return content
sRect; } | 177 IntRect contentsToWindow(const IntRect& contentsRect) const { return content
sRect; } |
| 178 | 178 |
| 179 bool scheduleAnimation(); | |
| 180 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons
t { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); } | 179 IntRect visibleContentRect(IncludeScrollbarsInRect = ExcludeScrollbars) cons
t { return IntRect(IntPoint(), expandedIntSize(frameRect().size())); } |
| 181 IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollba
rs) const { return frameRect().size(); } | 180 IntSize unscaledVisibleContentSize(IncludeScrollbarsInRect = ExcludeScrollba
rs) const { return frameRect().size(); } |
| 182 // FIXME(sky): Not clear what values these should return. This is just what
they happen to be | 181 // FIXME(sky): Not clear what values these should return. This is just what
they happen to be |
| 183 // returning today. | 182 // returning today. |
| 184 bool paintsEntireContents() const { return false; } | 183 bool paintsEntireContents() const { return false; } |
| 185 | 184 |
| 186 // For inspector reporting: | 185 // For inspector reporting: |
| 187 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total
Objects, bool& isPartial); | 186 void countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& total
Objects, bool& isPartial); |
| 188 | 187 |
| 189 protected: | 188 protected: |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 bool m_layoutSizeFixedToFrameSize; | 260 bool m_layoutSizeFixedToFrameSize; |
| 262 | 261 |
| 263 Vector<IntRect> m_tickmarks; | 262 Vector<IntRect> m_tickmarks; |
| 264 }; | 263 }; |
| 265 | 264 |
| 266 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 265 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 267 | 266 |
| 268 } // namespace blink | 267 } // namespace blink |
| 269 | 268 |
| 270 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 269 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |