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

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

Issue 2644243002: Move ScrollableArea timer to TaskRunnerTimer. (Closed)
Patch Set: use derived class in unique_ptr Created 3 years, 11 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 bool isScrollCornerVisible() const override; 436 bool isScrollCornerVisible() const override;
437 bool userInputScrollable(ScrollbarOrientation) const override; 437 bool userInputScrollable(ScrollbarOrientation) const override;
438 bool shouldPlaceVerticalScrollbarOnLeft() const override; 438 bool shouldPlaceVerticalScrollbarOnLeft() const override;
439 Widget* getWidget() override; 439 Widget* getWidget() override;
440 CompositorAnimationHost* compositorAnimationHost() const override; 440 CompositorAnimationHost* compositorAnimationHost() const override;
441 CompositorAnimationTimeline* compositorAnimationTimeline() const override; 441 CompositorAnimationTimeline* compositorAnimationTimeline() const override;
442 LayoutBox* layoutBox() const override; 442 LayoutBox* layoutBox() const override;
443 FloatQuad localToVisibleContentQuad(const FloatQuad&, 443 FloatQuad localToVisibleContentQuad(const FloatQuad&,
444 const LayoutObject*, 444 const LayoutObject*,
445 unsigned = 0) const final; 445 unsigned = 0) const final;
446 RefPtr<WebTaskRunner> getTimerTaskRunner() const final;
446 447
447 LayoutRect scrollIntoView(const LayoutRect& rectInContent, 448 LayoutRect scrollIntoView(const LayoutRect& rectInContent,
448 const ScrollAlignment& alignX, 449 const ScrollAlignment& alignX,
449 const ScrollAlignment& alignY, 450 const ScrollAlignment& alignY,
450 ScrollType = ProgrammaticScroll) override; 451 ScrollType = ProgrammaticScroll) override;
451 452
452 // The window that hosts the FrameView. The FrameView will communicate scrolls 453 // The window that hosts the FrameView. The FrameView will communicate scrolls
453 // and repaints to the host window in the window's coordinate space. 454 // and repaints to the host window in the window's coordinate space.
454 HostWindow* getHostWindow() const; 455 HostWindow* getHostWindow() const;
455 456
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 widget.isFrameView()); 1224 widget.isFrameView());
1224 DEFINE_TYPE_CASTS(FrameView, 1225 DEFINE_TYPE_CASTS(FrameView,
1225 ScrollableArea, 1226 ScrollableArea,
1226 scrollableArea, 1227 scrollableArea,
1227 scrollableArea->isFrameView(), 1228 scrollableArea->isFrameView(),
1228 scrollableArea.isFrameView()); 1229 scrollableArea.isFrameView());
1229 1230
1230 } // namespace blink 1231 } // namespace blink
1231 1232
1232 #endif // FrameView_h 1233 #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