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

Side by Side Diff: third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h

Issue 2605543002: Replace adjustment of previous visual rects on scroll with normal paint invalidation (Closed)
Patch Set: Remove unused parameters 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 | « third_party/WebKit/Source/core/paint/PaintLayerTest.cpp ('k') | no next file » | 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) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void notifyCompositorAnimationAborted(int groupId) override{}; 83 void notifyCompositorAnimationAborted(int groupId) override{};
84 void layerForCompositedScrollingDidChange( 84 void layerForCompositedScrollingDidChange(
85 CompositorAnimationTimeline*) override{}; 85 CompositorAnimationTimeline*) override{};
86 86
87 virtual void contentAreaWillPaint() const {} 87 virtual void contentAreaWillPaint() const {}
88 virtual void mouseEnteredContentArea() const {} 88 virtual void mouseEnteredContentArea() const {}
89 virtual void mouseExitedContentArea() const {} 89 virtual void mouseExitedContentArea() const {}
90 virtual void mouseMovedInContentArea() const {} 90 virtual void mouseMovedInContentArea() const {}
91 virtual void mouseEnteredScrollbar(Scrollbar&) const {} 91 virtual void mouseEnteredScrollbar(Scrollbar&) const {}
92 virtual void mouseExitedScrollbar(Scrollbar&) const {} 92 virtual void mouseExitedScrollbar(Scrollbar&) const {}
93 virtual void updateAfterLayout() {}
94 virtual void contentsResized() const {} 93 virtual void contentsResized() const {}
95 virtual void contentAreaDidShow() const {} 94 virtual void contentAreaDidShow() const {}
96 virtual void contentAreaDidHide() const {} 95 virtual void contentAreaDidHide() const {}
97 96
98 virtual void finishCurrentScrollAnimations() {} 97 virtual void finishCurrentScrollAnimations() {}
99 98
100 virtual void didAddVerticalScrollbar(Scrollbar&) {} 99 virtual void didAddVerticalScrollbar(Scrollbar&) {}
101 virtual void willRemoveVerticalScrollbar(Scrollbar&) {} 100 virtual void willRemoveVerticalScrollbar(Scrollbar&) {}
102 virtual void didAddHorizontalScrollbar(Scrollbar&) {} 101 virtual void didAddHorizontalScrollbar(Scrollbar&) {}
103 virtual void willRemoveHorizontalScrollbar(Scrollbar&) {} 102 virtual void willRemoveHorizontalScrollbar(Scrollbar&) {}
(...skipping 10 matching lines...) Expand all
114 virtual void notifyOffsetChanged(); 113 virtual void notifyOffsetChanged();
115 114
116 Member<ScrollableArea> m_scrollableArea; 115 Member<ScrollableArea> m_scrollableArea;
117 116
118 ScrollOffset m_currentOffset; 117 ScrollOffset m_currentOffset;
119 }; 118 };
120 119
121 } // namespace blink 120 } // namespace blink
122 121
123 #endif // ScrollAnimatorBase_h 122 #endif // ScrollAnimatorBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698