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

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

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/fake_input_method.h" 5 #include "ui/base/ime/fake_input_method.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/base/glib/glib_integers.h" 9 #include "ui/base/glib/glib_integers.h"
10 #include "ui/base/ime/input_method_delegate.h" 10 #include "ui/base/ime/input_method_delegate.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 } 186 }
187 187
188 TextInputMode FakeInputMethod::GetTextInputMode() const { 188 TextInputMode FakeInputMethod::GetTextInputMode() const {
189 return TEXT_INPUT_MODE_DEFAULT; 189 return TEXT_INPUT_MODE_DEFAULT;
190 } 190 }
191 191
192 bool FakeInputMethod::CanComposeInline() const { 192 bool FakeInputMethod::CanComposeInline() const {
193 return true; 193 return true;
194 } 194 }
195 195
196 void FakeInputMethod::ShowVirtualKeyboard() {
197 }
198
196 void FakeInputMethod::AddObserver(InputMethodObserver* observer) { 199 void FakeInputMethod::AddObserver(InputMethodObserver* observer) {
197 observers_.AddObserver(observer); 200 observers_.AddObserver(observer);
198 } 201 }
199 202
200 void FakeInputMethod::RemoveObserver(InputMethodObserver* observer) { 203 void FakeInputMethod::RemoveObserver(InputMethodObserver* observer) {
201 observers_.RemoveObserver(observer); 204 observers_.RemoveObserver(observer);
202 } 205 }
203 206
204 } // namespace ui 207 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698