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

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

Issue 826713002: [ChromeOS] Show autofill popup after keyboard (if any) is shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable autofill popup waiting for keyboard when keyboard has been disabled. Created 5 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
« 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/command_line.h" 7 #include "base/command_line.h"
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/win/metro.h" 10 #include "base/win/metro.h"
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 return text_input_client_ ? text_input_client_->CanComposeInline() : true; 279 return text_input_client_ ? text_input_client_->CanComposeInline() : true;
280 } 280 }
281 281
282 virtual bool IsCandidatePopupOpen() const override { 282 virtual bool IsCandidatePopupOpen() const override {
283 return is_candidate_popup_open_; 283 return is_candidate_popup_open_;
284 } 284 }
285 285
286 virtual void ShowImeIfNeeded() override { 286 virtual void ShowImeIfNeeded() override {
287 } 287 }
288 288
289 virtual void SetSupportsOnScreenKeyboard(bool supports) override {
290 }
291
292 virtual bool SupportsOnScreenKeyboard() const override {
293 return false;
294 }
295
296 virtual void OnKeyboardBoundsUnchanged() override {
297 }
298
289 virtual void AddObserver(InputMethodObserver* observer) override { 299 virtual void AddObserver(InputMethodObserver* observer) override {
290 observer_list_.AddObserver(observer); 300 observer_list_.AddObserver(observer);
291 } 301 }
292 302
293 virtual void RemoveObserver(InputMethodObserver* observer) override { 303 virtual void RemoveObserver(InputMethodObserver* observer) override {
294 observer_list_.RemoveObserver(observer); 304 observer_list_.RemoveObserver(observer);
295 } 305 }
296 306
297 // Overridden from RemoteInputMethodPrivateWin: 307 // Overridden from RemoteInputMethodPrivateWin:
298 virtual void SetRemoteDelegate( 308 virtual void SetRemoteDelegate(
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 return make_scoped_ptr(new RemoteInputMethodWin(delegate)); 405 return make_scoped_ptr(new RemoteInputMethodWin(delegate));
396 } 406 }
397 407
398 // static 408 // static
399 RemoteInputMethodPrivateWin* RemoteInputMethodPrivateWin::Get( 409 RemoteInputMethodPrivateWin* RemoteInputMethodPrivateWin::Get(
400 InputMethod* input_method) { 410 InputMethod* input_method) {
401 return GetPrivate(input_method); 411 return GetPrivate(input_method);
402 } 412 }
403 413
404 } // namespace ui 414 } // 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