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

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

Issue 2725273002: Rename ScrollableArea fields and methods *Widget* to ...FrameViewBase... (Closed)
Patch Set: Rename ScrollableArea *Widget* to ...FrameViewBase... Created 3 years, 9 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 convertFromScrollbarToContainingWidget(const Scrollbar&, 263 IntRect convertFromScrollbarToContainingFrameViewBase(
264 const IntRect&) const override; 264 const Scrollbar&,
265 IntRect convertFromContainingWidgetToScrollbar(const Scrollbar&, 265 const IntRect&) const override;
266 const IntRect&) const override; 266 IntRect convertFromContainingFrameViewBaseToScrollbar(
267 IntPoint convertFromScrollbarToContainingWidget( 267 const Scrollbar&,
268 const IntRect&) const override;
269 IntPoint convertFromScrollbarToContainingFrameViewBase(
268 const Scrollbar&, 270 const Scrollbar&,
269 const IntPoint&) const override; 271 const IntPoint&) const override;
270 IntPoint convertFromContainingWidgetToScrollbar( 272 IntPoint convertFromContainingFrameViewBaseToScrollbar(
271 const Scrollbar&, 273 const Scrollbar&,
272 const IntPoint&) const override; 274 const IntPoint&) const override;
273 int scrollSize(ScrollbarOrientation) const override; 275 int scrollSize(ScrollbarOrientation) const override;
274 IntSize scrollOffsetInt() const override; 276 IntSize scrollOffsetInt() const override;
275 ScrollOffset getScrollOffset() const override; 277 ScrollOffset getScrollOffset() const override;
276 IntSize minimumScrollOffsetInt() const override; 278 IntSize minimumScrollOffsetInt() const override;
277 IntSize maximumScrollOffsetInt() const override; 279 IntSize maximumScrollOffsetInt() const override;
278 IntRect visibleContentRect( 280 IntRect visibleContentRect(
279 IncludeScrollbarsInRect = ExcludeScrollbars) const override; 281 IncludeScrollbarsInRect = ExcludeScrollbars) const override;
280 int visibleHeight() const override; 282 int visibleHeight() const override;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 const IntPoint& cachedOverlayScrollbarOffset() { 416 const IntPoint& cachedOverlayScrollbarOffset() {
415 return m_cachedOverlayScrollbarOffset; 417 return m_cachedOverlayScrollbarOffset;
416 } 418 }
417 void setCachedOverlayScrollbarOffset(const IntPoint& offset) { 419 void setCachedOverlayScrollbarOffset(const IntPoint& offset) {
418 m_cachedOverlayScrollbarOffset = offset; 420 m_cachedOverlayScrollbarOffset = offset;
419 } 421 }
420 422
421 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; 423 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const;
422 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; 424 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const;
423 425
424 FrameViewBase* getWidget() override; 426 FrameViewBase* getFrameViewBase() override;
425 bool shouldPerformScrollAnchoring() const override; 427 bool shouldPerformScrollAnchoring() const override;
426 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; } 428 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; }
427 bool isPaintLayerScrollableArea() const override { return true; } 429 bool isPaintLayerScrollableArea() const override { return true; }
428 430
429 LayoutBox* layoutBox() const override { return &box(); } 431 LayoutBox* layoutBox() const override { return &box(); }
430 432
431 FloatQuad localToVisibleContentQuad(const FloatQuad&, 433 FloatQuad localToVisibleContentQuad(const FloatQuad&,
432 const LayoutObject*, 434 const LayoutObject*,
433 unsigned = 0) const final; 435 unsigned = 0) const final;
434 436
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 602
601 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, 603 DEFINE_TYPE_CASTS(PaintLayerScrollableArea,
602 ScrollableArea, 604 ScrollableArea,
603 scrollableArea, 605 scrollableArea,
604 scrollableArea->isPaintLayerScrollableArea(), 606 scrollableArea->isPaintLayerScrollableArea(),
605 scrollableArea.isPaintLayerScrollableArea()); 607 scrollableArea.isPaintLayerScrollableArea());
606 608
607 } // namespace blink 609 } // namespace blink
608 610
609 #endif // LayerScrollableArea_h 611 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698