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

Side by Side Diff: ui/aura/mus/input_method_mus.h

Issue 2545543002: Makes InputMethodMus deal with no connection (Closed)
Patch Set: moar Created 4 years 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 | « no previous file | ui/aura/mus/input_method_mus.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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 UI_AURA_MUS_INPUT_METHOD_MUS_H_ 5 #ifndef UI_AURA_MUS_INPUT_METHOD_MUS_H_
6 #define UI_AURA_MUS_INPUT_METHOD_MUS_H_ 6 #define UI_AURA_MUS_INPUT_METHOD_MUS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h" 9 #include "mojo/public/cpp/bindings/strong_binding.h"
10 #include "services/service_manager/public/cpp/connector.h" 10 #include "services/service_manager/public/cpp/connector.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void ProcessKeyEventCallback( 57 void ProcessKeyEventCallback(
58 const ui::KeyEvent& event, 58 const ui::KeyEvent& event,
59 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>> 59 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>
60 ack_callback, 60 ack_callback,
61 bool handled); 61 bool handled);
62 62
63 // The toplevel window which is not owned by this class. This may be null 63 // The toplevel window which is not owned by this class. This may be null
64 // for tests. 64 // for tests.
65 Window* window_; 65 Window* window_;
66 66
67 // May be null in tests.
67 ui::mojom::IMEServerPtr ime_server_; 68 ui::mojom::IMEServerPtr ime_server_;
68 ui::mojom::InputMethodPtr input_method_; 69 ui::mojom::InputMethodPtr input_method_;
69 std::unique_ptr<TextInputClientImpl> text_input_client_; 70 std::unique_ptr<TextInputClientImpl> text_input_client_;
70 71
71 DISALLOW_COPY_AND_ASSIGN(InputMethodMus); 72 DISALLOW_COPY_AND_ASSIGN(InputMethodMus);
72 }; 73 };
73 74
74 } // namespace aura 75 } // namespace aura
75 76
76 #endif // UI_AURA_MUS_INPUT_METHOD_MUS_H_ 77 #endif // UI_AURA_MUS_INPUT_METHOD_MUS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/mus/input_method_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698