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

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

Issue 55052: Copy selection to x clipboard. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 13031)
+++ chrome/browser/renderer_host/render_widget_host_view.h (working copy)
@@ -112,6 +112,12 @@
// the page has changed.
virtual void SetTooltipText(const std::wstring& tooltip_text) = 0;
+ // Notifies the View that the renderer text selection has changed.
+ virtual void SelectionChanged() { };
+
+ // 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