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

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: disable tests that doesn't run on bots 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
« no previous file with comments | « ash/wm/resize_shadow.cc ('k') | ash/wm/shadow.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shadow.h
diff --git a/ash/wm/shadow.h b/ash/wm/shadow.h
index a137085e217e5a91d010b800cdbe40312996383d..11ac6f3b79e21753e954950efc4f9ed03e47ee3b 100644
--- a/ash/wm/shadow.h
+++ b/ash/wm/shadow.h
@@ -12,10 +12,6 @@
#include "ui/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 ui/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()
« no previous file with comments | « ash/wm/resize_shadow.cc ('k') | ash/wm/shadow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698