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

Side by Side Diff: chrome/browser/ui/ash/ash_keyboard_controller_proxy.h

Issue 13164002: Create and show the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix upstream Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_
6 #define CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/extensions/extension_function_dispatcher.h"
11 #include "content/public/browser/web_contents_observer.h"
12 #include "ui/keyboard/keyboard_controller_proxy.h"
13
14 class ExtensionFunctionDispatcher;
15
16 namespace content {
17 class WebContents;
18 }
19
20 namespace extensions {
21 class WindowController;
22 }
23
24 class AshKeyboardControllerProxy
25 : public keyboard::KeyboardControllerProxy,
26 public content::WebContentsObserver,
27 public ExtensionFunctionDispatcher::Delegate {
28 public:
29 AshKeyboardControllerProxy();
30 virtual ~AshKeyboardControllerProxy();
31
32 // keyboard::KeyboardControllerProxy overrides
33 virtual aura::Window* GetKeyboardWindow() OVERRIDE;
34
35 // ExtensionFunctionDispatcher::Delegate overrides
36 virtual extensions::WindowController* GetExtensionWindowController() const
37 OVERRIDE;
38 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE;
39
40 private:
41 void OnRequest(const ExtensionHostMsg_Request_Params& params);
42
43 // content::WebContentsObserver overrides
44 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
45
46 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
47 scoped_ptr<content::WebContents> web_contents_;
48
49 DISALLOW_COPY_AND_ASSIGN(AshKeyboardControllerProxy);
50 };
51
52 #endif // CHROME_BROWSER_UI_ASH_ASH_KEYBOARD_CONTROLLER_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698