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

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

Issue 1257603006: Refactoring for the InputMethod & InputMethodDelegate interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Sadrul's comment. Created 5 years, 4 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_ozone.cc ('k') | ash/host/ash_window_tree_host_unified.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UNIFIED_H_ 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/host/ash_window_tree_host.h" 10 #include "ash/host/ash_window_tree_host.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void ReleaseCapture() override; 58 void ReleaseCapture() override;
59 gfx::Point GetLocationOnNativeScreen() const override; 59 gfx::Point GetLocationOnNativeScreen() const override;
60 void SetCursorNative(gfx::NativeCursor cursor) override; 60 void SetCursorNative(gfx::NativeCursor cursor) override;
61 void MoveCursorToNative(const gfx::Point& location) override; 61 void MoveCursorToNative(const gfx::Point& location) override;
62 void OnCursorVisibilityChangedNative(bool show) override; 62 void OnCursorVisibilityChangedNative(bool show) override;
63 63
64 // aura::WindowObserver: 64 // aura::WindowObserver:
65 void OnWindowDestroying(aura::Window* window) override; 65 void OnWindowDestroying(aura::Window* window) override;
66 66
67 // ui::internal::InputMethodDelegate: 67 // ui::internal::InputMethodDelegate:
68 bool DispatchKeyEventPostIME(const ui::KeyEvent& event) override; 68 ui::EventDispatchDetails DispatchKeyEventPostIME(
69 ui::KeyEvent* event) override;
69 70
70 std::vector<AshWindowTreeHost*> mirroring_hosts_; 71 std::vector<AshWindowTreeHost*> mirroring_hosts_;
71 72
72 gfx::Rect bounds_; 73 gfx::Rect bounds_;
73 74
74 TransformerHelper transformer_helper_; 75 TransformerHelper transformer_helper_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); 77 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified);
77 }; 78 };
78 79
79 } // namespace ash 80 } // namespace ash
80 81
81 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 82 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host_ozone.cc ('k') | ash/host/ash_window_tree_host_unified.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698