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

Unified Diff: ash/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: experiment 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/keyboard_controller_proxy_stub.cc
diff --git a/ash/keyboard_controller_proxy_stub.cc b/ash/keyboard_controller_proxy_stub.cc
index caaa3dd8a2e1365201b459722936261f77a61cdc..1236d203cdcd2ee92ea86eabf43dd9ea15e4fb41 100644
--- a/ash/keyboard_controller_proxy_stub.cc
+++ b/ash/keyboard_controller_proxy_stub.cc
@@ -5,6 +5,7 @@
#include "ash/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;
+}
+
BrowserContext* KeyboardControllerProxyStub::GetBrowserContext() {
return Shell::GetInstance()->browser_context();
}

Powered by Google App Engine
This is Rietveld 408576698