blob: 174d06bb3507f924856d4586ff03c33382419368 [file] [log] [blame]
// Copyright (c) 2013 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.
#include "ui/keyboard/keyboard_export.h"
namespace gfx {
class Rect;
namespace keyboard {
// Observers to the KeyboardController are notified of significant events that
// occur with the keyboard, such as the bounds or visiility changing.
class KEYBOARD_EXPORT KeyboardControllerObserver {
virtual ~KeyboardControllerObserver() {}
// Called when the keyboard bounds or visibility are about to change.
virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0;
} // namespace keyboard