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

Unified Diff: content/renderer/render_view.h

Issue 7528009: This is the exact same CL as in http://codereview.chromium.org/7570001 . (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view.h
diff --git a/content/renderer/render_view.h b/content/renderer/render_view.h
index 0db56159c59f059d08cb67a305904d0e979d55b0..430f054c359aac15e95fcd27aefa017943984e86 100644
--- a/content/renderer/render_view.h
+++ b/content/renderer/render_view.h
@@ -819,6 +819,7 @@ class RenderView : public RenderWidget,
int id,
bool notify_result);
void OnSelectAll();
+ void OnSelectRange(const gfx::Point& start, const gfx::Point& end);
void OnSetAccessibilityFocus(int acc_obj_id);
void OnSetActive(bool active);
void OnSetAltErrorPageURL(const GURL& gurl);
@@ -1197,6 +1198,10 @@ class RenderView : public RenderWidget,
// is fine.
ObserverList<RenderViewObserver> observers_;
+ // Used to inform didChangeSelection() when it is called in the context
+ // of handling a ViewMsg_SelectRange IPC.
+ bool handling_select_range_;
+
// ---------------------------------------------------------------------------
// ADDING NEW DATA? Please see if it fits appropriately in one of the above
// sections rather than throwing it randomly at the end. If you're adding a
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698