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

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: 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
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_KEYBOARD_CONTROLLER_PROXY_STUB_H_
6 #define ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ 6 #define ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/aura/test/test_window_delegate.h"
9 #include "ui/keyboard/keyboard_controller_proxy.h" 10 #include "ui/keyboard/keyboard_controller_proxy.h"
10 11
12 namespace aura {
13 class Window;
14 } // namespace aura
15
11 namespace ash { 16 namespace ash {
12 17
13 // Stub implementation of KeyboardControllerProxy 18 // Stub implementation of KeyboardControllerProxy
14 class ASH_EXPORT KeyboardControllerProxyStub 19 class ASH_EXPORT KeyboardControllerProxyStub
15 : public keyboard::KeyboardControllerProxy { 20 : public keyboard::KeyboardControllerProxy {
16 public: 21 public:
17 KeyboardControllerProxyStub(); 22 KeyboardControllerProxyStub();
18 virtual ~KeyboardControllerProxyStub(); 23 virtual ~KeyboardControllerProxyStub();
19 24
25 aura::Window* GetKeyboardWindow() OVERRIDE;
26
20 private: 27 private:
21 // Overridden from keyboard::KeyboardControllerProxy: 28 // Overridden from keyboard::KeyboardControllerProxy:
22 virtual content::BrowserContext* GetBrowserContext() OVERRIDE; 29 virtual content::BrowserContext* GetBrowserContext() OVERRIDE;
23 virtual ui::InputMethod* GetInputMethod() OVERRIDE; 30 virtual ui::InputMethod* GetInputMethod() OVERRIDE;
24 virtual void RequestAudioInput(content::WebContents* web_contents, 31 virtual void RequestAudioInput(content::WebContents* web_contents,
25 const content::MediaStreamRequest& request, 32 const content::MediaStreamRequest& request,
26 const content::MediaResponseCallback& callback) OVERRIDE; 33 const content::MediaResponseCallback& callback) OVERRIDE;
27 34
35 aura::test::TestWindowDelegate delegate_;
28 DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub); 36 DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub);
29 }; 37 };
30 38
31 } // namespace ash 39 } // namespace ash
32 40
33 #endif // ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_ 41 #endif // ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698