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

Side by Side Diff: ui/wm/core/ime_util_chromeos.h

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: rebase Created 3 years, 7 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/wm/BUILD.gn ('k') | ui/wm/core/ime_util_chromeos.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 2017 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_WM_CORE_IME_UTIL_CHROMEOS_H_
6 #define UI_WM_CORE_IME_UTIL_CHROMEOS_H_
7
8 #include "ui/aura/window.h"
9 #include "ui/wm/wm_export.h"
10
11 namespace gfx {
12 class Rect;
13 }
14
15 namespace wm {
16
17 // A property key to store the restore bounds for a window when moved by the
18 // virtual keyboard.
19 WM_EXPORT extern const aura::WindowProperty<gfx::Rect*>* const
20 kVirtualKeyboardRestoreBoundsKey;
21
22 // Moves the window, if needed, to ensure it does not intersect with
23 // |rect_in_screen|.
24 WM_EXPORT void EnsureWindowNotInRect(aura::Window* window,
25 const gfx::Rect& rect_in_screen);
26
27 // Restores the window bounds when input client loses the focus on the window.
28 WM_EXPORT void RestoreWindowBoundsOnClientFocusLost(
29 aura::Window* top_level_window);
30
31 } // namespace wm
32
33 #endif // UI_WM_CORE_IME_UTIL_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ui/wm/BUILD.gn ('k') | ui/wm/core/ime_util_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698