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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 void flushAnyPendingPostLayoutTasks(); | 257 void flushAnyPendingPostLayoutTasks(); |
258 | 258 |
259 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; | 259 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; |
260 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE; | 260 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE; |
261 | 261 |
262 RenderBox* embeddedContentBox() const; | 262 RenderBox* embeddedContentBox() const; |
263 | 263 |
264 void setTracksRepaints(bool); | 264 void setTracksRepaints(bool); |
265 bool isTrackingRepaints() const { return m_isTrackingRepaints; } | 265 bool isTrackingRepaints() const { return m_isTrackingRepaints; } |
266 void resetTrackedRepaints(); | 266 void resetTrackedRepaints(); |
| 267 const Vector<IntRect>& trackedRepaintRects() const { return m_trackedRepaint
Rects; } |
267 String trackedRepaintRectsAsText() const; | 268 String trackedRepaintRectsAsText() const; |
268 | 269 |
269 typedef HashSet<ScrollableArea*> ScrollableAreaSet; | 270 typedef HashSet<ScrollableArea*> ScrollableAreaSet; |
270 // Returns whether the scrollable area has just been newly added. | 271 // Returns whether the scrollable area has just been newly added. |
271 bool addScrollableArea(ScrollableArea*); | 272 bool addScrollableArea(ScrollableArea*); |
272 // Returns whether the scrollable area has just been removed. | 273 // Returns whether the scrollable area has just been removed. |
273 bool removeScrollableArea(ScrollableArea*); | 274 bool removeScrollableArea(ScrollableArea*); |
274 bool containsScrollableArea(const ScrollableArea*) const; | 275 bool containsScrollableArea(const ScrollableArea*) const; |
275 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } | 276 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } |
276 | 277 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 m_view->setCanRepaintDuringPerformLayout(m_originalValue); | 565 m_view->setCanRepaintDuringPerformLayout(m_originalValue); |
565 } | 566 } |
566 private: | 567 private: |
567 FrameView* m_view; | 568 FrameView* m_view; |
568 bool m_originalValue; | 569 bool m_originalValue; |
569 }; | 570 }; |
570 | 571 |
571 } // namespace WebCore | 572 } // namespace WebCore |
572 | 573 |
573 #endif // FrameView_h | 574 #endif // FrameView_h |
OLD | NEW |