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

Unified Diff: ui/base/ime/text_input_client.h

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: fix test crashes Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/ime/text_input_client.h
diff --git a/ui/base/ime/text_input_client.h b/ui/base/ime/text_input_client.h
index d76c00a49a9681f9f2171a652549ef75eeeed778..46ba5093fcc2e2ae5743765eb4bd0f2f2822fa48 100644
--- a/ui/base/ime/text_input_client.h
+++ b/ui/base/ime/text_input_client.h
@@ -170,6 +170,10 @@ class UI_BASE_IME_EXPORT TextInputClient {
// http://crbug.com/360334
virtual void EnsureCaretNotInRect(const gfx::Rect& rect) = 0;
+ // Called when this input client is no longer focused. Used to restore window
+ // bounds when moved by accessibility virtual keyboard.
+ virtual void OnClientFocusLost() {}
oshima 2016/12/13 18:15:07 Won't this happens when a user closes VK, or VK is
yhanada 2017/01/12 02:19:56 This will be also called when a user closes VK by
oshima 2017/01/18 02:37:19 On second thought, let's keep it.
+
// Returns true if |command| is currently allowed to be executed.
virtual bool IsTextEditCommandEnabled(TextEditCommand command) const = 0;

Powered by Google App Engine
This is Rietveld 408576698