| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 float inputEventsScaleFactor() const; | 131 float inputEventsScaleFactor() const; |
| 132 IntSize inputEventsOffsetForEmulation() const; | 132 IntSize inputEventsOffsetForEmulation() const; |
| 133 void setInputEventsTransformForEmulation(const IntSize&, float); | 133 void setInputEventsTransformForEmulation(const IntSize&, float); |
| 134 | 134 |
| 135 AtomicString mediaType() const; | 135 AtomicString mediaType() const; |
| 136 void setMediaType(const AtomicString&); | 136 void setMediaType(const AtomicString&); |
| 137 | 137 |
| 138 void postLayoutTimerFired(Timer<FrameView>*); | 138 void postLayoutTimerFired(Timer<FrameView>*); |
| 139 | 139 |
| 140 #if !ENABLE(COMPOSITOR) |
| 141 void paint(GraphicsContext* context, const IntRect& rect) override; |
| 142 #endif |
| 143 |
| 140 void paintContents(GraphicsContext*, const IntRect& damageRect); | 144 void paintContents(GraphicsContext*, const IntRect& damageRect); |
| 141 void setPaintBehavior(PaintBehavior); | 145 void setPaintBehavior(PaintBehavior); |
| 142 PaintBehavior paintBehavior() const; | 146 PaintBehavior paintBehavior() const; |
| 143 bool isPainting() const; | 147 bool isPainting() const; |
| 144 bool hasEverPainted() const { return m_lastPaintTime; } | 148 bool hasEverPainted() const { return m_lastPaintTime; } |
| 145 void setNodeToDraw(Node*); | 149 void setNodeToDraw(Node*); |
| 146 | 150 |
| 147 Color documentBackgroundColor() const; | 151 Color documentBackgroundColor() const; |
| 148 | 152 |
| 149 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } | 153 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); | 332 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); |
| 329 } | 333 } |
| 330 private: | 334 private: |
| 331 FrameView* m_view; | 335 FrameView* m_view; |
| 332 bool m_originalValue; | 336 bool m_originalValue; |
| 333 }; | 337 }; |
| 334 | 338 |
| 335 } // namespace blink | 339 } // namespace blink |
| 336 | 340 |
| 337 #endif // FrameView_h | 341 #endif // FrameView_h |
| OLD | NEW |