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

Side by Side Diff: ui/base/win/osk_display_observer.h

Issue 1986153005: The on screen keyboard on Windows 8+ should not obscure the input field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address sky unittest review comments Created 4 years, 6 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/base/win/osk_display_manager_unittest.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 gfx {
9 class Rect;
10 }
11
12 namespace ui {
13
14 // Implemented by classes who wish to get notified about the on screen keyboard
15 // becoming visible/hidden.
16 class UI_BASE_EXPORT OnScreenKeyboardObserver {
17 public:
18 virtual ~OnScreenKeyboardObserver() {}
19
20 // The |keyboard_rect| parameter contains the bounds of the keyboard in
21 // pixels.
22 virtual void OnKeyboardVisible(const gfx::Rect& keyboard_rect_in_pixels) {}
23 virtual void OnKeyboardHidden(const gfx::Rect& keyboard_rect_in_pixels) {}
24 };
25
26 } // namespace ui
27
28 #endif // UI_BASE_WIN_OSK_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/base/win/osk_display_manager_unittest.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698