OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_MUS_ASH_WINDOW_TREE_HOST_MUS_H_ |
| 6 #define ASH_MUS_ASH_WINDOW_TREE_HOST_MUS_H_ |
| 7 |
| 8 #include "ash/host/ash_window_tree_host.h" |
| 9 #include "ui/aura/mus/window_tree_host_mus.h" |
| 10 |
| 11 namespace ash { |
| 12 |
| 13 class TransformerHelper; |
| 14 |
| 15 class AshWindowTreeHostMus : public AshWindowTreeHost, |
| 16 public aura::WindowTreeHostMus { |
| 17 public: |
| 18 explicit AshWindowTreeHostMus(aura::WindowTreeHostMusInitParams init_params); |
| 19 ~AshWindowTreeHostMus() override; |
| 20 |
| 21 // AshWindowTreeHost: |
| 22 void ToggleFullScreen() override; |
| 23 bool ConfineCursorToRootWindow() override; |
| 24 void UnConfineCursor() override; |
| 25 void SetRootWindowTransformer( |
| 26 std::unique_ptr<RootWindowTransformer> transformer) override; |
| 27 gfx::Insets GetHostInsets() const override; |
| 28 aura::WindowTreeHost* AsWindowTreeHost() override; |
| 29 void PrepareForShutdown() override; |
| 30 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override; |
| 31 |
| 32 // aura::WindowTreeHostMus: |
| 33 /* |
| 34 void SetRootTransform(const gfx::Transform& transform) override; |
| 35 gfx::Transform GetRootTransform() const override; |
| 36 gfx::Transform GetInverseRootTransform() const override; |
| 37 void UpdateRootWindowSizeInPixels(const gfx::Size& host_size_in_pixels) |
| 38 override; |
| 39 */ |
| 40 |
| 41 private: |
| 42 // std::unique_ptr<TransformerHelper> transformer_helper_; |
| 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostMus); |
| 45 }; |
| 46 |
| 47 } // namespace ash |
| 48 |
| 49 #endif // ASH_MUS_ASH_WINDOW_TREE_HOST_MUS_H_ |
OLD | NEW |