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

Unified Diff: content/browser/android/overscroll_controller_android.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 | « content/browser/android/edge_effect_l.cc ('k') | content/browser/android/overscroll_controller_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/overscroll_controller_android.h
diff --git a/content/browser/android/overscroll_controller_android.h b/content/browser/android/overscroll_controller_android.h
index 852f074a40f94ee491b7abcd6b3db9e64f079f1e..c5ed8548b7d5b29bd27ff5f3a628f6d822364095 100644
--- a/content/browser/android/overscroll_controller_android.h
+++ b/content/browser/android/overscroll_controller_android.h
@@ -6,9 +6,9 @@
#define CONTENT_BROWSER_ANDROID_OVERSCROLL_CONTROLLER_ANDROID_H_
#include "base/time/time.h"
-#include "content/browser/android/overscroll_glow.h"
-#include "content/browser/android/overscroll_refresh.h"
#include "content/common/input/input_event_ack_state.h"
+#include "ui/android/overscroll_glow.h"
+#include "ui/android/overscroll_refresh.h"
#include "ui/gfx/geometry/vector2d_f.h"
namespace blink {
@@ -32,7 +32,7 @@ struct DidOverscrollParams;
// Glue class for handling all inputs into Android-specific overscroll effects,
// both the passive overscroll glow and the active overscroll pull-to-refresh.
// Note that all input coordinates (both for events and overscroll) are in DIPs.
-class OverscrollControllerAndroid : public OverscrollGlowClient {
+class OverscrollControllerAndroid : public ui::OverscrollGlowClient {
public:
explicit OverscrollControllerAndroid(ContentViewCoreImpl* content_view_core);
~OverscrollControllerAndroid() override;
@@ -62,7 +62,7 @@ class OverscrollControllerAndroid : public OverscrollGlowClient {
private:
// OverscrollGlowClient implementation.
- scoped_ptr<EdgeEffectBase> CreateEdgeEffect() override;
+ scoped_ptr<ui::EdgeEffectBase> CreateEdgeEffect() override;
void SetNeedsAnimate();
@@ -72,8 +72,8 @@ class OverscrollControllerAndroid : public OverscrollGlowClient {
bool enabled_;
// TODO(jdduke): Factor out a common API from the two overscroll effects.
- scoped_ptr<OverscrollGlow> glow_effect_;
- scoped_ptr<OverscrollRefresh> refresh_effect_;
+ scoped_ptr<ui::OverscrollGlow> glow_effect_;
+ scoped_ptr<ui::OverscrollRefresh> refresh_effect_;
DISALLOW_COPY_AND_ASSIGN(OverscrollControllerAndroid);
};
« no previous file with comments | « content/browser/android/edge_effect_l.cc ('k') | content/browser/android/overscroll_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698