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

Unified Diff: ui/views/widget/widget.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/views/widget/native_widget_aura_unittest.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index d79b6958c87e30ea2cebbebbbba409689f787970..b4c332f5d360ea16c1f9ce717be9b90419e60738 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -12,8 +12,8 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
+#include "ui/aura/window_layer_type.h"
#include "ui/base/ui_base_types.h"
-#include "ui/compositor/layer_type.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/rect.h"
#include "ui/views/focus/focus_manager.h"
@@ -215,8 +215,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// |parent| is set.)
bool top_level;
// Only used by NativeWidgetAura. Specifies the type of layer for the
- // aura::Window. Default is LAYER_TEXTURED.
- ui::LayerType layer_type;
+ // aura::Window. Default is WINDOW_LAYER_TEXTURED.
+ aura::WindowLayerType layer_type;
// Only used by Aura. Provides a context window whose RootWindow is
// consulted during widget creation to determine where in the Window
// hierarchy this widget should be placed. (This is separate from |parent|;
« no previous file with comments | « ui/views/widget/native_widget_aura_unittest.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698