Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: ash/host/ash_window_tree_host_platform.h

Issue 2872343003: Remove InputMethodEventHandler. (Closed)
Patch Set: addressed feedback. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/host/ash_window_tree_host.cc ('k') | ash/host/ash_window_tree_host_platform.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
49 private: 45 private:
50 // Temporarily disable the tap-to-click feature. Used on CrOS. 46 // Temporarily disable the tap-to-click feature. Used on CrOS.
51 void SetTapToClickPaused(bool state); 47 void SetTapToClickPaused(bool state);
52 48
53 TransformerHelper transformer_helper_; 49 TransformerHelper transformer_helper_;
54 50
55 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); 51 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform);
56 }; 52 };
57 53
58 } // namespace ash 54 } // namespace ash
59 55
60 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ 56 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host.cc ('k') | ash/host/ash_window_tree_host_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698