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

Side by Side Diff: ash/display/virtual_keyboard_window_controller.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_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_
6 #define ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_ 6 #define ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 namespace internal { 14 namespace internal {
15 class DisplayInfo; 15 class DisplayInfo;
16 class RootWindowController; 16 class RootWindowController;
17 17
18 // This class maintains the RootWindowController dedicated for 18 // This class maintains the RootWindowController dedicated for
19 // virtual keyboard. 19 // virtual keyboard.
Ben Goodger (Google) 2013/10/31 17:11:13 Why?
bshe 2013/11/12 15:28:33 discussed offline. Thanks! On 2013/10/31 17:11:13,
20 class ASH_EXPORT VirtualKeyboardWindowController { 20 class ASH_EXPORT VirtualKeyboardWindowController {
21 public: 21 public:
22 VirtualKeyboardWindowController(); 22 VirtualKeyboardWindowController();
23 virtual ~VirtualKeyboardWindowController(); 23 virtual ~VirtualKeyboardWindowController();
24 24
25 RootWindowController* root_window_controller() {
26 return root_window_controller_.get();
27 }
oshima 2013/11/01 00:09:02 then you can remove this.
bshe 2013/11/12 15:28:33 It may be needed by display_controller if we want
28
25 // Updates the root window's bounds using |display_info|. 29 // Updates the root window's bounds using |display_info|.
26 // Creates the new root window if one doesn't exist. 30 // Creates the new root window if one doesn't exist.
27 void UpdateWindow(const DisplayInfo& display_info); 31 void UpdateWindow(const DisplayInfo& display_info);
28 32
29 // Close the mirror window. 33 // Close the mirror window.
30 void Close(); 34 void Close();
31 35
32 private: 36 private:
33 scoped_ptr<RootWindowController> root_window_controller_; 37 scoped_ptr<RootWindowController> root_window_controller_;
34 38
35 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardWindowController); 39 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardWindowController);
36 }; 40 };
37 41
38 } // namespace internal 42 } // namespace internal
39 } // namespace ash 43 } // namespace ash
40 44
41 #endif // ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_ 45 #endif // ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698