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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 void flushAnyPendingPostLayoutTasks(); | 254 void flushAnyPendingPostLayoutTasks(); |
255 | 255 |
256 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; | 256 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; |
257 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE; | 257 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE; |
258 | 258 |
259 RenderBox* embeddedContentBox() const; | 259 RenderBox* embeddedContentBox() const; |
260 | 260 |
261 void setTracksRepaints(bool); | 261 void setTracksRepaints(bool); |
262 bool isTrackingRepaints() const { return m_isTrackingRepaints; } | 262 bool isTrackingRepaints() const { return m_isTrackingRepaints; } |
263 void resetTrackedRepaints(); | 263 void resetTrackedRepaints(); |
| 264 const Vector<IntRect>& trackedRepaintRects() const { return m_trackedRepaint
Rects; } |
264 String trackedRepaintRectsAsText() const; | 265 String trackedRepaintRectsAsText() const; |
265 | 266 |
266 typedef HashSet<ScrollableArea*> ScrollableAreaSet; | 267 typedef HashSet<ScrollableArea*> ScrollableAreaSet; |
267 // Returns whether the scrollable area has just been newly added. | 268 // Returns whether the scrollable area has just been newly added. |
268 bool addScrollableArea(ScrollableArea*); | 269 bool addScrollableArea(ScrollableArea*); |
269 // Returns whether the scrollable area has just been removed. | 270 // Returns whether the scrollable area has just been removed. |
270 bool removeScrollableArea(ScrollableArea*); | 271 bool removeScrollableArea(ScrollableArea*); |
271 bool containsScrollableArea(const ScrollableArea*) const; | 272 bool containsScrollableArea(const ScrollableArea*) const; |
272 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } | 273 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } |
273 | 274 |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 m_view->setCanRepaintDuringPerformLayout(m_originalValue); | 548 m_view->setCanRepaintDuringPerformLayout(m_originalValue); |
548 } | 549 } |
549 private: | 550 private: |
550 FrameView* m_view; | 551 FrameView* m_view; |
551 bool m_originalValue; | 552 bool m_originalValue; |
552 }; | 553 }; |
553 | 554 |
554 } // namespace WebCore | 555 } // namespace WebCore |
555 | 556 |
556 #endif // FrameView_h | 557 #endif // FrameView_h |
OLD | NEW |