Chromium Code Reviews| 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 3d032b0500fd0a0f9e2dd1ad1afdb84a1832003d..8927a5a782a4cb472df44b859bfd60be934ceb75 100644 |
| --- a/ui/base/ime/text_input_client.h |
| +++ b/ui/base/ime/text_input_client.h |
| @@ -162,13 +162,13 @@ class UI_BASE_IME_EXPORT TextInputClient { |
| // between browser and renderer. |
| virtual void ExtendSelectionAndDelete(size_t before, size_t after) = 0; |
| - // Ensure the caret is within |rect|. |rect| is in screen coordinates and |
| + // Ensure the caret is out of |rect|. |rect| is in screen coordinates and |
| // may extend beyond the bounds of this TextInputClient. |
| // Note: On Windows, the returned value is supposed to be DIP (Density |
| // Independent Pixel). |
| // TODO(ime): Have a clear spec whether the returned value is DIP or not. |
| // http://crbug.com/360334 |
| - virtual void EnsureCaretInRect(const gfx::Rect& rect) = 0; |
| + virtual void EnsureCaretOutOfRect(const gfx::Rect& rect) = 0; |
|
sky
2016/12/06 17:32:14
What does 'out of' rect mean in this context? Mayb
yhanada
2016/12/07 03:25:52
Done.
|
| // Returns true if |command| is currently allowed to be executed. |
| virtual bool IsTextEditCommandEnabled(TextEditCommand command) const = 0; |