| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 void setInputEventsTransformForEmulation(const IntSize&, float); | 131 void setInputEventsTransformForEmulation(const IntSize&, float); |
| 132 | 132 |
| 133 AtomicString mediaType() const; | 133 AtomicString mediaType() const; |
| 134 void setMediaType(const AtomicString&); | 134 void setMediaType(const AtomicString&); |
| 135 | 135 |
| 136 void postLayoutTimerFired(Timer<FrameView>*); | 136 void postLayoutTimerFired(Timer<FrameView>*); |
| 137 | 137 |
| 138 void paint(GraphicsContext* context, const IntRect& rect) override; | 138 void paint(GraphicsContext* context, const IntRect& rect) override; |
| 139 | 139 |
| 140 void paintContents(GraphicsContext*, const IntRect& damageRect); | 140 void paintContents(GraphicsContext*, const IntRect& damageRect); |
| 141 void setPaintBehavior(PaintBehavior); | |
| 142 PaintBehavior paintBehavior() const; | |
| 143 bool isPainting() const; | 141 bool isPainting() const; |
| 144 bool hasEverPainted() const { return m_lastPaintTime; } | 142 bool hasEverPainted() const { return m_lastPaintTime; } |
| 145 void setNodeToDraw(Node*); | 143 void setNodeToDraw(Node*); |
| 146 | 144 |
| 147 Color documentBackgroundColor() const; | 145 Color documentBackgroundColor() const; |
| 148 | 146 |
| 149 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } | 147 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } |
| 150 | 148 |
| 151 void updateLayoutAndStyleForPainting(); | 149 void updateLayoutAndStyleForPainting(); |
| 152 void updateLayoutAndStyleIfNeededRecursive(); | 150 void updateLayoutAndStyleIfNeededRecursive(); |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 bool m_horizontalOverflow; | 275 bool m_horizontalOverflow; |
| 278 bool m_verticalOverflow; | 276 bool m_verticalOverflow; |
| 279 RenderObject* m_viewportRenderer; | 277 RenderObject* m_viewportRenderer; |
| 280 | 278 |
| 281 double m_lastPaintTime; | 279 double m_lastPaintTime; |
| 282 | 280 |
| 283 bool m_isTrackingPaintInvalidations; // Used for testing. | 281 bool m_isTrackingPaintInvalidations; // Used for testing. |
| 284 Vector<IntRect> m_trackedPaintInvalidationRects; | 282 Vector<IntRect> m_trackedPaintInvalidationRects; |
| 285 | 283 |
| 286 RefPtr<Node> m_nodeToDraw; | 284 RefPtr<Node> m_nodeToDraw; |
| 287 PaintBehavior m_paintBehavior; | |
| 288 bool m_isPainting; | 285 bool m_isPainting; |
| 289 | 286 |
| 290 OwnPtr<ScrollableAreaSet> m_scrollableAreas; | 287 OwnPtr<ScrollableAreaSet> m_scrollableAreas; |
| 291 | 288 |
| 292 bool m_hasSoftwareFilters; | 289 bool m_hasSoftwareFilters; |
| 293 | 290 |
| 294 float m_visibleContentScaleFactor; | 291 float m_visibleContentScaleFactor; |
| 295 IntSize m_inputEventsOffsetForEmulation; | 292 IntSize m_inputEventsOffsetForEmulation; |
| 296 float m_inputEventsScaleFactorForEmulation; | 293 float m_inputEventsScaleFactorForEmulation; |
| 297 | 294 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 323 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); | 320 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); |
| 324 } | 321 } |
| 325 private: | 322 private: |
| 326 FrameView* m_view; | 323 FrameView* m_view; |
| 327 bool m_originalValue; | 324 bool m_originalValue; |
| 328 }; | 325 }; |
| 329 | 326 |
| 330 } // namespace blink | 327 } // namespace blink |
| 331 | 328 |
| 332 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 329 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |