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

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: rebase Created 7 years, 1 month 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/shell/keyboard_controller_proxy_stub.h ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 78%
rename from ash/keyboard_controller_proxy_stub.cc
rename to ash/shell/keyboard_controller_proxy_stub.cc
index 6db733c576012de46e3c3d71d257a290216eeada..700c834365f02671dff6509ae3871363f809e74c 100644
--- a/ash/keyboard_controller_proxy_stub.cc
+++ b/ash/shell/keyboard_controller_proxy_stub.cc
@@ -2,10 +2,11 @@
// 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 "ash/shell_delegate.h"
+#include "ui/aura/window.h"
#include "ui/views/corewm/input_method_event_filter.h"
using namespace content;
@@ -18,6 +19,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()->delegate()->GetCurrentBrowserContext();
}
« no previous file with comments | « ash/shell/keyboard_controller_proxy_stub.h ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698