Chromium Code Reviews| Index: ash/virtual_keyboard_observer.h |
| diff --git a/ash/virtual_keyboard_observer.h b/ash/virtual_keyboard_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2f4cbd49a54eb5454e3a62c1a8f21d237ba558e1 |
| --- /dev/null |
| +++ b/ash/virtual_keyboard_observer.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ASH_VIRTUAL_KEYBOARD_OBSERVER_H_ |
| +#define ASH_VIRTUAL_KEYBOARD_OBSERVER_H_ |
| + |
| +#include "ash/ash_export.h" |
| +#include "ash/shell_observer.h" |
| + |
| +namespace ash { |
| + |
| +// This class observes enter/leaving maximized mode for virtual keyboard. |
| +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
|
| + public: |
| + VirtualKeyboardObserver(); |
| + virtual ~VirtualKeyboardObserver(); |
| + |
| + // ShellObserver: |
| + virtual void OnMaximizeModeStarted() OVERRIDE; |
| + virtual void OnMaximizeModeEnded() OVERRIDE; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardObserver); |
| +}; |
| + |
| +} // namespace ash |
| + |
| +#endif // ASH_VIRTUAL_KEYBOARD_OBSERVER_H_ |