Index: views/ime/text_input_client.h |
diff --git a/views/ime/text_input_client.h b/views/ime/text_input_client.h |
index 35c595fc19718790945460d4eb5dcb5e866aaadf..3c25cad3e7d1eac3d385c305bda7c8e2dc3f4f3a 100644 |
--- a/views/ime/text_input_client.h |
+++ b/views/ime/text_input_client.h |
@@ -98,12 +98,12 @@ class VIEWS_EXPORT TextInputClient { |
virtual bool DeleteRange(const ui::Range& range) = 0; |
// Retrieves the text content in a given UTF-16 based character range. |
- // The result will be send back to the input method by calling the given |
- // callback, which may happen asynchronously. |
+ // The result will be write in text and actual_range. |
James Su
2011/10/25 19:15:03
nit: write in -> written into
And please explain t
Peng
2011/10/25 22:01:21
Done.
|
// Returns false if the operation is not supported. |
virtual bool GetTextFromRange( |
const ui::Range& range, |
- const base::Callback<void(const string16&)>& callback) = 0; |
+ string16* text, |
+ ui::Range* actual_range) = 0; |
// Miscellaneous ------------------------------------------------------------ |