| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 AtomicString mediaType() const; | 122 AtomicString mediaType() const; |
| 123 void setMediaType(const AtomicString&); | 123 void setMediaType(const AtomicString&); |
| 124 | 124 |
| 125 void postLayoutTimerFired(Timer<FrameView>*); | 125 void postLayoutTimerFired(Timer<FrameView>*); |
| 126 | 126 |
| 127 void paint(GraphicsContext* context, const IntRect& rect) override; | 127 void paint(GraphicsContext* context, const IntRect& rect) override; |
| 128 | 128 |
| 129 void paintContents(GraphicsContext*, const IntRect& damageRect); | 129 void paintContents(GraphicsContext*, const IntRect& damageRect); |
| 130 bool isPainting() const; | 130 bool isPainting() const; |
| 131 bool hasEverPainted() const { return m_lastPaintTime; } | 131 bool hasEverPainted() const { return m_lastPaintTime; } |
| 132 void setNodeToDraw(Node*); | |
| 133 | 132 |
| 134 Color documentBackgroundColor() const; | 133 Color documentBackgroundColor() const; |
| 135 | 134 |
| 136 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } | 135 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } |
| 137 | 136 |
| 138 void updateLayoutAndStyleForPainting(); | 137 void updateLayoutAndStyleForPainting(); |
| 139 void updateLayoutAndStyleIfNeededRecursive(); | 138 void updateLayoutAndStyleIfNeededRecursive(); |
| 140 | 139 |
| 141 void forceLayout(bool allowSubtree = false); | 140 void forceLayout(bool allowSubtree = false); |
| 142 | 141 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 IntSize m_lastViewportSize; | 229 IntSize m_lastViewportSize; |
| 231 | 230 |
| 232 AtomicString m_mediaType; | 231 AtomicString m_mediaType; |
| 233 | 232 |
| 234 bool m_overflowStatusDirty; | 233 bool m_overflowStatusDirty; |
| 235 bool m_horizontalOverflow; | 234 bool m_horizontalOverflow; |
| 236 bool m_verticalOverflow; | 235 bool m_verticalOverflow; |
| 237 RenderObject* m_viewportRenderer; | 236 RenderObject* m_viewportRenderer; |
| 238 | 237 |
| 239 double m_lastPaintTime; | 238 double m_lastPaintTime; |
| 240 | |
| 241 RefPtr<Node> m_nodeToDraw; | |
| 242 bool m_isPainting; | 239 bool m_isPainting; |
| 243 | |
| 244 bool m_hasSoftwareFilters; | 240 bool m_hasSoftwareFilters; |
| 245 | 241 |
| 246 float m_visibleContentScaleFactor; | 242 float m_visibleContentScaleFactor; |
| 247 IntSize m_inputEventsOffsetForEmulation; | 243 IntSize m_inputEventsOffsetForEmulation; |
| 248 float m_inputEventsScaleFactorForEmulation; | 244 float m_inputEventsScaleFactorForEmulation; |
| 249 | 245 |
| 250 IntSize m_layoutSize; | 246 IntSize m_layoutSize; |
| 251 bool m_layoutSizeFixedToFrameSize; | 247 bool m_layoutSizeFixedToFrameSize; |
| 252 | 248 |
| 253 Vector<IntRect> m_tickmarks; | 249 Vector<IntRect> m_tickmarks; |
| 254 }; | 250 }; |
| 255 | 251 |
| 256 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 252 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 257 | 253 |
| 258 } // namespace blink | 254 } // namespace blink |
| 259 | 255 |
| 260 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 256 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |