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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 bool shouldScrollOnMainThread() const override; 435 bool shouldScrollOnMainThread() const override;
436 PaintLayer* layer() const override; 436 PaintLayer* layer() const override;
437 GraphicsLayer* layerForScrolling() const override; 437 GraphicsLayer* layerForScrolling() const override;
438 GraphicsLayer* layerForHorizontalScrollbar() const override; 438 GraphicsLayer* layerForHorizontalScrollbar() const override;
439 GraphicsLayer* layerForVerticalScrollbar() const override; 439 GraphicsLayer* layerForVerticalScrollbar() const override;
440 GraphicsLayer* layerForScrollCorner() const override; 440 GraphicsLayer* layerForScrollCorner() const override;
441 int scrollSize(ScrollbarOrientation) const override; 441 int scrollSize(ScrollbarOrientation) const override;
442 bool isScrollCornerVisible() const override; 442 bool isScrollCornerVisible() const override;
443 bool userInputScrollable(ScrollbarOrientation) const override; 443 bool userInputScrollable(ScrollbarOrientation) const override;
444 bool shouldPlaceVerticalScrollbarOnLeft() const override; 444 bool shouldPlaceVerticalScrollbarOnLeft() const override;
445 FrameViewBase* getWidget() override; 445 FrameViewBase* getFrameViewBase() override;
446 CompositorAnimationHost* compositorAnimationHost() const override; 446 CompositorAnimationHost* compositorAnimationHost() const override;
447 CompositorAnimationTimeline* compositorAnimationTimeline() const override; 447 CompositorAnimationTimeline* compositorAnimationTimeline() const override;
448 LayoutBox* layoutBox() const override; 448 LayoutBox* layoutBox() const override;
449 FloatQuad localToVisibleContentQuad(const FloatQuad&, 449 FloatQuad localToVisibleContentQuad(const FloatQuad&,
450 const LayoutObject*, 450 const LayoutObject*,
451 unsigned = 0) const final; 451 unsigned = 0) const final;
452 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; 452 RefPtr<WebTaskRunner> getTimerTaskRunner() const final;
453 453
454 LayoutRect scrollIntoView(const LayoutRect& rectInContent, 454 LayoutRect scrollIntoView(const LayoutRect& rectInContent,
455 const ScrollAlignment& alignX, 455 const ScrollAlignment& alignX,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 // FrameViewBase overrides to ensure that our children's visibility status is 639 // FrameViewBase overrides to ensure that our children's visibility status is
640 // kept up to date when we get shown and hidden. 640 // kept up to date when we get shown and hidden.
641 void show() override; 641 void show() override;
642 void hide() override; 642 void hide() override;
643 void setParentVisible(bool) override; 643 void setParentVisible(bool) override;
644 644
645 bool isPointInScrollbarCorner(const IntPoint&); 645 bool isPointInScrollbarCorner(const IntPoint&);
646 bool scrollbarCornerPresent() const; 646 bool scrollbarCornerPresent() const;
647 IntRect scrollCornerRect() const override; 647 IntRect scrollCornerRect() const override;
648 648
649 IntRect convertFromScrollbarToContainingWidget(const Scrollbar&, 649 IntRect convertFromScrollbarToContainingFrameViewBase(
650 const IntRect&) const override; 650 const Scrollbar&,
651 IntRect convertFromContainingWidgetToScrollbar(const Scrollbar&, 651 const IntRect&) const override;
652 const IntRect&) const override; 652 IntRect convertFromContainingFrameViewBaseToScrollbar(
653 IntPoint convertFromScrollbarToContainingWidget( 653 const Scrollbar&,
654 const IntRect&) const override;
655 IntPoint convertFromScrollbarToContainingFrameViewBase(
654 const Scrollbar&, 656 const Scrollbar&,
655 const IntPoint&) const override; 657 const IntPoint&) const override;
656 IntPoint convertFromContainingWidgetToScrollbar( 658 IntPoint convertFromContainingFrameViewBaseToScrollbar(
657 const Scrollbar&, 659 const Scrollbar&,
658 const IntPoint&) const override; 660 const IntPoint&) const override;
659 661
660 bool isFrameView() const override { return true; } 662 bool isFrameView() const override { return true; }
661 663
662 DECLARE_VIRTUAL_TRACE(); 664 DECLARE_VIRTUAL_TRACE();
663 void notifyPageThatContentAreaWillPaint() const; 665 void notifyPageThatContentAreaWillPaint() const;
664 FrameView* parentFrameView() const; 666 FrameView* parentFrameView() const;
665 667
666 // Returns the scrollable area for the frame. For the root frame, this will 668 // Returns the scrollable area for the frame. For the root frame, this will
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 frameViewBase.isFrameView()); 1262 frameViewBase.isFrameView());
1261 DEFINE_TYPE_CASTS(FrameView, 1263 DEFINE_TYPE_CASTS(FrameView,
1262 ScrollableArea, 1264 ScrollableArea,
1263 scrollableArea, 1265 scrollableArea,
1264 scrollableArea->isFrameView(), 1266 scrollableArea->isFrameView(),
1265 scrollableArea.isFrameView()); 1267 scrollableArea.isFrameView());
1266 1268
1267 } // namespace blink 1269 } // namespace blink
1268 1270
1269 #endif // FrameView_h 1271 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698