Index: content/browser/renderer_host/render_view_host.cc |
=================================================================== |
--- content/browser/renderer_host/render_view_host.cc (revision 101850) |
+++ content/browser/renderer_host/render_view_host.cc (working copy) |
@@ -481,49 +481,6 @@ |
return next_id++; |
} |
-void RenderViewHost::Undo() { |
- Send(new ViewMsg_Undo(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("Undo")); |
-} |
- |
-void RenderViewHost::Redo() { |
- Send(new ViewMsg_Redo(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("Redo")); |
-} |
- |
-void RenderViewHost::Cut() { |
- Send(new ViewMsg_Cut(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("Cut")); |
-} |
- |
-void RenderViewHost::Copy() { |
- Send(new ViewMsg_Copy(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("Copy")); |
-} |
- |
-void RenderViewHost::CopyToFindPboard() { |
-#if defined(OS_MACOSX) |
- // Windows/Linux don't have the concept of a find pasteboard. |
- Send(new ViewMsg_CopyToFindPboard(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("CopyToFindPboard")); |
-#endif |
-} |
- |
-void RenderViewHost::Paste() { |
- Send(new ViewMsg_Paste(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("Paste")); |
-} |
- |
-void RenderViewHost::Delete() { |
- Send(new ViewMsg_Delete(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("DeleteSelection")); |
-} |
- |
-void RenderViewHost::SelectAll() { |
- Send(new ViewMsg_SelectAll(routing_id())); |
- UserMetrics::RecordAction(UserMetricsAction("SelectAll")); |
-} |
- |
void RenderViewHost::JavaScriptDialogClosed(IPC::Message* reply_msg, |
bool success, |
const string16& user_input) { |
@@ -1261,6 +1218,22 @@ |
} |
} |
+void RenderViewHost::SetAltErrorPageURL(const GURL& url) { |
+ Send(new ViewMsg_SetAltErrorPageURL(routing_id(), url)); |
+} |
+ |
+void RenderViewHost::ExitFullscreen() { |
+ Send(new ViewMsg_ExitFullscreen(routing_id())); |
+} |
+ |
+void RenderViewHost::UpdateWebkitPreferences(const WebPreferences& prefs) { |
+ Send(new ViewMsg_UpdateWebPreferences(routing_id(), prefs)); |
+} |
+ |
+void RenderViewHost::ClearFocusedNode() { |
+ Send(new ViewMsg_ClearFocusedNode(routing_id())); |
+} |
+ |
void RenderViewHost::OnAccessibilityNotifications( |
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params) { |
if (view() && !is_swapped_out_) |