Index: chrome/browser/web_contents_view.cc |
=================================================================== |
--- chrome/browser/web_contents_view.cc (revision 4621) |
+++ chrome/browser/web_contents_view.cc (working copy) |
@@ -10,9 +10,11 @@ |
modal_dialog_event); |
} |
-void WebContentsView::CreateNewWidget(int route_id) { |
+void WebContentsView::CreateNewWidget(int route_id, |
+ bool focus_on_show) { |
// Save the created widget associated with the route so we can show it later. |
- pending_widget_views_[route_id] = CreateNewWidgetInternal(route_id); |
+ pending_widget_views_[route_id] = CreateNewWidgetInternal(route_id, |
+ focus_on_show); |
} |
void WebContentsView::ShowCreatedWindow(int route_id, |