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

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

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: address the 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 unified diff | Download patch
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 #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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 // Notify observers after animation finished to prevent reveal desktop 502 // Notify observers after animation finished to prevent reveal desktop
503 // background during animation. 503 // background during animation.
504 NotifyKeyboardBoundsChanging(container_->bounds()); 504 NotifyKeyboardBoundsChanging(container_->bounds());
505 ui_->EnsureCaretInWorkArea(); 505 ui_->EnsureCaretInWorkArea();
506 } 506 }
507 507
508 void KeyboardController::HideAnimationFinished() { 508 void KeyboardController::HideAnimationFinished() {
509 ui_->HideKeyboardContainer(container_.get()); 509 ui_->HideKeyboardContainer(container_.get());
510 for (KeyboardControllerObserver& observer : observer_list_) 510 for (KeyboardControllerObserver& observer : observer_list_)
511 observer.OnKeyboardHidden(); 511 observer.OnKeyboardHidden();
512 ui_->EnsureCaretInWorkArea();
512 } 513 }
513 514
514 } // namespace keyboard 515 } // namespace keyboard
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698