| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 void PrepareForShutdown() override; | 35 void PrepareForShutdown() override; |
| 36 void SetRootTransform(const gfx::Transform& transform) override; | 36 void SetRootTransform(const gfx::Transform& transform) override; |
| 37 gfx::Transform GetRootTransform() const override; | 37 gfx::Transform GetRootTransform() const override; |
| 38 gfx::Transform GetInverseRootTransform() const override; | 38 gfx::Transform GetInverseRootTransform() const override; |
| 39 void UpdateRootWindowSizeInPixels( | 39 void UpdateRootWindowSizeInPixels( |
| 40 const gfx::Size& host_size_in_pixels) override; | 40 const gfx::Size& host_size_in_pixels) override; |
| 41 void OnCursorVisibilityChangedNative(bool show) override; | 41 void OnCursorVisibilityChangedNative(bool show) override; |
| 42 void SetBoundsInPixels(const gfx::Rect& bounds) override; | 42 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 43 void DispatchEvent(ui::Event* event) override; | 43 void DispatchEvent(ui::Event* event) override; |
| 44 | 44 |
| 45 // ui::internal::InputMethodDelegate: |
| 46 ui::EventDispatchDetails DispatchKeyEventPostIME( |
| 47 ui::KeyEvent* event) override; |
| 48 |
| 45 private: | 49 private: |
| 46 // Temporarily disable the tap-to-click feature. Used on CrOS. | 50 // Temporarily disable the tap-to-click feature. Used on CrOS. |
| 47 void SetTapToClickPaused(bool state); | 51 void SetTapToClickPaused(bool state); |
| 48 | 52 |
| 49 TransformerHelper transformer_helper_; | 53 TransformerHelper transformer_helper_; |
| 50 | 54 |
| 51 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); | 55 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); |
| 52 }; | 56 }; |
| 53 | 57 |
| 54 } // namespace ash | 58 } // namespace ash |
| 55 | 59 |
| 56 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ | 60 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ |
| OLD | NEW |