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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h

Issue 2501493002: Revert "MainFrame scrollbars should work with RFV instead of FV" (Closed)
Patch Set: Created 4 years, 1 month 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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 bool scrollbarsCanBeActive() const override; 286 bool scrollbarsCanBeActive() const override;
287 void scrollbarVisibilityChanged() override; 287 void scrollbarVisibilityChanged() override;
288 IntRect scrollableAreaBoundingBox() const override; 288 IntRect scrollableAreaBoundingBox() const override;
289 void registerForAnimation() override; 289 void registerForAnimation() override;
290 void deregisterForAnimation() override; 290 void deregisterForAnimation() override;
291 bool userInputScrollable(ScrollbarOrientation) const override; 291 bool userInputScrollable(ScrollbarOrientation) const override;
292 bool shouldPlaceVerticalScrollbarOnLeft() const override; 292 bool shouldPlaceVerticalScrollbarOnLeft() const override;
293 int pageStep(ScrollbarOrientation) const override; 293 int pageStep(ScrollbarOrientation) const override;
294 ScrollBehavior scrollBehaviorStyle() const override; 294 ScrollBehavior scrollBehaviorStyle() const override;
295 CompositorAnimationTimeline* compositorAnimationTimeline() const override; 295 CompositorAnimationTimeline* compositorAnimationTimeline() const override;
296 void getTickmarks(Vector<IntRect>& rects) const override;
297 296
298 void visibleSizeChanged(); 297 void visibleSizeChanged();
299 298
300 // FIXME: We shouldn't allow access to m_overflowRect outside this class. 299 // FIXME: We shouldn't allow access to m_overflowRect outside this class.
301 LayoutRect overflowRect() const { return m_overflowRect; } 300 LayoutRect overflowRect() const { return m_overflowRect; }
302 301
303 void scrollToAbsolutePosition( 302 void scrollToAbsolutePosition(
304 const FloatPoint& position, 303 const FloatPoint& position,
305 ScrollBehavior scrollBehavior = ScrollBehaviorInstant, 304 ScrollBehavior scrollBehavior = ScrollBehaviorInstant,
306 ScrollType scrollType = ProgrammaticScroll) { 305 ScrollType scrollType = ProgrammaticScroll) {
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 582
584 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, 583 DEFINE_TYPE_CASTS(PaintLayerScrollableArea,
585 ScrollableArea, 584 ScrollableArea,
586 scrollableArea, 585 scrollableArea,
587 scrollableArea->isPaintLayerScrollableArea(), 586 scrollableArea->isPaintLayerScrollableArea(),
588 scrollableArea.isPaintLayerScrollableArea()); 587 scrollableArea.isPaintLayerScrollableArea());
589 588
590 } // namespace blink 589 } // namespace blink
591 590
592 #endif // LayerScrollableArea_h 591 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698