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

Side by Side Diff: ui/keyboard/keyboard_controller.h

Issue 13164002: Create and show the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove fixme 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
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 UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/keyboard/keyboard_export.h"
11
12 namespace aura {
13 class Window;
14 } // namespace aura
15
16 namespace keyboard {
17
18 class KeyboardControllerProxy;
19
20 // Provides control of the virtual keyboard, including providing a container,
21 // managing object lifetimes and controlling visibility.
22 class KEYBOARD_EXPORT KeyboardController {
23 public:
24 // Takes ownership of |proxy|.
25 KeyboardController(KeyboardControllerProxy* proxy);
sadrul 2013/04/02 16:10:31 explicit
bryeung 2013/04/03 14:46:03 Done.
26 virtual ~KeyboardController();
27
28 // Returns the container for the keyboard, which is owned by the
29 // KeyboardController.
30 aura::Window* GetContainerWindow();
31
32 private:
33 scoped_ptr<KeyboardControllerProxy> proxy_;
34 scoped_ptr<aura::Window> container_;
35
36 DISALLOW_COPY_AND_ASSIGN(KeyboardController);
37 };
38
39 } // namespace message_center
sadrul 2013/04/02 16:10:31 keyboard
bryeung 2013/04/03 14:46:03 Done.
40
41 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698