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

Side by Side Diff: chrome/browser/external_tab_container_win.cc

Issue 9580002: Add ResourceRequestInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/user_script_listener.cc ('k') | chrome/browser/plugin_installer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/external_tab_container_win.h" 5 #include "chrome/browser/external_tab_container_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 23 matching lines...) Expand all
34 #include "chrome/browser/ui/views/browser_dialogs.h" 34 #include "chrome/browser/ui/views/browser_dialogs.h"
35 #include "chrome/browser/ui/views/infobars/infobar_container_view.h" 35 #include "chrome/browser/ui/views/infobars/infobar_container_view.h"
36 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h" 36 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h"
37 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" 37 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
38 #include "chrome/common/automation_messages.h" 38 #include "chrome/common/automation_messages.h"
39 #include "chrome/common/chrome_constants.h" 39 #include "chrome/common/chrome_constants.h"
40 #include "chrome/common/chrome_notification_types.h" 40 #include "chrome/common/chrome_notification_types.h"
41 #include "chrome/common/render_messages.h" 41 #include "chrome/common/render_messages.h"
42 #include "chrome/common/url_constants.h" 42 #include "chrome/common/url_constants.h"
43 #include "content/browser/load_notification_details.h" 43 #include "content/browser/load_notification_details.h"
44 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
45 #include "content/browser/tab_contents/provisional_load_details.h" 44 #include "content/browser/tab_contents/provisional_load_details.h"
46 #include "content/public/browser/native_web_keyboard_event.h" 45 #include "content/public/browser/native_web_keyboard_event.h"
47 #include "content/public/browser/navigation_details.h" 46 #include "content/public/browser/navigation_details.h"
48 #include "content/public/browser/navigation_entry.h" 47 #include "content/public/browser/navigation_entry.h"
49 #include "content/public/browser/notification_service.h" 48 #include "content/public/browser/notification_service.h"
50 #include "content/public/browser/render_process_host.h" 49 #include "content/public/browser/render_process_host.h"
51 #include "content/public/browser/render_view_host.h" 50 #include "content/public/browser/render_view_host.h"
52 #include "content/public/browser/web_contents.h" 51 #include "content/public/browser/web_contents.h"
53 #include "content/public/browser/web_intents_dispatcher.h" 52 #include "content/public/browser/web_intents_dispatcher.h"
54 #include "content/public/common/bindings_policy.h" 53 #include "content/public/common/bindings_policy.h"
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 if (params.disposition == CURRENT_TAB) { 1207 if (params.disposition == CURRENT_TAB) {
1209 DCHECK(route_all_top_level_navigations_); 1208 DCHECK(route_all_top_level_navigations_);
1210 forward_params.disposition = NEW_FOREGROUND_TAB; 1209 forward_params.disposition = NEW_FOREGROUND_TAB;
1211 } 1210 }
1212 WebContents* new_contents = 1211 WebContents* new_contents =
1213 ExternalTabContainer::OpenURLFromTab(source, forward_params); 1212 ExternalTabContainer::OpenURLFromTab(source, forward_params);
1214 // support only one navigation for a dummy tab before it is killed. 1213 // support only one navigation for a dummy tab before it is killed.
1215 ::DestroyWindow(GetNativeView()); 1214 ::DestroyWindow(GetNativeView());
1216 return new_contents; 1215 return new_contents;
1217 } 1216 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/user_script_listener.cc ('k') | chrome/browser/plugin_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698