Ensure that the main window does not render as deactivated when the link disambiguati...
[chromium-blink-merge.git] / ash / virtual_keyboard_controller.h
blobebbc0fde1858a41f2e32c56d971f967ee831eed1
1 // Copyright 2014 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_VIRTUAL_KEYBOARD_CONTROLLER_H_
6 #define ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_
8 #include "ash/ash_export.h"
9 #include "ash/shell_observer.h"
11 namespace ash {
13 // This class observes enter/leaving maximized mode for virtual keyboard.
14 class ASH_EXPORT VirtualKeyboardController : public ShellObserver {
15 public:
16 VirtualKeyboardController();
17 virtual ~VirtualKeyboardController();
19 // ShellObserver:
20 virtual void OnMaximizeModeStarted() override;
21 virtual void OnMaximizeModeEnded() override;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController);
27 } // namespace ash
29 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_