| Index: ash/display/display_controller.h
|
| diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h
|
| index fb61b84b9101624f4dc79fca5236cee22542f9cc..00c1ac60309ac718e18964cc8ecaa4d66f4d4d84 100644
|
| --- a/ash/display/display_controller.h
|
| +++ b/ash/display/display_controller.h
|
| @@ -38,6 +38,7 @@ class Insets;
|
|
|
| namespace ash {
|
| class AshWindowTreeHost;
|
| +struct AshWindowTreeHostInitParams;
|
| class CursorWindowController;
|
| class DisplayInfo;
|
| class DisplayManager;
|
| @@ -92,8 +93,9 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver,
|
| return virtual_keyboard_window_controller_.get();
|
| }
|
|
|
| - // Create a WindowTreeHost for the primary display.
|
| - void CreatePrimaryHost();
|
| + // Create a WindowTreeHost for the primary display. This replaces
|
| + // |initial_bounds| in |init_params|.
|
| + void CreatePrimaryHost(const AshWindowTreeHostInitParams& init_params);
|
|
|
| // Initializes all displays.
|
| void InitDisplays();
|
| @@ -169,7 +171,9 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver,
|
|
|
| // Creates a WindowTreeHost for |display| and stores it in the
|
| // |window_tree_hosts_| map.
|
| - AshWindowTreeHost* AddWindowTreeHostForDisplay(const gfx::Display& display);
|
| + AshWindowTreeHost* AddWindowTreeHostForDisplay(
|
| + const gfx::Display& display,
|
| + const AshWindowTreeHostInitParams& params);
|
|
|
| void OnFadeOutForSwapDisplayFinished();
|
|
|
|
|