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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 63 |
64 // aura::WindowObserver: | 64 // aura::WindowObserver: |
65 void OnWindowDestroying(aura::Window* window) override; | 65 void OnWindowDestroying(aura::Window* window) override; |
66 | 66 |
67 // ui::internal::InputMethodDelegate: | 67 // ui::internal::InputMethodDelegate: |
68 bool DispatchKeyEventPostIME(const ui::KeyEvent& event) override; | 68 ui::EventDispatchDetails DispatchKeyEventPostIME( |
| 69 ui::KeyEvent* event) override; |
69 | 70 |
70 std::vector<AshWindowTreeHost*> mirroring_hosts_; | 71 std::vector<AshWindowTreeHost*> mirroring_hosts_; |
71 | 72 |
72 gfx::Rect bounds_; | 73 gfx::Rect bounds_; |
73 | 74 |
74 TransformerHelper transformer_helper_; | 75 TransformerHelper transformer_helper_; |
75 | 76 |
76 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); | 77 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); |
77 }; | 78 }; |
78 | 79 |
79 } // namespace ash | 80 } // namespace ash |
80 | 81 |
81 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 82 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
OLD | NEW |