OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_X11_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // aura::WindowTreeHostX11: | 47 // aura::WindowTreeHostX11: |
48 void OnConfigureNotify() override; | 48 void OnConfigureNotify() override; |
49 bool CanDispatchEvent(const ui::PlatformEvent& event) override; | 49 bool CanDispatchEvent(const ui::PlatformEvent& event) override; |
50 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; | 50 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; |
51 | 51 |
52 // EnvObserver overrides. | 52 // EnvObserver overrides. |
53 void OnWindowInitialized(aura::Window* window) override; | 53 void OnWindowInitialized(aura::Window* window) override; |
54 void OnHostInitialized(aura::WindowTreeHost* host) override; | 54 void OnHostInitialized(aura::WindowTreeHost* host) override; |
55 | 55 |
| 56 // ui::internal::InputMethodDelegate: |
| 57 ui::EventDispatchDetails DispatchKeyEventPostIME( |
| 58 ui::KeyEvent* event) override; |
| 59 |
56 // Set the CrOS touchpad "tap paused" property. It is used to temporarily | 60 // Set the CrOS touchpad "tap paused" property. It is used to temporarily |
57 // turn off the Tap-to-click feature when the mouse pointer is invisible. | 61 // turn off the Tap-to-click feature when the mouse pointer is invisible. |
58 void SetCrOSTapPaused(bool state); | 62 void SetCrOSTapPaused(bool state); |
59 | 63 |
60 std::unique_ptr<XID[]> pointer_barriers_; | 64 std::unique_ptr<XID[]> pointer_barriers_; |
61 | 65 |
62 TransformerHelper transformer_helper_; | 66 TransformerHelper transformer_helper_; |
63 | 67 |
64 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); | 68 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); |
65 }; | 69 }; |
66 | 70 |
67 } // namespace ash | 71 } // namespace ash |
68 | 72 |
69 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 73 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
OLD | NEW |