Index: chrome/browser/renderer_host/render_widget_host_view_gtk.cc |
=================================================================== |
--- chrome/browser/renderer_host/render_widget_host_view_gtk.cc (revision 25640) |
+++ chrome/browser/renderer_host/render_widget_host_view_gtk.cc (working copy) |
@@ -524,11 +524,6 @@ |
gtk_clipboard_set_text(x_clipboard, text.c_str(), text.length()); |
} |
-void RenderWidgetHostViewGtk::PasteFromSelectionClipboard() { |
- GtkClipboard* x_clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY); |
- gtk_clipboard_request_text(x_clipboard, ReceivedSelectionText, this); |
-} |
- |
void RenderWidgetHostViewGtk::ShowingContextMenu(bool showing) { |
is_showing_context_menu_ = showing; |
} |
@@ -614,17 +609,6 @@ |
gdk_cursor_unref(gdk_cursor); |
} |
-void RenderWidgetHostViewGtk::ReceivedSelectionText(GtkClipboard* clipboard, |
- const gchar* text, gpointer userdata) { |
- // If there's nothing to paste (|text| is NULL), do nothing. |
- if (!text) |
- return; |
- RenderWidgetHostViewGtk* host_view = |
- reinterpret_cast<RenderWidgetHostViewGtk*>(userdata); |
- host_view->host_->Send(new ViewMsg_InsertText(host_view->host_->routing_id(), |
- UTF8ToUTF16(text))); |
-} |
- |
void RenderWidgetHostViewGtk::CreatePluginContainer( |
gfx::PluginWindowHandle id) { |
plugin_container_manager_.CreatePluginContainer(id); |