OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_OVERSCROLL_GLOW_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_OVERSCROLL_GLOW_H_ |
6 #define CONTENT_BROWSER_ANDROID_OVERSCROLL_GLOW_H_ | 6 #define CONTENT_BROWSER_ANDROID_OVERSCROLL_GLOW_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "ui/gfx/geometry/size_f.h" | 11 #include "ui/gfx/size_f.h" |
12 #include "ui/gfx/geometry/vector2d_f.h" | 12 #include "ui/gfx/vector2d_f.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 class Layer; | 15 class Layer; |
16 } | 16 } |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 class EdgeEffectBase; | 20 class EdgeEffectBase; |
21 | 21 |
22 // Provides lazy, customized EdgeEffect creation. | 22 // Provides lazy, customized EdgeEffect creation. |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 bool initialized_; | 93 bool initialized_; |
94 | 94 |
95 scoped_refptr<cc::Layer> root_layer_; | 95 scoped_refptr<cc::Layer> root_layer_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(OverscrollGlow); | 97 DISALLOW_COPY_AND_ASSIGN(OverscrollGlow); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace content | 100 } // namespace content |
101 | 101 |
102 #endif // CONTENT_BROWSER_ANDROID_SCROLL_GLOW_H_ | 102 #endif // CONTENT_BROWSER_ANDROID_SCROLL_GLOW_H_ |
OLD | NEW |