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/frame/FrameView.h

Issue 2826893003: Remove ScrollableArea::GetFrameViewBase and move ScheduleAnimation into subclasses. (Closed)
Patch Set: Remove UNREACHED Created 3 years, 8 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 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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 PaintLayer* Layer() const override; 444 PaintLayer* Layer() const override;
445 GraphicsLayer* LayerForScrolling() const override; 445 GraphicsLayer* LayerForScrolling() const override;
446 GraphicsLayer* LayerForHorizontalScrollbar() const override; 446 GraphicsLayer* LayerForHorizontalScrollbar() const override;
447 GraphicsLayer* LayerForVerticalScrollbar() const override; 447 GraphicsLayer* LayerForVerticalScrollbar() const override;
448 GraphicsLayer* LayerForScrollCorner() const override; 448 GraphicsLayer* LayerForScrollCorner() const override;
449 int ScrollSize(ScrollbarOrientation) const override; 449 int ScrollSize(ScrollbarOrientation) const override;
450 bool IsScrollCornerVisible() const override; 450 bool IsScrollCornerVisible() const override;
451 bool UpdateAfterCompositingChange() override; 451 bool UpdateAfterCompositingChange() override;
452 bool UserInputScrollable(ScrollbarOrientation) const override; 452 bool UserInputScrollable(ScrollbarOrientation) const override;
453 bool ShouldPlaceVerticalScrollbarOnLeft() const override; 453 bool ShouldPlaceVerticalScrollbarOnLeft() const override;
454 FrameViewBase* GetFrameViewBase() override; 454 bool ScheduleAnimation() override;
455 CompositorAnimationHost* GetCompositorAnimationHost() const override; 455 CompositorAnimationHost* GetCompositorAnimationHost() const override;
456 CompositorAnimationTimeline* GetCompositorAnimationTimeline() const override; 456 CompositorAnimationTimeline* GetCompositorAnimationTimeline() const override;
457 LayoutBox* GetLayoutBox() const override; 457 LayoutBox* GetLayoutBox() const override;
458 FloatQuad LocalToVisibleContentQuad(const FloatQuad&, 458 FloatQuad LocalToVisibleContentQuad(const FloatQuad&,
459 const LayoutObject*, 459 const LayoutObject*,
460 unsigned = 0) const final; 460 unsigned = 0) const final;
461 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final; 461 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final;
462 462
463 LayoutRect ScrollIntoView(const LayoutRect& rect_in_content, 463 LayoutRect ScrollIntoView(const LayoutRect& rect_in_content,
464 const ScrollAlignment& align_x, 464 const ScrollAlignment& align_x,
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 frameViewBase.IsFrameView()); 1271 frameViewBase.IsFrameView());
1272 DEFINE_TYPE_CASTS(FrameView, 1272 DEFINE_TYPE_CASTS(FrameView,
1273 ScrollableArea, 1273 ScrollableArea,
1274 scrollableArea, 1274 scrollableArea,
1275 scrollableArea->IsFrameView(), 1275 scrollableArea->IsFrameView(),
1276 scrollableArea.IsFrameView()); 1276 scrollableArea.IsFrameView());
1277 1277
1278 } // namespace blink 1278 } // namespace blink
1279 1279
1280 #endif // FrameView_h 1280 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698