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

Unified Diff: ui/android/edge_effect_l.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/edge_effect_base.cc ('k') | ui/android/edge_effect_l.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/edge_effect_l.h
diff --git a/content/browser/android/edge_effect_l.h b/ui/android/edge_effect_l.h
similarity index 86%
rename from content/browser/android/edge_effect_l.h
rename to ui/android/edge_effect_l.h
index 0e78282a37803bf01edde1e383b0f5f4e8691d11..a4f79379d01981d9b47d26af9aded2ffdd445096 100644
--- a/content/browser/android/edge_effect_l.h
+++ b/ui/android/edge_effect_l.h
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_ANDROID_EDGE_EFFECT_L_H_
-#define CONTENT_BROWSER_ANDROID_EDGE_EFFECT_L_H_
+#ifndef UI_ANDROID_EDGE_EFFECT_L_H_
+#define UI_ANDROID_EDGE_EFFECT_L_H_
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "content/browser/android/edge_effect_base.h"
+#include "ui/android/edge_effect_base.h"
+#include "ui/android/ui_android_export.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/size.h"
@@ -20,13 +22,13 @@ namespace ui {
class ResourceManager;
}
-namespace content {
+namespace ui {
// |EdgeEffectL| mirrors its Android L counterpart, EdgeEffect.java.
// Conscious tradeoffs were made to align this as closely as possible with the
// the original Android java version.
// All coordinates and dimensions are in device pixels.
-class EdgeEffectL : public EdgeEffectBase {
+class UI_ANDROID_EXPORT EdgeEffectL : public EdgeEffectBase {
public:
explicit EdgeEffectL(ui::ResourceManager* resource_manager);
~EdgeEffectL() override;
@@ -78,6 +80,6 @@ class EdgeEffectL : public EdgeEffectBase {
DISALLOW_COPY_AND_ASSIGN(EdgeEffectL);
};
-} // namespace content
+} // namespace ui
-#endif // CONTENT_BROWSER_ANDROID_EDGE_EFFECT_L_H_
+#endif // UI_ANDROID_EDGE_EFFECT_L_H_
« no previous file with comments | « ui/android/edge_effect_base.cc ('k') | ui/android/edge_effect_l.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698