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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 279 |
280 virtual IntPoint currentMousePosition() const; | 280 virtual IntPoint currentMousePosition() const; |
281 | 281 |
282 // FIXME: Remove this method once plugin loading is decoupled from layout. | 282 // FIXME: Remove this method once plugin loading is decoupled from layout. |
283 void flushAnyPendingPostLayoutTasks(); | 283 void flushAnyPendingPostLayoutTasks(); |
284 | 284 |
285 virtual bool shouldSuspendScrollAnimations() const; | 285 virtual bool shouldSuspendScrollAnimations() const; |
286 | 286 |
287 void setAnimatorsAreActive(); | 287 void setAnimatorsAreActive(); |
288 | 288 |
| 289 void clearOwningRendererForCustomScrollbars(RenderBox*); |
| 290 |
289 protected: | 291 protected: |
290 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec
t& rectToScroll, const IntRect& clipRect); | 292 virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRec
t& rectToScroll, const IntRect& clipRect); |
291 virtual void scrollContentsSlowPath(const IntRect& updateRect); | 293 virtual void scrollContentsSlowPath(const IntRect& updateRect); |
292 | 294 |
293 virtual bool isVerticalDocument() const; | 295 virtual bool isVerticalDocument() const; |
294 virtual bool isFlippedDocument() const; | 296 virtual bool isFlippedDocument() const; |
295 | 297 |
296 private: | 298 private: |
297 FrameView(Frame*); | 299 FrameView(Frame*); |
298 | 300 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 m_visuallyNonEmptyPixelCount += size.width() * size.height(); | 476 m_visuallyNonEmptyPixelCount += size.width() * size.height(); |
475 // Use a threshold value to prevent very small amounts of visible content fr
om triggering didFirstVisuallyNonEmptyLayout | 477 // Use a threshold value to prevent very small amounts of visible content fr
om triggering didFirstVisuallyNonEmptyLayout |
476 static const unsigned visualPixelThreshold = 256 * 256; | 478 static const unsigned visualPixelThreshold = 256 * 256; |
477 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 479 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
478 setIsVisuallyNonEmpty(); | 480 setIsVisuallyNonEmpty(); |
479 } | 481 } |
480 | 482 |
481 } // namespace WebCore | 483 } // namespace WebCore |
482 | 484 |
483 #endif // FrameView_h | 485 #endif // FrameView_h |
OLD | NEW |