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

Unified Diff: content/browser/renderer_host/render_widget_host_view.h

Issue 8294026: Support IMM32 reconversion on Windows (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix review issues 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: content/browser/renderer_host/render_widget_host_view.h
diff --git a/content/browser/renderer_host/render_widget_host_view.h b/content/browser/renderer_host/render_widget_host_view.h
index 3dd65803c82aa8f5f328df32ff776c1a6d49d2af..ede721dea171a55d3489a5884d252cbc8fd2fda5 100644
--- a/content/browser/renderer_host/render_widget_host_view.h
+++ b/content/browser/renderer_host/render_widget_host_view.h
@@ -174,7 +174,7 @@ class RenderWidgetHostView {
// Notifies the View that the renderer text selection has changed.
virtual void SelectionChanged(const string16& text,
size_t offset,
- const ui::Range& range) {}
+ const ui::Range& range);
// Notifies the View that the renderer selection bounds has changed.
// |start_rect| and |end_rect| are the bounds end of the selection in the
@@ -354,6 +354,15 @@ class RenderWidgetHostView {
// locked.
bool mouse_locked_;
+ // A piece of text which convers the selection in the web page.
James Su 2011/10/26 04:25:38 How about something like: A buffer containing the
Peng 2011/10/26 16:20:16 Done.
+ string16 selection_text_;
+
+ // The offset of |selection_text_| in web page.
James Su 2011/10/26 04:25:38 How about something like: The offset of the text s
Peng 2011/10/26 16:20:16 Done.
+ size_t selection_text_offset_;
+
+ // The selection range in the web page.
James Su 2011/10/26 04:25:38 How about: The current selection range relative to
Peng 2011/10/26 16:20:16 Done.
+ ui::Range selection_range_;
+
private:
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
};

Powered by Google App Engine
This is Rietveld 408576698