OLD | NEW |
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 #include "ui/keyboard/keyboard_controller.h" | 5 #include "ui/keyboard/keyboard_controller.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 | 479 |
480 void KeyboardController::ShowAnimationFinished() { | 480 void KeyboardController::ShowAnimationFinished() { |
481 // Notify observers after animation finished to prevent reveal desktop | 481 // Notify observers after animation finished to prevent reveal desktop |
482 // background during animation. | 482 // background during animation. |
483 NotifyKeyboardBoundsChanging(container_->bounds()); | 483 NotifyKeyboardBoundsChanging(container_->bounds()); |
484 ui_->EnsureCaretInWorkArea(); | 484 ui_->EnsureCaretInWorkArea(); |
485 } | 485 } |
486 | 486 |
487 void KeyboardController::HideAnimationFinished() { | 487 void KeyboardController::HideAnimationFinished() { |
488 ui_->HideKeyboardContainer(container_.get()); | 488 ui_->HideKeyboardContainer(container_.get()); |
| 489 FOR_EACH_OBSERVER(KeyboardControllerObserver, observer_list_, |
| 490 OnKeyboardHidden()); |
489 } | 491 } |
490 | 492 |
491 } // namespace keyboard | 493 } // namespace keyboard |
OLD | NEW |