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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 311 |
312 // FIXME: Remove this method once plugin loading is decoupled from layout. | 312 // FIXME: Remove this method once plugin loading is decoupled from layout. |
313 void flushAnyPendingPostLayoutTasks(); | 313 void flushAnyPendingPostLayoutTasks(); |
314 | 314 |
315 virtual bool shouldSuspendScrollAnimations() const; | 315 virtual bool shouldSuspendScrollAnimations() const; |
316 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate); | 316 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate); |
317 | 317 |
318 void setAnimatorsAreActive(); | 318 void setAnimatorsAreActive(); |
319 | 319 |
320 RenderBox* embeddedContentBox() const; | 320 RenderBox* embeddedContentBox() const; |
321 | |
322 void clearOwningRendererForCustomScrollbars(RenderBox*); | |
323 | 321 |
324 void setTracksRepaints(bool); | 322 void setTracksRepaints(bool); |
325 bool isTrackingRepaints() const { return m_isTrackingRepaints; } | 323 bool isTrackingRepaints() const { return m_isTrackingRepaints; } |
326 void resetTrackedRepaints() { m_trackedRepaintRects.clear(); } | 324 void resetTrackedRepaints() { m_trackedRepaintRects.clear(); } |
327 const Vector<IntRect>& trackedRepaintRects() const { return m_trackedRepaint
Rects; } | 325 const Vector<IntRect>& trackedRepaintRects() const { return m_trackedRepaint
Rects; } |
328 | 326 |
329 typedef HashSet<ScrollableArea*> ScrollableAreaSet; | 327 typedef HashSet<ScrollableArea*> ScrollableAreaSet; |
330 void addScrollableArea(ScrollableArea*); | 328 void addScrollableArea(ScrollableArea*); |
331 void removeScrollableArea(ScrollableArea*); | 329 void removeScrollableArea(ScrollableArea*); |
332 bool containsScrollableArea(ScrollableArea*) const; | 330 bool containsScrollableArea(ScrollableArea*) const; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 } | 558 } |
561 | 559 |
562 inline LayoutUnit FrameView::mapFromCSSToLayoutUnits(int value) | 560 inline LayoutUnit FrameView::mapFromCSSToLayoutUnits(int value) |
563 { | 561 { |
564 return value * m_frame->pageZoomFactor() * m_frame->frameScaleFactor(); | 562 return value * m_frame->pageZoomFactor() * m_frame->frameScaleFactor(); |
565 } | 563 } |
566 | 564 |
567 } // namespace WebCore | 565 } // namespace WebCore |
568 | 566 |
569 #endif // FrameView_h | 567 #endif // FrameView_h |
OLD | NEW |