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
3 // found in the LICENSE file.
5 #ifndef ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_
6 #define ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_
8 #include "ash/ash_export.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h"
16 class RootWindowController;
18 // This class maintains the RootWindowController dedicated for
20 class ASH_EXPORT VirtualKeyboardWindowController {
22 VirtualKeyboardWindowController();
23 virtual ~VirtualKeyboardWindowController();
25 // Updates the root window's bounds using |display_info|.
26 // Creates the new root window if one doesn't exist.
27 void UpdateWindow(const DisplayInfo& display_info);
29 // Close the mirror window.
33 scoped_ptr<RootWindowController> root_window_controller_;
35 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardWindowController);
38 } // namespace internal
41 #endif // ASH_DISPLAY_VIRTUAL_KEYBOARD_WINDOW_CONTROLLER_H_