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

Unified Diff: ash/root_window_controller.cc

Issue 587243004: Remove more keyboard usability related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « ash/root_window_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index f22800413ca166496320e33cc9950047e7db0f0b..1812e84d2337df24c0c6b2b78a647c4fc23a29c5 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();
« no previous file with comments | « ash/root_window_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698