Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef ASH_VIRTUAL_KEYBOARD_OBSERVER_H_ | |
| 6 #define ASH_VIRTUAL_KEYBOARD_OBSERVER_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 #include "ash/shell_observer.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 | |
| 13 // This class observes enter/leaving maximized mode for virtual keyboard. | |
| 14 class ASH_EXPORT VirtualKeyboardObserver : public ShellObserver { | |
|
oshima
2014/09/22 18:39:04
I think VirtualKeyboardController is better name b
bshe
2014/09/22 19:44:31
Make sense. Done.
On 2014/09/22 18:39:04, oshima
| |
| 15 public: | |
| 16 VirtualKeyboardObserver(); | |
| 17 virtual ~VirtualKeyboardObserver(); | |
| 18 | |
| 19 // ShellObserver: | |
| 20 virtual void OnMaximizeModeStarted() OVERRIDE; | |
| 21 virtual void OnMaximizeModeEnded() OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardObserver); | |
| 25 }; | |
| 26 | |
| 27 } // namespace ash | |
| 28 | |
| 29 #endif // ASH_VIRTUAL_KEYBOARD_OBSERVER_H_ | |
| OLD | NEW |