| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ |
| 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" |
| 8 #include "ash/host/ash_window_tree_host.h" | 9 #include "ash/host/ash_window_tree_host.h" |
| 9 #include "ash/host/transformer_helper.h" | 10 #include "ash/host/transformer_helper.h" |
| 10 #include "ui/aura/window_tree_host_platform.h" | 11 #include "ui/aura/window_tree_host_platform.h" |
| 11 | 12 |
| 12 namespace ash { | 13 namespace ash { |
| 13 | 14 |
| 14 class AshWindowTreeHostPlatform : public AshWindowTreeHost, | 15 class ASH_EXPORT AshWindowTreeHostPlatform |
| 15 public aura::WindowTreeHostPlatform { | 16 : public AshWindowTreeHost, |
| 17 public aura::WindowTreeHostPlatform { |
| 16 public: | 18 public: |
| 17 explicit AshWindowTreeHostPlatform(const gfx::Rect& initial_bounds); | 19 explicit AshWindowTreeHostPlatform(const gfx::Rect& initial_bounds); |
| 18 ~AshWindowTreeHostPlatform() override; | 20 ~AshWindowTreeHostPlatform() override; |
| 19 | 21 |
| 20 protected: | 22 protected: |
| 21 AshWindowTreeHostPlatform(); | 23 AshWindowTreeHostPlatform(); |
| 22 | 24 |
| 23 // AshWindowTreeHost: | 25 // AshWindowTreeHost: |
| 24 void ToggleFullScreen() override; | 26 void ToggleFullScreen() override; |
| 25 bool ConfineCursorToRootWindow() override; | 27 bool ConfineCursorToRootWindow() override; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 46 void SetTapToClickPaused(bool state); | 48 void SetTapToClickPaused(bool state); |
| 47 | 49 |
| 48 TransformerHelper transformer_helper_; | 50 TransformerHelper transformer_helper_; |
| 49 | 51 |
| 50 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); | 52 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); |
| 51 }; | 53 }; |
| 52 | 54 |
| 53 } // namespace ash | 55 } // namespace ash |
| 54 | 56 |
| 55 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ | 57 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ |
| OLD | NEW |