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

Side by Side Diff: ui/views/ime/null_input_method.cc

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 5 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 | « ui/views/ime/null_input_method.h ('k') | ui/views/test/widget_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/views/ime/null_input_method.h"
6
7 namespace views {
8
9 NullInputMethod::NullInputMethod() {}
10
11 void NullInputMethod::SetDelegate(
12 internal::InputMethodDelegate* /* delegate */) {}
13
14 void NullInputMethod::Init(Widget* /* widget */) {}
15
16 void NullInputMethod::OnFocus() {}
17
18 void NullInputMethod::OnBlur() {}
19
20 bool NullInputMethod::OnUntranslatedIMEMessage(
21 const base::NativeEvent& /* event */,
22 NativeEventResult* /* result */) {
23 return false;
24 }
25
26 void NullInputMethod::DispatchKeyEvent(const ui::KeyEvent& /* key */) {}
27
28 void NullInputMethod::OnTextInputTypeChanged(View* /* view */) {}
29
30 void NullInputMethod::OnCaretBoundsChanged(View* /* view */) {}
31
32 void NullInputMethod::CancelComposition(View* /* view */) {}
33
34 void NullInputMethod::OnInputLocaleChanged() {}
35
36 std::string NullInputMethod::GetInputLocale() {
37 return std::string();
38 }
39
40 bool NullInputMethod::IsActive() {
41 return false;
42 }
43
44 ui::TextInputClient* NullInputMethod::GetTextInputClient() const {
45 return NULL;
46 }
47
48 ui::TextInputType NullInputMethod::GetTextInputType() const {
49 return ui::TEXT_INPUT_TYPE_NONE;
50 }
51
52 bool NullInputMethod::IsCandidatePopupOpen() const {
53 return false;
54 }
55
56 void NullInputMethod::ShowImeIfNeeded() {}
57
58 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/ime/null_input_method.h ('k') | ui/views/test/widget_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698