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

Unified Diff: chrome/browser/external_tab_container_win.cc

Issue 3187013: Merge 54867 - ChromeFrame currently overrides the request context for interce... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/external_tab_container_win.cc
===================================================================
--- chrome/browser/external_tab_container_win.cc (revision 56788)
+++ chrome/browser/external_tab_container_win.cc (working copy)
@@ -221,10 +221,6 @@
void ExternalTabContainer::SetTabHandle(int handle) {
tab_handle_ = handle;
- if (automation_resource_message_filter_.get() &&
- load_requests_via_automation_) {
- InitializeAutomationRequestContext(tab_handle_);
- }
}
void ExternalTabContainer::ProcessUnhandledAccelerator(const MSG& msg) {
@@ -888,17 +884,6 @@
return true;
}
-void ExternalTabContainer::InitializeAutomationRequestContext(
- int tab_handle) {
- request_context_ =
- AutomationRequestContext::CreateAutomationURLRequestContextForTab(
- tab_handle, tab_contents_->profile(),
- automation_resource_message_filter_);
-
- DCHECK(request_context_.get() != NULL);
- tab_contents_->set_request_context(request_context_.get());
-}
-
void ExternalTabContainer::LoadAccelerators() {
HACCEL accelerator_table = AtlLoadAccelerators(IDR_CHROMEFRAME);
DCHECK(accelerator_table);
@@ -937,8 +922,6 @@
void ExternalTabContainer::OnReinitialize() {
if (load_requests_via_automation_) {
- InitializeAutomationRequestContext(tab_handle_);
-
RenderViewHost* rvh = tab_contents_->render_view_host();
if (rvh) {
AutomationResourceMessageFilter::ResumePendingRenderView(
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698