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" | |
9 #include "ash/host/ash_window_tree_host.h" | 8 #include "ash/host/ash_window_tree_host.h" |
10 #include "ash/host/transformer_helper.h" | 9 #include "ash/host/transformer_helper.h" |
11 #include "ui/aura/window_tree_host_platform.h" | 10 #include "ui/aura/window_tree_host_platform.h" |
12 | 11 |
13 namespace ash { | 12 namespace ash { |
14 | 13 |
15 class ASH_EXPORT AshWindowTreeHostPlatform | 14 class AshWindowTreeHostPlatform : public AshWindowTreeHost, |
16 : public AshWindowTreeHost, | 15 public aura::WindowTreeHostPlatform { |
17 public aura::WindowTreeHostPlatform { | |
18 public: | 16 public: |
19 explicit AshWindowTreeHostPlatform(const gfx::Rect& initial_bounds); | 17 explicit AshWindowTreeHostPlatform(const gfx::Rect& initial_bounds); |
20 ~AshWindowTreeHostPlatform() override; | 18 ~AshWindowTreeHostPlatform() override; |
21 | 19 |
22 protected: | 20 protected: |
23 AshWindowTreeHostPlatform(); | 21 AshWindowTreeHostPlatform(); |
24 | 22 |
25 // AshWindowTreeHost: | 23 // AshWindowTreeHost: |
26 void ToggleFullScreen() override; | 24 void ToggleFullScreen() override; |
27 bool ConfineCursorToRootWindow() override; | 25 bool ConfineCursorToRootWindow() override; |
(...skipping 20 matching lines...) Expand all Loading... |
48 void SetTapToClickPaused(bool state); | 46 void SetTapToClickPaused(bool state); |
49 | 47 |
50 TransformerHelper transformer_helper_; | 48 TransformerHelper transformer_helper_; |
51 | 49 |
52 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); | 50 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); |
53 }; | 51 }; |
54 | 52 |
55 } // namespace ash | 53 } // namespace ash |
56 | 54 |
57 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ | 55 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ |
OLD | NEW |