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

Side by Side Diff: cc/input/scroll_elasticity_helper.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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 | « cc/input/page_scale_animation.h ('k') | cc/input/scroll_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_INPUT_SCROLL_ELASTICITY_HELPER_H_ 5 #ifndef CC_INPUT_SCROLL_ELASTICITY_HELPER_H_
6 #define CC_INPUT_SCROLL_ELASTICITY_HELPER_H_ 6 #define CC_INPUT_SCROLL_ELASTICITY_HELPER_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "ui/gfx/geometry/scroll_offset.h" 10 #include "ui/gfx/geometry/scroll_offset.h"
11 #include "ui/gfx/geometry/vector2d_f.h" 11 #include "ui/gfx/geometry/vector2d_f.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class LayerTreeHostImpl; 15 class LayerTreeHostImpl;
16 16
17 // ScrollElasticityHelper is based on 17 // ScrollElasticityHelper is based on
18 // WebKit/Source/platform/mac/ScrollElasticityController.h 18 // WebKit/Source/platform/mac/ScrollElasticityController.h
19 /* 19 /*
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void ScrollBy(const gfx::Vector2dF& delta) = 0; 64 virtual void ScrollBy(const gfx::Vector2dF& delta) = 0;
65 65
66 // Requests that another frame happens for the controller to continue ticking 66 // Requests that another frame happens for the controller to continue ticking
67 // animations. 67 // animations.
68 virtual void RequestOneBeginFrame() = 0; 68 virtual void RequestOneBeginFrame() = 0;
69 }; 69 };
70 70
71 } // namespace cc 71 } // namespace cc
72 72
73 #endif // CC_INPUT_SCROLL_ELASTICITY_HELPER_H_ 73 #endif // CC_INPUT_SCROLL_ELASTICITY_HELPER_H_
OLDNEW
« no previous file with comments | « cc/input/page_scale_animation.h ('k') | cc/input/scroll_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698