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

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

Issue 2812523003: Update layer position on scroll origin change (Closed)
Patch Set: Add Test 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
« 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 bool ScrollAnimatorEnabled() const override; 429 bool ScrollAnimatorEnabled() const override;
430 bool UsesCompositedScrolling() const override; 430 bool UsesCompositedScrolling() const override;
431 bool ShouldScrollOnMainThread() const override; 431 bool ShouldScrollOnMainThread() const override;
432 PaintLayer* Layer() const override; 432 PaintLayer* Layer() const override;
433 GraphicsLayer* LayerForScrolling() const override; 433 GraphicsLayer* LayerForScrolling() const override;
434 GraphicsLayer* LayerForHorizontalScrollbar() const override; 434 GraphicsLayer* LayerForHorizontalScrollbar() const override;
435 GraphicsLayer* LayerForVerticalScrollbar() const override; 435 GraphicsLayer* LayerForVerticalScrollbar() const override;
436 GraphicsLayer* LayerForScrollCorner() const override; 436 GraphicsLayer* LayerForScrollCorner() const override;
437 int ScrollSize(ScrollbarOrientation) const override; 437 int ScrollSize(ScrollbarOrientation) const override;
438 bool IsScrollCornerVisible() const override; 438 bool IsScrollCornerVisible() const override;
439 bool UpdateAfterCompositingChange() override;
439 bool UserInputScrollable(ScrollbarOrientation) const override; 440 bool UserInputScrollable(ScrollbarOrientation) const override;
440 bool ShouldPlaceVerticalScrollbarOnLeft() const override; 441 bool ShouldPlaceVerticalScrollbarOnLeft() const override;
441 FrameViewBase* GetFrameViewBase() override; 442 FrameViewBase* GetFrameViewBase() override;
442 CompositorAnimationHost* GetCompositorAnimationHost() const override; 443 CompositorAnimationHost* GetCompositorAnimationHost() const override;
443 CompositorAnimationTimeline* GetCompositorAnimationTimeline() const override; 444 CompositorAnimationTimeline* GetCompositorAnimationTimeline() const override;
444 LayoutBox* GetLayoutBox() const override; 445 LayoutBox* GetLayoutBox() const override;
445 FloatQuad LocalToVisibleContentQuad(const FloatQuad&, 446 FloatQuad LocalToVisibleContentQuad(const FloatQuad&,
446 const LayoutObject*, 447 const LayoutObject*,
447 unsigned = 0) const final; 448 unsigned = 0) const final;
448 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final; 449 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final;
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 frameViewBase.IsFrameView()); 1267 frameViewBase.IsFrameView());
1267 DEFINE_TYPE_CASTS(FrameView, 1268 DEFINE_TYPE_CASTS(FrameView,
1268 ScrollableArea, 1269 ScrollableArea,
1269 scrollableArea, 1270 scrollableArea,
1270 scrollableArea->IsFrameView(), 1271 scrollableArea->IsFrameView(),
1271 scrollableArea.IsFrameView()); 1272 scrollableArea.IsFrameView());
1272 1273
1273 } // namespace blink 1274 } // namespace blink
1274 1275
1275 #endif // FrameView_h 1276 #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