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

Unified Diff: ash/common/wm_shell.h

Issue 2320273002: Refactors DimWindow and moves to ash/common (Closed)
Patch Set: feedback and member initializer ordering Created 4 years, 3 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/common/wm_root_window_controller.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 481c81f3d47734d820867f587812f73c7191a09b..7850f84321efe5faaeaedc6e753b869b6142ed93 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -17,6 +17,8 @@
#include "ash/common/wm/lock_state_observer.h"
#include "base/observer_list.h"
#include "ui/base/ui_base_types.h"
+#include "ui/compositor/layer_type.h"
+#include "ui/wm/public/window_types.h"
namespace base {
class SequencedWorkerPool;
@@ -164,9 +166,8 @@ class ASH_EXPORT WmShell {
return window_selector_controller_.get();
}
- // Creates a new window used as a container of other windows. No painting is
- // done to the created window.
- virtual WmWindow* NewContainerWindow() = 0;
+ virtual WmWindow* NewWindow(ui::wm::WindowType window_type,
+ ui::LayerType layer_type) = 0;
virtual WmWindow* GetFocusedWindow() = 0;
virtual WmWindow* GetActiveWindow() = 0;
« no previous file with comments | « ash/common/wm_root_window_controller.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698