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

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: comment 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
« no previous file with comments | « ash/wm/common/wm_globals.h ('k') | ash/wm/common/wm_snap_to_pixel_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ec0ba56869f28e38b5df30f76082af7680d751ee 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 |widget| to.
+ virtual void ConfigureWidgetInitParamsForContainer(
+ views::Widget* widget,
+ int shell_container_id,
+ views::Widget::InitParams* init_params) = 0;
};
} // namespace wm
« no previous file with comments | « ash/wm/common/wm_globals.h ('k') | ash/wm/common/wm_snap_to_pixel_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698