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

Unified Diff: ash/wm/common/wm_root_window_controller.h

Issue 1907863002: Converts DockedWindowLayoutManager to common ash/wm types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicit shutdown Created 4 years, 8 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/common/wm_root_window_controller.h
diff --git a/ash/wm/common/wm_root_window_controller.h b/ash/wm/common/wm_root_window_controller.h
index e247c0888b6fb11012b7a84df5b7fa414bffdb78..5571be46c0388c59feb11f7dca93b15205907e55 100644
--- a/ash/wm/common/wm_root_window_controller.h
+++ b/ash/wm/common/wm_root_window_controller.h
@@ -9,6 +9,7 @@
#include "ash/ash_export.h"
#include "ash/wm/common/workspace/workspace_types.h"
+#include "ui/views/widget/widget.h"
namespace ash {
namespace wm {
@@ -31,6 +32,13 @@ class ASH_EXPORT WmRootWindowController {
// Returns the window associated with this WmRootWindowController.
virtual WmWindow* GetWindow() = 0;
+
+ // Configures |init_params| prior to initializing |widget|.
+ // |shell_container_id| is the id of the container to parent the widget to.
varkha 2016/04/21 17:46:55 nit: |widget|.
sky 2016/04/21 18:03:04 Done.
+ virtual void ConfigureWidgetInitParamsForContainer(
+ views::Widget* widget,
+ int shell_container_id,
+ views::Widget::InitParams* init_params) = 0;
};
} // namespace wm

Powered by Google App Engine
This is Rietveld 408576698