| Index: ash/host/ash_window_tree_host_ozone.cc
|
| diff --git a/ash/host/ash_window_tree_host_ozone.cc b/ash/host/ash_window_tree_host_ozone.cc
|
| index c6360801833f99147cade5340049fb6348287f66..68700b4ac18e01dddb1ff91b3284da5659a6065c 100644
|
| --- a/ash/host/ash_window_tree_host_ozone.cc
|
| +++ b/ash/host/ash_window_tree_host_ozone.cc
|
| @@ -32,7 +32,7 @@ class AshWindowTreeHostOzone : public AshWindowTreeHost,
|
| explicit AshWindowTreeHostOzone(const gfx::Rect& initial_bounds);
|
| ~AshWindowTreeHostOzone() override;
|
|
|
| - private:
|
| + protected:
|
| // AshWindowTreeHost:
|
| void ToggleFullScreen() override;
|
| bool ConfineCursorToRootWindow() override;
|
| @@ -54,6 +54,7 @@ class AshWindowTreeHostOzone : public AshWindowTreeHost,
|
| ui::EventDispatchDetails DispatchKeyEventPostIME(
|
| ui::KeyEvent* event) override;
|
|
|
| + private:
|
| // Temporarily disable the tap-to-click feature. Used on CrOS.
|
| void SetTapToClickPaused(bool state);
|
|
|
| @@ -162,11 +163,4 @@ void AshWindowTreeHostOzone::SetTapToClickPaused(bool state) {
|
|
|
| } // namespace
|
|
|
| -AshWindowTreeHost* AshWindowTreeHost::Create(
|
| - const AshWindowTreeHostInitParams& init_params) {
|
| - if (init_params.offscreen)
|
| - return new AshWindowTreeHostUnified(init_params.initial_bounds);
|
| - return new AshWindowTreeHostOzone(init_params.initial_bounds);
|
| -}
|
| -
|
| } // namespace ash
|
|
|