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

Unified Diff: ui/keyboard/keyboard_controller.h

Issue 2603663002: Make IME extensions decide when to show the keyboard. (Closed)
Patch Set: Addressed comments. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/keyboard/keyboard_controller.h
diff --git a/ui/keyboard/keyboard_controller.h b/ui/keyboard/keyboard_controller.h
index 2ca8880b4b30d7b4bad60a0b2dd28682d0b84e6a..817fa0d0f2752036a43b59ab9eb632b880b2cc78 100644
--- a/ui/keyboard/keyboard_controller.h
+++ b/ui/keyboard/keyboard_controller.h
@@ -117,6 +117,9 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver,
bool show_on_resize() { return show_on_resize_; }
+ // Returns true if keyboard window has been created.
+ bool IsKeyboardWindowCreated();
+
// Returns the current keyboard bounds. An empty rectangle will get returned
// when the keyboard is not shown or in FLOATING mode.
const gfx::Rect& current_keyboard_bounds() {
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_manager_impl.cc ('k') | ui/keyboard/keyboard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698