| Index: chrome/browser/renderer_host/render_view_host.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_view_host.cc (revision 13391)
|
| +++ chrome/browser/renderer_host/render_view_host.cc (working copy)
|
| @@ -789,7 +789,6 @@
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateFeedList, OnMsgUpdateFeedList)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ExtensionRequest, OnExtensionRequest)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionChanged, OnMsgSelectionChanged)
|
| - IPC_MESSAGE_HANDLER(ViewHostMsg_SetSelectionText, OnMsgSetSelectionText)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_PasteFromSelectionClipboard,
|
| OnMsgPasteFromSelectionClipboard)
|
| // Have the super handle all other messages.
|
| @@ -1116,16 +1115,11 @@
|
| view()->SetTooltipText(tooltip_text);
|
| }
|
|
|
| -void RenderViewHost::OnMsgSelectionChanged() {
|
| +void RenderViewHost::OnMsgSelectionChanged(const std::string& text) {
|
| if (view())
|
| - view()->SelectionChanged();
|
| + view()->SelectionChanged(text);
|
| }
|
|
|
| -void RenderViewHost::OnMsgSetSelectionText(const std::string& text) {
|
| - if (view())
|
| - view()->SetSelectionText(text);
|
| -}
|
| -
|
| void RenderViewHost::OnMsgPasteFromSelectionClipboard() {
|
| if (view())
|
| view()->PasteFromSelectionClipboard();
|
|
|