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

Side by Side Diff: ui/base/ime/mock_input_method.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.h ('k') | ui/base/ime/remote_input_method_win.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 (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/mock_input_method.h" 5 #include "ui/base/ime/mock_input_method.h"
6 6
7 #include "ui/base/ime/text_input_focus_manager.h" 7 #include "ui/base/ime/text_input_focus_manager.h"
8 #include "ui/base/ui_base_switches_util.h" 8 #include "ui/base/ui_base_switches_util.h"
9 9
10 namespace ui { 10 namespace ui {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 112
113 bool MockInputMethod::IsCandidatePopupOpen() const { 113 bool MockInputMethod::IsCandidatePopupOpen() const {
114 return false; 114 return false;
115 } 115 }
116 116
117 void MockInputMethod::ShowImeIfNeeded() { 117 void MockInputMethod::ShowImeIfNeeded() {
118 FOR_EACH_OBSERVER(InputMethodObserver, observer_list_, OnShowImeIfNeeded()); 118 FOR_EACH_OBSERVER(InputMethodObserver, observer_list_, OnShowImeIfNeeded());
119 } 119 }
120 120
121 void MockInputMethod::SetSupportsOnScreenKeyboard(bool supports) {
122 }
123
124 bool MockInputMethod::SupportsOnScreenKeyboard() const {
125 return false;
126 }
127
128 void MockInputMethod::NotifyKeyboardBoundsUnchanged() {
129 }
130
121 void MockInputMethod::AddObserver(InputMethodObserver* observer) { 131 void MockInputMethod::AddObserver(InputMethodObserver* observer) {
122 observer_list_.AddObserver(observer); 132 observer_list_.AddObserver(observer);
123 } 133 }
124 134
125 void MockInputMethod::RemoveObserver(InputMethodObserver* observer) { 135 void MockInputMethod::RemoveObserver(InputMethodObserver* observer) {
126 observer_list_.RemoveObserver(observer); 136 observer_list_.RemoveObserver(observer);
127 } 137 }
128 138
129 } // namespace ui 139 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/mock_input_method.h ('k') | ui/base/ime/remote_input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698