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

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

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: rebase Created 3 years, 9 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 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 57bbba47cefdc88ee53f3c77628d5a5e25b2d0ce..b5bb2c3c2730d26372ea6a74c3f3c18574eaab05 100644
--- a/ui/base/ime/text_input_client.h
+++ b/ui/base/ime/text_input_client.h
@@ -159,6 +159,10 @@ class UI_BASE_IME_EXPORT TextInputClient {
// TextInputClient.
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() {}
Shu Chen 2017/03/14 14:42:30 Why adding this? RWHVA is a FocusChangeObserver an
yhanada 2017/03/15 12:54:32 This will also be called when VK size is changed f
+
// 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