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

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

Issue 1209663002: Use EventHandler for IME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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_win.cc ('k') | ash/host/ash_window_tree_host_x11.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 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 "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/host/ash_window_tree_host.h" 9 #include "ash/host/ash_window_tree_host.h"
10 #include "ash/host/transformer_helper.h" 10 #include "ash/host/transformer_helper.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // aura::WindowTreeHostX11: 45 // aura::WindowTreeHostX11:
46 void OnConfigureNotify() override; 46 void OnConfigureNotify() override;
47 bool CanDispatchEvent(const ui::PlatformEvent& event) override; 47 bool CanDispatchEvent(const ui::PlatformEvent& event) override;
48 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; 48 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override;
49 49
50 // EnvObserver overrides. 50 // EnvObserver overrides.
51 void OnWindowInitialized(aura::Window* window) override; 51 void OnWindowInitialized(aura::Window* window) override;
52 void OnHostInitialized(aura::WindowTreeHost* host) override; 52 void OnHostInitialized(aura::WindowTreeHost* host) override;
53 53
54 // ui::internal::InputMethodDelegate:
55 bool DispatchKeyEventPostIME(const ui::KeyEvent& event) override;
56
57 // ui::EventSource:
58 ui::EventDispatchDetails DeliverEventToProcessor(ui::Event* event) override;
59
54 #if defined(OS_CHROMEOS) 60 #if defined(OS_CHROMEOS)
55 // Set the CrOS touchpad "tap paused" property. It is used to temporarily 61 // Set the CrOS touchpad "tap paused" property. It is used to temporarily
56 // turn off the Tap-to-click feature when the mouse pointer is invisible. 62 // turn off the Tap-to-click feature when the mouse pointer is invisible.
57 void SetCrOSTapPaused(bool state); 63 void SetCrOSTapPaused(bool state);
58 #endif 64 #endif
59 65
60 scoped_ptr<XID[]> pointer_barriers_; 66 scoped_ptr<XID[]> pointer_barriers_;
61 67
62 TransformerHelper transformer_helper_; 68 TransformerHelper transformer_helper_;
63 69
64 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); 70 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11);
65 }; 71 };
66 72
67 } // namespace ash 73 } // namespace ash
68 74
69 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ 75 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host_win.cc ('k') | ash/host/ash_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698