| 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_
|
|
|