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

Side by Side Diff: ui/base/ime/remote_input_method_win.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: Fix ash_unittests Created 6 years, 11 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/mock_input_method.cc ('k') | ui/base/ime/remote_input_method_win_unittest.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 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/remote_input_method_win.h" 5 #include "ui/base/ime/remote_input_method_win.h"
6 6
7 #include "base/observer_list.h" 7 #include "base/observer_list.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/win/metro.h" 9 #include "base/win/metro.h"
10 #include "base/win/scoped_handle.h" 10 #include "base/win/scoped_handle.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 } 270 }
271 271
272 virtual bool CanComposeInline() const OVERRIDE { 272 virtual bool CanComposeInline() const OVERRIDE {
273 return text_input_client_ ? text_input_client_->CanComposeInline() : true; 273 return text_input_client_ ? text_input_client_->CanComposeInline() : true;
274 } 274 }
275 275
276 virtual bool IsCandidatePopupOpen() const OVERRIDE { 276 virtual bool IsCandidatePopupOpen() const OVERRIDE {
277 return is_candidate_popup_open_; 277 return is_candidate_popup_open_;
278 } 278 }
279 279
280 virtual void ShowImeIfNeeded() OVERRIDE {
281 }
282
280 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE { 283 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE {
281 observer_list_.AddObserver(observer); 284 observer_list_.AddObserver(observer);
282 } 285 }
283 286
284 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE { 287 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE {
285 observer_list_.RemoveObserver(observer); 288 observer_list_.RemoveObserver(observer);
286 } 289 }
287 290
288 // Overridden from RemoteInputMethodPrivateWin: 291 // Overridden from RemoteInputMethodPrivateWin:
289 virtual void SetRemoteDelegate( 292 virtual void SetRemoteDelegate(
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 return scoped_ptr<InputMethod>(new RemoteInputMethodWin(delegate)); 383 return scoped_ptr<InputMethod>(new RemoteInputMethodWin(delegate));
381 } 384 }
382 385
383 // static 386 // static
384 RemoteInputMethodPrivateWin* RemoteInputMethodPrivateWin::Get( 387 RemoteInputMethodPrivateWin* RemoteInputMethodPrivateWin::Get(
385 InputMethod* input_method) { 388 InputMethod* input_method) {
386 return GetPrivate(input_method); 389 return GetPrivate(input_method);
387 } 390 }
388 391
389 } // namespace ui 392 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/mock_input_method.cc ('k') | ui/base/ime/remote_input_method_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698