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

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

Issue 2845583002: Remove FrameViewBase as base class of RemoteFrameView. (Closed)
Patch Set: fix scrollbar inactive Created 3 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) 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 GraphicsLayer* LayerForHorizontalScrollbar() const override; 253 GraphicsLayer* LayerForHorizontalScrollbar() const override;
254 GraphicsLayer* LayerForVerticalScrollbar() const override; 254 GraphicsLayer* LayerForVerticalScrollbar() const override;
255 GraphicsLayer* LayerForScrollCorner() const override; 255 GraphicsLayer* LayerForScrollCorner() const override;
256 256
257 bool UsesCompositedScrolling() const override; 257 bool UsesCompositedScrolling() const override;
258 bool ShouldScrollOnMainThread() const override; 258 bool ShouldScrollOnMainThread() const override;
259 bool ShouldUseIntegerScrollOffset() const override; 259 bool ShouldUseIntegerScrollOffset() const override;
260 bool IsActive() const override; 260 bool IsActive() const override;
261 bool IsScrollCornerVisible() const override; 261 bool IsScrollCornerVisible() const override;
262 IntRect ScrollCornerRect() const override; 262 IntRect ScrollCornerRect() const override;
263 IntRect ConvertFromScrollbarToContainingFrameViewBase( 263 IntRect ConvertFromScrollbarToContainingFrameView(
264 const Scrollbar&, 264 const Scrollbar&,
265 const IntRect&) const override; 265 const IntRect&) const override;
266 IntPoint ConvertFromScrollbarToContainingFrameViewBase( 266 IntPoint ConvertFromScrollbarToContainingFrameView(
267 const Scrollbar&, 267 const Scrollbar&,
268 const IntPoint&) const override; 268 const IntPoint&) const override;
269 IntPoint ConvertFromContainingFrameViewBaseToScrollbar( 269 IntPoint ConvertFromContainingFrameViewToScrollbar(
270 const Scrollbar&, 270 const Scrollbar&,
271 const IntPoint&) const override; 271 const IntPoint&) const override;
272 int ScrollSize(ScrollbarOrientation) const override; 272 int ScrollSize(ScrollbarOrientation) const override;
273 IntSize ScrollOffsetInt() const override; 273 IntSize ScrollOffsetInt() const override;
274 ScrollOffset GetScrollOffset() const override; 274 ScrollOffset GetScrollOffset() const override;
275 IntSize MinimumScrollOffsetInt() const override; 275 IntSize MinimumScrollOffsetInt() const override;
276 IntSize MaximumScrollOffsetInt() const override; 276 IntSize MaximumScrollOffsetInt() const override;
277 IntRect VisibleContentRect( 277 IntRect VisibleContentRect(
278 IncludeScrollbarsInRect = kExcludeScrollbars) const override; 278 IncludeScrollbarsInRect = kExcludeScrollbars) const override;
279 int VisibleHeight() const override; 279 int VisibleHeight() const override;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 601
602 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, 602 DEFINE_TYPE_CASTS(PaintLayerScrollableArea,
603 ScrollableArea, 603 ScrollableArea,
604 scrollableArea, 604 scrollableArea,
605 scrollableArea->IsPaintLayerScrollableArea(), 605 scrollableArea->IsPaintLayerScrollableArea(),
606 scrollableArea.IsPaintLayerScrollableArea()); 606 scrollableArea.IsPaintLayerScrollableArea());
607 607
608 } // namespace blink 608 } // namespace blink
609 609
610 #endif // LayerScrollableArea_h 610 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698