OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_UNIFIED_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/host/ash_window_tree_host.h" | 10 #include "ash/host/ash_window_tree_host.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 gfx::Transform GetRootTransform() const override; | 53 gfx::Transform GetRootTransform() const override; |
54 void SetRootTransform(const gfx::Transform& transform) override; | 54 void SetRootTransform(const gfx::Transform& transform) override; |
55 gfx::Transform GetInverseRootTransform() const override; | 55 gfx::Transform GetInverseRootTransform() const override; |
56 void UpdateRootWindowSize(const gfx::Size& host_size) override; | 56 void UpdateRootWindowSize(const gfx::Size& host_size) override; |
57 void SetCapture() override; | 57 void SetCapture() override; |
58 void ReleaseCapture() override; | 58 void ReleaseCapture() override; |
59 gfx::Point GetLocationOnNativeScreen() const override; | 59 gfx::Point GetLocationOnNativeScreen() const override; |
60 void SetCursorNative(gfx::NativeCursor cursor) override; | 60 void SetCursorNative(gfx::NativeCursor cursor) override; |
61 void MoveCursorToNative(const gfx::Point& location) override; | 61 void MoveCursorToNative(const gfx::Point& location) override; |
62 void OnCursorVisibilityChangedNative(bool show) override; | 62 void OnCursorVisibilityChangedNative(bool show) override; |
| 63 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 64 void RemapAsNormalWindow() override; |
| 65 #endif |
63 | 66 |
64 // aura::WindowObserver: | 67 // aura::WindowObserver: |
65 void OnWindowDestroying(aura::Window* window) override; | 68 void OnWindowDestroying(aura::Window* window) override; |
66 | 69 |
67 // ui::internal::InputMethodDelegate: | 70 // ui::internal::InputMethodDelegate: |
68 ui::EventDispatchDetails DispatchKeyEventPostIME( | 71 ui::EventDispatchDetails DispatchKeyEventPostIME( |
69 ui::KeyEvent* event) override; | 72 ui::KeyEvent* event) override; |
70 | 73 |
71 std::vector<AshWindowTreeHost*> mirroring_hosts_; | 74 std::vector<AshWindowTreeHost*> mirroring_hosts_; |
72 | 75 |
73 gfx::Rect bounds_; | 76 gfx::Rect bounds_; |
74 | 77 |
75 TransformerHelper transformer_helper_; | 78 TransformerHelper transformer_helper_; |
76 | 79 |
77 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); | 80 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); |
78 }; | 81 }; |
79 | 82 |
80 } // namespace ash | 83 } // namespace ash |
81 | 84 |
82 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 85 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
OLD | NEW |