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

Unified Diff: ash/wm/shadow.h

Issue 10221028: Move DIP translation from ui/aura to ui/compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
Index: ash/wm/shadow.h
diff --git a/ash/wm/shadow.h b/ash/wm/shadow.h
index ae00a4d418c08b83fb92d49b3bdc2cb6d9661d0b..8f5ab0726d743a1908f14e236959ef86dd3ebafa 100644
--- a/ash/wm/shadow.h
+++ b/ash/wm/shadow.h
@@ -12,10 +12,6 @@
#include "ui/gfx/compositor/layer_animation_observer.h"
#include "ui/gfx/rect.h"
-namespace aura {
-class Window;
-} // namespace aura
-
namespace ui {
class Layer;
} // namespace ui
@@ -44,11 +40,7 @@ class ASH_EXPORT Shadow : public ui::ImplicitAnimationObserver {
Shadow();
virtual ~Shadow();
- // |window| is a possibly-arbitrary window that is drawn at the same DPI
- // (i.e. on the same monitor) as this shadow. The actual bounds for the
- // shadow still has to be provided through |SetContentBounds()|.
- // TODO(oshima): move scale factor to gfx/compositor and remove this.
- void Init(aura::Window* window, Style style);
+ void Init(Style style);
// Returns |image_grid_|'s ui::Layer. This is exposed so it can be added to
// the same layer as the content and stacked below it. SetContentBounds()

Powered by Google App Engine
This is Rietveld 408576698