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

Side by Side Diff: ui/keyboard/keyboard_controller.h

Issue 2771793002: End to end test: async focus shouldn't trigger virtual keyboard. (Closed)
Patch Set: Rebase Created 3 years, 5 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 | « chrome/test/data/chromeos/virtual_keyboard/inputs.html ('k') | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ 5 #ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ 6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // aura::WindowObserver overrides 171 // aura::WindowObserver overrides
172 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override; 172 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override;
173 void OnWindowAddedToRootWindow(aura::Window* window) override; 173 void OnWindowAddedToRootWindow(aura::Window* window) override;
174 void OnWindowRemovingFromRootWindow(aura::Window* window, 174 void OnWindowRemovingFromRootWindow(aura::Window* window,
175 aura::Window* new_root) override; 175 aura::Window* new_root) override;
176 void OnWindowBoundsChanged(aura::Window* window, 176 void OnWindowBoundsChanged(aura::Window* window,
177 const gfx::Rect& old_bounds, 177 const gfx::Rect& old_bounds,
178 const gfx::Rect& new_bounds) override; 178 const gfx::Rect& new_bounds) override;
179 179
180 // InputMethodObserver overrides 180 // InputMethodObserver overrides
181 void OnFocus() override {}
181 void OnBlur() override {} 182 void OnBlur() override {}
182 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {} 183 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {}
183 void OnFocus() override {} 184 void OnFocus() override {}
184 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override {} 185 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override {}
185 void OnTextInputStateChanged(const ui::TextInputClient* client) override; 186 void OnTextInputStateChanged(const ui::TextInputClient* client) override;
186 void OnShowImeIfNeeded() override; 187 void OnShowImeIfNeeded() override;
187 188
188 // Notifies that the extension has completed loading 189 // Notifies that the extension has completed loading
189 void NotifyKeyboardLoadingComplete(); 190 void NotifyKeyboardLoadingComplete();
190 191
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 static KeyboardController* instance_; 235 static KeyboardController* instance_;
235 236
236 base::WeakPtrFactory<KeyboardController> weak_factory_; 237 base::WeakPtrFactory<KeyboardController> weak_factory_;
237 238
238 DISALLOW_COPY_AND_ASSIGN(KeyboardController); 239 DISALLOW_COPY_AND_ASSIGN(KeyboardController);
239 }; 240 };
240 241
241 } // namespace keyboard 242 } // namespace keyboard
242 243
243 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ 244 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/test/data/chromeos/virtual_keyboard/inputs.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698