Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1486)

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_views.h

Issue 8294026: Support IMM32 reconversion on Windows (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix return values Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698