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

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

Issue 63145: Copy text selection from renderer to browser every time it changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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.h
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view.h (revision 13391)
+++ chrome/browser/renderer_host/render_widget_host_view.h (working copy)
@@ -113,11 +113,8 @@
virtual void SetTooltipText(const std::wstring& tooltip_text) = 0;
// Notifies the View that the renderer text selection has changed.
- virtual void SelectionChanged() { };
+ virtual void SelectionChanged(const std::string& text) { };
darin (slow to review) 2009/04/09 05:00:28 nit: no need for trailing ';'
- // Notifies the View what the current selection text is.
- virtual void SetSelectionText(const std::string& text) { };
-
// Tells the View to get the text from the selection clipboard and send it
// back to the renderer asynchronously.
virtual void PasteFromSelectionClipboard() { }
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698