OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_EDGE_EFFECT_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_EDGE_EFFECT_H_ |
6 #define CONTENT_BROWSER_ANDROID_EDGE_EFFECT_H_ | 6 #define CONTENT_BROWSER_ANDROID_EDGE_EFFECT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/time.h" | 10 #include "base/time/time.h" |
11 #include "ui/gfx/size_f.h" | 11 #include "ui/gfx/size_f.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 class Layer; | 14 class Layer; |
15 } | 15 } |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 /* |EdgeEffect| mirrors its Android counterpart, EdgeEffect.java. | 19 /* |EdgeEffect| mirrors its Android counterpart, EdgeEffect.java. |
20 * The primary difference is ownership; the Android version manages render | 20 * The primary difference is ownership; the Android version manages render |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 float pull_distance_; | 80 float pull_distance_; |
81 | 81 |
82 float dpi_scale_; | 82 float dpi_scale_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(EdgeEffect); | 84 DISALLOW_COPY_AND_ASSIGN(EdgeEffect); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace content | 87 } // namespace content |
88 | 88 |
89 #endif // CONTENT_BROWSER_ANDROID_EDGE_EFFECT_H_ | 89 #endif // CONTENT_BROWSER_ANDROID_EDGE_EFFECT_H_ |
OLD | NEW |