summaryrefslogtreecommitdiffstats
path: root/ash/root_window_controller.cc
diff options
context:
space:
mode:
authorbshe <bshe@chromium.org>2014-09-23 14:18:38 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-23 21:19:12 +0000
commite1eb0a2db824ecdfb3098b26a629c186b969a399 (patch)
tree04479c29587f90967149536726b450d1968bed0a /ash/root_window_controller.cc
parent85bceaa6e05ee1bf42ac220ddcbb50ca268c1ea4 (diff)
downloadchromium_src-e1eb0a2db824ecdfb3098b26a629c186b969a399.zip
chromium_src-e1eb0a2db824ecdfb3098b26a629c186b969a399.tar.gz
chromium_src-e1eb0a2db824ecdfb3098b26a629c186b969a399.tar.bz2
Remove more keyboard usability related code
BUG=414766 Review URL: https://codereview.chromium.org/587243004 Cr-Commit-Position: refs/heads/master@{#296250}
Diffstat (limited to 'ash/root_window_controller.cc')
-rw-r--r--ash/root_window_controller.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index f228004..1812e84 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -274,13 +274,6 @@ void RootWindowController::CreateForSecondaryDisplay(AshWindowTreeHost* host) {
controller->Init(RootWindowController::SECONDARY, false /* first run */);
}
-void RootWindowController::CreateForVirtualKeyboardDisplay(
- AshWindowTreeHost* host) {
- RootWindowController* controller = new RootWindowController(host);
- controller->Init(RootWindowController::VIRTUAL_KEYBOARD,
- false /* first run */);
-}
-
// static
RootWindowController* RootWindowController::ForShelf(
const aura::Window* window) {
@@ -719,14 +712,6 @@ void RootWindowController::Init(RootWindowType root_window_type,
ash_host_->AsWindowTreeHost()->SetCursor(ui::kCursorPointer);
CreateContainersInRootWindow(root_window);
- if (root_window_type == VIRTUAL_KEYBOARD) {
- aura::Window* virtual_keyboard_parent_container = GetContainer(
- kShellWindowId_VirtualKeyboardParentContainer);
- virtual_keyboard_parent_container->SetBounds(root_window->bounds());
- shell->InitKeyboard();
- return;
- }
-
CreateSystemBackground(first_run_after_boot);
InitLayoutManagers();