| 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 | |
| 60 // Set the CrOS touchpad "tap paused" property. It is used to temporarily | 56 // Set the CrOS touchpad "tap paused" property. It is used to temporarily |
| 61 // turn off the Tap-to-click feature when the mouse pointer is invisible. | 57 // turn off the Tap-to-click feature when the mouse pointer is invisible. |
| 62 void SetCrOSTapPaused(bool state); | 58 void SetCrOSTapPaused(bool state); |
| 63 | 59 |
| 64 std::unique_ptr<XID[]> pointer_barriers_; | 60 std::unique_ptr<XID[]> pointer_barriers_; |
| 65 | 61 |
| 66 TransformerHelper transformer_helper_; | 62 TransformerHelper transformer_helper_; |
| 67 | 63 |
| 68 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); | 64 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); |
| 69 }; | 65 }; |
| 70 | 66 |
| 71 } // namespace ash | 67 } // namespace ash |
| 72 | 68 |
| 73 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 69 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |