OOPIF: Allow navigations on a RFH without a site to stay in same process.
[chromium-blink-merge.git] / ash / virtual_keyboard_controller.h
blob47ef475c9b6ef0015d713592cdfb48cbb8e7b1bf
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_