Chromium Code Reviews| Index: chrome/browser/renderer_host/render_widget_host_view_views.h |
| diff --git a/chrome/browser/renderer_host/render_widget_host_view_views.h b/chrome/browser/renderer_host/render_widget_host_view_views.h |
| index 05ba1f7cb6528bcd0eb7a32cbfd8a0f83c6fc4e3..33a35f58f2f30a25a9466f96bdfc896c8ce34a9c 100644 |
| --- a/chrome/browser/renderer_host/render_widget_host_view_views.h |
| +++ b/chrome/browser/renderer_host/render_widget_host_view_views.h |
| @@ -176,9 +176,8 @@ class RenderWidgetHostViewViews : public RenderWidgetHostView, |
| virtual bool GetSelectionRange(ui::Range* range) OVERRIDE; |
| virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE; |
| virtual bool DeleteRange(const ui::Range& range) OVERRIDE; |
| - virtual bool GetTextFromRange( |
| - const ui::Range& range, |
| - const base::Callback<void(const string16&)>& callback) OVERRIDE; |
| + virtual bool GetTextFromRange(const ui::Range& range, |
| + string16* text) OVERRIDE; |
|
Hironori Bono
2011/10/27 06:17:47
nit: can you add '#include "base/compiler_specific
Peng
2011/10/27 16:12:24
Done.
|
| virtual void OnInputMethodChanged() OVERRIDE; |
| virtual bool ChangeTextDirectionAndLayoutAlignment( |
| base::i18n::TextDirection direction) OVERRIDE; |
| @@ -289,9 +288,7 @@ class RenderWidgetHostViewViews : public RenderWidgetHostView, |
| // The current text input type. |
| ui::TextInputType text_input_type_; |
| - string16 selection_text_; |
| - size_t selection_text_offset_; |
| - ui::Range selection_range_; |
| + // Rectangles before and after the selection. |
| gfx::Rect selection_start_rect_; |
| gfx::Rect selection_end_rect_; |