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

Unified Diff: ui/android/animation_utils.h

Issue 1419123002: android: move overscroll effects to ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix exports for component build Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/android/DEPS ('k') | ui/android/edge_effect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/animation_utils.h
diff --git a/content/browser/android/animation_utils.h b/ui/android/animation_utils.h
similarity index 74%
rename from content/browser/android/animation_utils.h
rename to ui/android/animation_utils.h
index e20d2eb9e5021843792d2f2b242b09a5f4a99ef4..747463119b9c87e6b6fdf793f51d2685116a8b6c 100644
--- a/content/browser/android/animation_utils.h
+++ b/ui/android/animation_utils.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_ANDROID_ANIMATION_UTILS_H_
-#define CONTENT_BROWSER_ANDROID_ANIMATION_UTILS_H_
+#ifndef UI_ANDROID_ANIMATION_UTILS_H_
+#define UI_ANDROID_ANIMATION_UTILS_H_
-namespace content {
+namespace ui {
template <typename T>
T Lerp(T a, T b, T t) {
@@ -28,6 +28,6 @@ T Damp(T input, T factor) {
return result;
}
-} // namespace content
+} // namespace ui
-#endif // CONTENT_BROWSER_ANDROID_ANIMATION_UTILS_H_
+#endif // UI_ANDROID_ANIMATION_UTILS_H_
« no previous file with comments | « ui/android/DEPS ('k') | ui/android/edge_effect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698