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

Side by Side Diff: ash/shell/keyboard_controller_proxy_stub.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/keyboard_controller_proxy_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ 5 #ifndef ASH_SHELL_KEYBOARD_CONTROLLER_PROXY_STUB_H_
6 #define ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ 6 #define ASH_SHELL_KEYBOARD_CONTROLLER_PROXY_STUB_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ui/aura/test/test_window_delegate.h"
9 #include "ui/keyboard/keyboard_controller_proxy.h" 9 #include "ui/keyboard/keyboard_controller_proxy.h"
10 10
11 namespace aura {
12 class Window;
13 } // namespace aura
14
11 namespace ash { 15 namespace ash {
12 16
13 // Stub implementation of KeyboardControllerProxy 17 // Stub implementation of KeyboardControllerProxy
14 class ASH_EXPORT KeyboardControllerProxyStub 18 class KeyboardControllerProxyStub : public keyboard::KeyboardControllerProxy {
15 : public keyboard::KeyboardControllerProxy {
16 public: 19 public:
17 KeyboardControllerProxyStub(); 20 KeyboardControllerProxyStub();
18 virtual ~KeyboardControllerProxyStub(); 21 virtual ~KeyboardControllerProxyStub();
19 22
23 virtual aura::Window* GetKeyboardWindow() OVERRIDE;
24
20 private: 25 private:
21 // Overridden from keyboard::KeyboardControllerProxy: 26 // Overridden from keyboard::KeyboardControllerProxy:
22 virtual content::BrowserContext* GetBrowserContext() OVERRIDE; 27 virtual content::BrowserContext* GetBrowserContext() OVERRIDE;
23 virtual ui::InputMethod* GetInputMethod() OVERRIDE; 28 virtual ui::InputMethod* GetInputMethod() OVERRIDE;
24 virtual void RequestAudioInput(content::WebContents* web_contents, 29 virtual void RequestAudioInput(content::WebContents* web_contents,
25 const content::MediaStreamRequest& request, 30 const content::MediaStreamRequest& request,
26 const content::MediaResponseCallback& callback) OVERRIDE; 31 const content::MediaResponseCallback& callback) OVERRIDE;
27 32
33 aura::test::TestWindowDelegate delegate_;
28 DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub); 34 DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub);
29 }; 35 };
30 36
31 } // namespace ash 37 } // namespace ash
32 38
33 #endif // ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ 39 #endif // ASH_SHELL_KEYBOARD_CONTROLLER_PROXY_STUB_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/keyboard_controller_proxy_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698