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

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

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/remote_input_method_win_unittest.cc ('k') | ui/keyboard/keyboard_controller.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) 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/event_types.h" 9 #include "base/event_types.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override; 118 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override;
119 119
120 // InputMethodObserver overrides 120 // InputMethodObserver overrides
121 void OnTextInputTypeChanged(const ui::TextInputClient* client) override {} 121 void OnTextInputTypeChanged(const ui::TextInputClient* client) override {}
122 void OnFocus() override {} 122 void OnFocus() override {}
123 void OnBlur() override {} 123 void OnBlur() override {}
124 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {} 124 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {}
125 void OnTextInputStateChanged(const ui::TextInputClient* client) override; 125 void OnTextInputStateChanged(const ui::TextInputClient* client) override;
126 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override; 126 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override;
127 void OnShowImeIfNeeded() override; 127 void OnShowImeIfNeeded() override;
128 void OnKeyboardBoundsUnchanged() override;
128 129
129 // Show virtual keyboard immediately with animation. 130 // Show virtual keyboard immediately with animation.
130 void ShowKeyboardInternal(); 131 void ShowKeyboardInternal();
131 132
132 // Clears any insets on web content windows. 133 // Clears any insets on web content windows.
133 void ResetWindowInsets(); 134 void ResetWindowInsets();
134 135
135 // Returns true if keyboard is scheduled to hide. 136 // Returns true if keyboard is scheduled to hide.
136 bool WillHideKeyboard() const; 137 bool WillHideKeyboard() const;
137 138
(...skipping 29 matching lines...) Expand all
167 static KeyboardController* instance_; 168 static KeyboardController* instance_;
168 169
169 base::WeakPtrFactory<KeyboardController> weak_factory_; 170 base::WeakPtrFactory<KeyboardController> weak_factory_;
170 171
171 DISALLOW_COPY_AND_ASSIGN(KeyboardController); 172 DISALLOW_COPY_AND_ASSIGN(KeyboardController);
172 }; 173 };
173 174
174 } // namespace keyboard 175 } // namespace keyboard
175 176
176 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ 177 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/remote_input_method_win_unittest.cc ('k') | ui/keyboard/keyboard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698