| Index: ui/wm/core/ime_util.h
|
| diff --git a/ui/wm/core/ime_util.h b/ui/wm/core/ime_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9fa69e04e8bc641d84c80483f192e3f58ea746bc
|
| --- /dev/null
|
| +++ b/ui/wm/core/ime_util.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_WM_CORE_IME_UTIL_H_
|
| +#define UI_WM_CORE_IME_UTIL_H_
|
| +
|
| +#include "ui/wm/wm_export.h"
|
| +
|
| +namespace aura {
|
| +class Window;
|
| +}
|
| +
|
| +namespace gfx {
|
| +class Rect;
|
| +}
|
| +
|
| +namespace wm {
|
| +
|
| +// Moves the window to ensure caret not in rect.
|
| +// Returns whether the window is actually moved or not.
|
| +WM_EXPORT bool MoveWindowToEnsureCaretNotInRect(
|
| + aura::Window* window,
|
| + const gfx::Rect& rect_in_screen);
|
| +
|
| +// Restores the window bounds when input client loses the focus on the window
|
| +WM_EXPORT void RestoreWindowBoundsOnClientFocusLost(aura::Window* window);
|
| +
|
| +} // namespace wm
|
| +
|
| +#endif // UI_WM_CORE_IME_UTIL_H_
|
|
|