| Index: ui/keyboard/keyboard_controller.cc
|
| diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc
|
| index fa52b2add4fe432f747fd09dec87fd7b4f03f465..e86290c778b501396133f15fc42759ce271bfcb1 100644
|
| --- a/ui/keyboard/keyboard_controller.cc
|
| +++ b/ui/keyboard/keyboard_controller.cc
|
| @@ -306,6 +306,10 @@ void KeyboardController::ShowKeyboardInDisplay(int64_t display_id) {
|
| ShowKeyboardInternal(display_id);
|
| }
|
|
|
| +bool KeyboardController::KeyboardHasBeenLoaded() {
|
| + return container_ != nullptr && !container_->children().empty();
|
| +}
|
| +
|
| void KeyboardController::OnWindowHierarchyChanged(
|
| const HierarchyChangeParams& params) {
|
| if (params.new_parent && params.target == container_.get())
|
|
|