Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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_BASE_WIN_OSK_OBSERVER_H_ | |
| 6 #define UI_BASE_WIN_OSK_OBSERVER_H_ | |
| 7 | |
| 8 namespace ui { | |
| 9 | |
| 10 // Implemented by classes who wish to get notified about the on screen keyboard | |
| 11 // becoming visible/hidden. | |
| 12 class UI_BASE_EXPORT OnScreenKeyboardObserver { | |
| 13 public: | |
| 14 virtual ~OnScreenKeyboardObserver() {} | |
|
ananta
2016/05/23 19:32:07
Could not make this protected as per your previous
| |
| 15 | |
| 16 // The |keyboard_rect| parameter contains the bounds of the keyboard in | |
| 17 // pixels. | |
| 18 virtual void OnKeyboardVisible(const gfx::Rect& keyboard_rect_in_pixels) {} | |
| 19 virtual void OnKeyboardHidden(const gfx::Rect& keyboard_rect_in_pixels) {} | |
| 20 }; | |
| 21 | |
| 22 } // namespace ui | |
| 23 | |
| 24 #endif // UI_BASE_WIN_OSK_OBSERVER_H_ | |
| OLD | NEW |