| 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 21 matching lines...) Expand all Loading... |
| 32 #include "sky/engine/platform/geometry/LayoutRect.h" | 32 #include "sky/engine/platform/geometry/LayoutRect.h" |
| 33 #include "sky/engine/platform/graphics/Color.h" | 33 #include "sky/engine/platform/graphics/Color.h" |
| 34 #include "sky/engine/wtf/Forward.h" | 34 #include "sky/engine/wtf/Forward.h" |
| 35 #include "sky/engine/wtf/HashSet.h" | 35 #include "sky/engine/wtf/HashSet.h" |
| 36 #include "sky/engine/wtf/OwnPtr.h" | 36 #include "sky/engine/wtf/OwnPtr.h" |
| 37 #include "sky/engine/wtf/text/WTFString.h" | 37 #include "sky/engine/wtf/text/WTFString.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class DocumentLifecycle; | 41 class DocumentLifecycle; |
| 42 class Cursor; | |
| 43 class Element; | 42 class Element; |
| 44 class FloatSize; | 43 class FloatSize; |
| 45 class LocalFrame; | 44 class LocalFrame; |
| 46 class KURL; | 45 class KURL; |
| 47 class Node; | 46 class Node; |
| 48 class Page; | 47 class Page; |
| 49 class RenderBox; | 48 class RenderBox; |
| 50 class RenderObject; | 49 class RenderObject; |
| 51 class RenderStyle; | 50 class RenderStyle; |
| 52 class RenderView; | 51 class RenderView; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 void updateLayoutAndStyleIfNeededRecursive(); | 133 void updateLayoutAndStyleIfNeededRecursive(); |
| 135 | 134 |
| 136 void forceLayout(bool allowSubtree = false); | 135 void forceLayout(bool allowSubtree = false); |
| 137 | 136 |
| 138 // Methods to convert points and rects between the coordinate space of the r
enderer, and this view. | 137 // Methods to convert points and rects between the coordinate space of the r
enderer, and this view. |
| 139 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; | 138 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; |
| 140 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; | 139 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; |
| 141 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const; | 140 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const; |
| 142 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const; | 141 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const; |
| 143 | 142 |
| 144 bool shouldSetCursor() const; | |
| 145 | |
| 146 void setCursor(const Cursor&); | |
| 147 | |
| 148 // FIXME: Remove this method once plugin loading is decoupled from layout. | 143 // FIXME: Remove this method once plugin loading is decoupled from layout. |
| 149 void flushAnyPendingPostLayoutTasks(); | 144 void flushAnyPendingPostLayoutTasks(); |
| 150 | 145 |
| 151 bool isActive() const; | 146 bool isActive() const; |
| 152 | 147 |
| 153 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter | 148 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter |
| 154 // passed around the FrameView layout methods can be true while this returns | 149 // passed around the FrameView layout methods can be true while this returns |
| 155 // false. | 150 // false. |
| 156 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; } | 151 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; } |
| 157 | 152 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 bool m_layoutSizeFixedToFrameSize; | 235 bool m_layoutSizeFixedToFrameSize; |
| 241 | 236 |
| 242 Vector<IntRect> m_tickmarks; | 237 Vector<IntRect> m_tickmarks; |
| 243 }; | 238 }; |
| 244 | 239 |
| 245 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 240 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 246 | 241 |
| 247 } // namespace blink | 242 } // namespace blink |
| 248 | 243 |
| 249 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 244 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |