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 1ecc19063aa85a614cb6373761bae79cfae3082d..14b96018e3b5fd3059935e2152cc9c74ed41b559 100644 |
--- a/ui/base/ime/text_input_client.h |
+++ b/ui/base/ime/text_input_client.h |
@@ -127,6 +127,11 @@ class UI_EXPORT TextInputClient { |
// Returns false if the operation is not supported. |
virtual bool ChangeTextDirectionAndLayoutAlignment( |
base::i18n::TextDirection direction) = 0; |
+ |
+ // Deletes the current selection plus the specified number of characters |
+ // before and after the selection or caret. |
+ // |before| and |after| can't be negative. |
+ virtual void ExtendSelectionAndDelete(int before, int after) = 0; |
}; |
} // namespace ui |