Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: ui/keyboard/keyboard_controller_observer.h

Issue 195793004: Implement overscroll support for the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright notice. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
7
8 #include "ui/keyboard/keyboard_export.h"
9
10 namespace gfx {
11 class Rect;
12 }
13
14 namespace keyboard {
15
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 {
19 public:
20 // Called when the keyboard bounds or visibility are about to change.
21 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0;
22 };
23
24 } // namespace keyboard
25
26 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698