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

Unified Diff: chrome/renderer/render_view.h

Issue 115468: Only send SelectionChanged events when the selection has actually changed.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « no previous file | chrome/renderer/render_view.cc » ('j') | chrome/renderer/render_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 16275)
+++ chrome/renderer/render_view.h (working copy)
@@ -798,6 +798,9 @@
// If true, we send IPC messages when the preferred width changes.
bool send_preferred_width_changes_;
+ // The text selection the last time DidChangeSelection got called.
+ std::string last_selection_;
+
DISALLOW_COPY_AND_ASSIGN(RenderView);
};
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | chrome/renderer/render_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698