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

Side by Side Diff: ui/base/ime/dummy_input_method.cc

Issue 23751002: Add InputMethod::GetTextInputMode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/fake_input_method.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/base/ime/dummy_input_method.h" 5 #include "ui/base/ime/dummy_input_method.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 DummyInputMethod::DummyInputMethod() { 9 DummyInputMethod::DummyInputMethod() {
10 } 10 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 66
67 bool DummyInputMethod::IsActive() { 67 bool DummyInputMethod::IsActive() {
68 return true; 68 return true;
69 } 69 }
70 70
71 TextInputType DummyInputMethod::GetTextInputType() const { 71 TextInputType DummyInputMethod::GetTextInputType() const {
72 return TEXT_INPUT_TYPE_NONE; 72 return TEXT_INPUT_TYPE_NONE;
73 } 73 }
74 74
75 TextInputMode DummyInputMethod::GetTextInputMode() const {
76 return TEXT_INPUT_MODE_DEFAULT;
77 }
78
75 bool DummyInputMethod::CanComposeInline() const { 79 bool DummyInputMethod::CanComposeInline() const {
76 return true; 80 return true;
77 } 81 }
78 82
79 bool DummyInputMethod::IsCandidatePopupOpen() const { 83 bool DummyInputMethod::IsCandidatePopupOpen() const {
80 return false; 84 return false;
81 } 85 }
82 86
83 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { 87 void DummyInputMethod::AddObserver(InputMethodObserver* observer) {
84 } 88 }
85 89
86 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { 90 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) {
87 } 91 }
88 92
89 } // namespace ui 93 } // namespace ui
90 94
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/fake_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698