Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: Source/WebCore/page/FrameView.h

Issue 10442005: Merge 116476 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « LayoutTests/scrollbars/scrollbar-owning-renderer-crash-expected.txt ('k') | Source/WebCore/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698