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

Unified Diff: ui/aura/window.h

Issue 121773003: Makes Window::Init take a WindowLayerType instead of LayerType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to master Created 6 years, 11 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/aura/test/test_windows.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 6f71f09571814e3c63681b3c523a5567b7e1a653..cb3e720684df317b624ba12e7035917c71625497 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -20,7 +20,6 @@
#include "ui/compositor/layer_animator.h"
#include "ui/compositor/layer_delegate.h"
#include "ui/compositor/layer_owner.h"
-#include "ui/compositor/layer_type.h"
#include "ui/events/event_constants.h"
#include "ui/events/event_target.h"
#include "ui/events/event_targeter.h"
@@ -86,10 +85,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
virtual ~Window();
// Initializes the window. This creates the window's layer.
- void Init(ui::LayerType layer_type);
-
- // TODO(sky): replace other Init() with this once m32 is more baked.
- void InitWithWindowLayerType(WindowLayerType layer_type);
+ void Init(WindowLayerType layer_type);
// Creates a new layer for the window. Erases the layer-owned bounds, so the
// caller may wish to set new bounds and other state on the window/layer.
« no previous file with comments | « ui/aura/test/test_windows.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698