1 // Copyright (c) 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 UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
8 #include "ui/keyboard/keyboard_export.h"
16 // Observers to the KeyboardController are notified of significant events that
17 // occur with the keyboard, such as the bounds or visiility changing.
18 class KEYBOARD_EXPORT KeyboardControllerObserver
{
20 virtual ~KeyboardControllerObserver() {}
22 // Called when the keyboard bounds or visibility are about to change.
23 virtual void OnKeyboardBoundsChanging(const gfx::Rect
& new_bounds
) = 0;
26 } // namespace keyboard
28 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_