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

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

Issue 2769073002: Remove KEYBOARD_EXPORT. (Closed)
Patch Set: . Created 3 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
« no previous file with comments | « ui/keyboard/keyboard_controller.h ('k') | ui/keyboard/keyboard_event_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_ 5 #ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_ 6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
7 7
8 #include "ui/keyboard/keyboard_export.h" 8 #include "ui/keyboard/keyboard_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 class Rect; 11 class Rect;
12 } 12 }
13 13
14 namespace keyboard { 14 namespace keyboard {
15 15
16 // Observers to the KeyboardController are notified of significant events that 16 // Observers to the KeyboardController are notified of significant events that
17 // occur with the keyboard, such as the bounds or visiility changing. 17 // occur with the keyboard, such as the bounds or visiility changing.
18 class KEYBOARD_EXPORT KeyboardControllerObserver { 18 class KeyboardControllerObserver {
19 public: 19 public:
20 virtual ~KeyboardControllerObserver() {} 20 virtual ~KeyboardControllerObserver() {}
21 21
22 // Called when the keyboard bounds or visibility are about to change. 22 // Called when the keyboard bounds or visibility are about to change.
23 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0; 23 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0;
24 24
25 // Called when the keyboard was closed. 25 // Called when the keyboard was closed.
26 virtual void OnKeyboardClosed() = 0; 26 virtual void OnKeyboardClosed() = 0;
27 27
28 // Called when the keyboard has been hidden and the hiding animation finished 28 // Called when the keyboard has been hidden and the hiding animation finished
29 // successfully 29 // successfully
30 virtual void OnKeyboardHidden() {} 30 virtual void OnKeyboardHidden() {}
31 }; 31 };
32 32
33 } // namespace keyboard 33 } // namespace keyboard
34 34
35 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_ 35 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_controller.h ('k') | ui/keyboard/keyboard_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698