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; |