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

Unified Diff: ash/shell/keyboard_controller_proxy_stub.cc

Issue 47873003: Add a full screen virtual keyboard to virtual keyboard root window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
Index: ash/shell/keyboard_controller_proxy_stub.cc
diff --git a/ash/keyboard_controller_proxy_stub.cc b/ash/shell/keyboard_controller_proxy_stub.cc
similarity index 76%
rename from ash/keyboard_controller_proxy_stub.cc
rename to ash/shell/keyboard_controller_proxy_stub.cc
index caaa3dd8a2e1365201b459722936261f77a61cdc..fe783f54def152bdf43a273d3b6522a9f029ce3c 100644
--- a/ash/keyboard_controller_proxy_stub.cc
+++ b/ash/shell/keyboard_controller_proxy_stub.cc
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/keyboard_controller_proxy_stub.h"
+#include "ash/shell/keyboard_controller_proxy_stub.h"
#include "ash/shell.h"
+#include "ui/aura/window.h"
#include "ui/views/corewm/input_method_event_filter.h"
using namespace content;
@@ -17,6 +18,12 @@ KeyboardControllerProxyStub::KeyboardControllerProxyStub() {
KeyboardControllerProxyStub::~KeyboardControllerProxyStub() {
}
+aura::Window* KeyboardControllerProxyStub::GetKeyboardWindow() {
+ aura::Window* window = new aura::Window(&delegate_);
+ window->Init(ui::LAYER_NOT_DRAWN);
+ return window;
oshima 2013/11/01 00:09:02 who owns this?
bshe 2013/11/12 15:28:33 It looks like the keyboard container owns this win
+}
+
BrowserContext* KeyboardControllerProxyStub::GetBrowserContext() {
return Shell::GetInstance()->browser_context();
}

Powered by Google App Engine
This is Rietveld 408576698