Chromium Code Reviews| 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(); |
| } |