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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2559273003: Blink Compositor Animation: Introduce CompositorAnimationHost correctly. (Closed)
Patch Set: Allocate on stack in unit tests. Created 4 years 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 PaintLayer* layer() const override; 434 PaintLayer* layer() const override;
435 GraphicsLayer* layerForScrolling() const override; 435 GraphicsLayer* layerForScrolling() const override;
436 GraphicsLayer* layerForHorizontalScrollbar() const override; 436 GraphicsLayer* layerForHorizontalScrollbar() const override;
437 GraphicsLayer* layerForVerticalScrollbar() const override; 437 GraphicsLayer* layerForVerticalScrollbar() const override;
438 GraphicsLayer* layerForScrollCorner() const override; 438 GraphicsLayer* layerForScrollCorner() const override;
439 int scrollSize(ScrollbarOrientation) const override; 439 int scrollSize(ScrollbarOrientation) const override;
440 bool isScrollCornerVisible() const override; 440 bool isScrollCornerVisible() const override;
441 bool userInputScrollable(ScrollbarOrientation) const override; 441 bool userInputScrollable(ScrollbarOrientation) const override;
442 bool shouldPlaceVerticalScrollbarOnLeft() const override; 442 bool shouldPlaceVerticalScrollbarOnLeft() const override;
443 Widget* getWidget() override; 443 Widget* getWidget() override;
444 CompositorAnimationHost* compositorAnimationHost() const override;
444 CompositorAnimationTimeline* compositorAnimationTimeline() const override; 445 CompositorAnimationTimeline* compositorAnimationTimeline() const override;
445 LayoutBox* layoutBox() const override; 446 LayoutBox* layoutBox() const override;
446 FloatQuad localToVisibleContentQuad(const FloatQuad&, 447 FloatQuad localToVisibleContentQuad(const FloatQuad&,
447 const LayoutObject*, 448 const LayoutObject*,
448 unsigned = 0) const final; 449 unsigned = 0) const final;
449 450
450 LayoutRect scrollIntoView(const LayoutRect& rectInContent, 451 LayoutRect scrollIntoView(const LayoutRect& rectInContent,
451 const ScrollAlignment& alignX, 452 const ScrollAlignment& alignX,
452 const ScrollAlignment& alignY, 453 const ScrollAlignment& alignY,
453 ScrollType = ProgrammaticScroll) override; 454 ScrollType = ProgrammaticScroll) override;
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 widget.isFrameView()); 1185 widget.isFrameView());
1185 DEFINE_TYPE_CASTS(FrameView, 1186 DEFINE_TYPE_CASTS(FrameView,
1186 ScrollableArea, 1187 ScrollableArea,
1187 scrollableArea, 1188 scrollableArea,
1188 scrollableArea->isFrameView(), 1189 scrollableArea->isFrameView(),
1189 scrollableArea.isFrameView()); 1190 scrollableArea.isFrameView());
1190 1191
1191 } // namespace blink 1192 } // namespace blink
1192 1193
1193 #endif // FrameView_h 1194 #endif // FrameView_h
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698