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

Side by Side Diff: ui/aura/mus/text_input_client_impl.cc

Issue 2445163002: Make aura work with mus (Closed)
Patch Set: NON_EXPORTED_BASE_CLASS Created 4 years, 1 month 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 | « ui/aura/mus/text_input_client_impl.h ('k') | ui/aura/mus/window_manager_delegate.h » ('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 #include "ui/views/mus/text_input_client_impl.h" 5 #include "ui/aura/mus/text_input_client_impl.h"
6 6
7 #include "ui/aura/mus/input_method_mus.h"
7 #include "ui/base/ime/text_input_client.h" 8 #include "ui/base/ime/text_input_client.h"
8 #include "ui/views/mus/input_method_mus.h"
9 9
10 namespace views { 10 namespace aura {
11 11
12 TextInputClientImpl::TextInputClientImpl(ui::TextInputClient* text_input_client) 12 TextInputClientImpl::TextInputClientImpl(ui::TextInputClient* text_input_client)
13 : text_input_client_(text_input_client), binding_(this) {} 13 : text_input_client_(text_input_client), binding_(this) {}
14 14
15 TextInputClientImpl::~TextInputClientImpl() {} 15 TextInputClientImpl::~TextInputClientImpl() {}
16 16
17 ui::mojom::TextInputClientPtr TextInputClientImpl::CreateInterfacePtrAndBind() { 17 ui::mojom::TextInputClientPtr TextInputClientImpl::CreateInterfacePtrAndBind() {
18 return binding_.CreateInterfacePtrAndBind(); 18 return binding_.CreateInterfacePtrAndBind();
19 } 19 }
20 20
(...skipping 15 matching lines...) Expand all
36 break; 36 break;
37 case ui::mojom::CompositionEventType::UPDATE: 37 case ui::mojom::CompositionEventType::UPDATE:
38 case ui::mojom::CompositionEventType::INSERT_TEXT: 38 case ui::mojom::CompositionEventType::INSERT_TEXT:
39 // TODO(moshayedi): crbug.com/631524. Implement these types of composition 39 // TODO(moshayedi): crbug.com/631524. Implement these types of composition
40 // events once we have the necessary fields in ui.mojom.CompositionEvent. 40 // events once we have the necessary fields in ui.mojom.CompositionEvent.
41 NOTIMPLEMENTED(); 41 NOTIMPLEMENTED();
42 break; 42 break;
43 } 43 }
44 } 44 }
45 45
46 } // namespace views 46 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/mus/text_input_client_impl.h ('k') | ui/aura/mus/window_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698