| Index: ash/shell_port.h
|
| diff --git a/ash/shell_port.h b/ash/shell_port.h
|
| index 9585d473f5afe14f846215f94dd9a8ecce3b6352..db553d2cbe0249c59b86eb3fca87113b9f373a36 100644
|
| --- a/ash/shell_port.h
|
| +++ b/ash/shell_port.h
|
| @@ -23,6 +23,7 @@
|
| namespace display {
|
| class Display;
|
| class ManagedDisplayInfo;
|
| +class NativeDisplayDelegate;
|
| }
|
|
|
| namespace gfx {
|
| @@ -37,6 +38,8 @@ enum class PointerWatcherEventTypes;
|
|
|
| namespace ash {
|
| class AcceleratorController;
|
| +class AshWindowTreeHost;
|
| +struct AshWindowTreeHostInitParams;
|
| class ImmersiveFullscreenController;
|
| class KeyEventWatcher;
|
| class KeyboardUI;
|
| @@ -204,6 +207,11 @@ class ASH_EXPORT ShellPort {
|
|
|
| virtual void CreatePointerWatcherAdapter() = 0;
|
|
|
| + // Creates an AshWindowTreeHost. A return value of null results in a platform
|
| + // specific AshWindowTreeHost being created.
|
| + virtual std::unique_ptr<AshWindowTreeHost> CreateAshWindowTreeHost(
|
| + const AshWindowTreeHostInitParams& init_params) = 0;
|
| +
|
| protected:
|
| ShellPort();
|
|
|
| @@ -211,6 +219,8 @@ class ASH_EXPORT ShellPort {
|
| // the corresponding RootWindowController.
|
| virtual void CreatePrimaryHost() = 0;
|
| virtual void InitHosts(const ShellInitParams& init_params) = 0;
|
| + virtual std::unique_ptr<display::NativeDisplayDelegate>
|
| + CreateNativeDisplayDelegate() = 0;
|
|
|
| // Called during startup to create the AcceleratorController.
|
| virtual std::unique_ptr<AcceleratorController>
|
|
|