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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 150069: Move RenderViewHostManager back to tab_contents. Moving it to renderer_host... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/tab_contents/tab_contents.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 19906)
+++ chrome/browser/tab_contents/tab_contents.cc (working copy)
@@ -32,6 +32,7 @@
#include "chrome/browser/plugin_installer.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/renderer_host/render_widget_host_view.h"
+#include "chrome/browser/renderer_host/resource_request_details.h"
#include "chrome/browser/renderer_host/web_cache_manager.h"
#include "chrome/browser/tab_contents/infobar_delegate.h"
#include "chrome/browser/tab_contents/interstitial_page.h"
@@ -1716,6 +1717,14 @@
Details<ProvisionalLoadDetails>(&details));
}
+void TabContents::DidStartReceivingResourceResponse(
+ ResourceRequestDetails* details) {
+ NotificationService::current()->Notify(
+ NotificationType::RESOURCE_RESPONSE_STARTED,
+ Source<NavigationController>(&controller()),
+ Details<ResourceRequestDetails>(details));
+}
+
void TabContents::DidRedirectProvisionalLoad(int32 page_id,
const GURL& source_url,
const GURL& target_url) {
@@ -1729,6 +1738,13 @@
entry->set_url(target_url);
}
+void TabContents::DidRedirectResource(ResourceRequestDetails* details) {
+ NotificationService::current()->Notify(
+ NotificationType::RESOURCE_RECEIVED_REDIRECT,
+ Source<NavigationController>(&controller()),
+ Details<ResourceRequestDetails>(details));
+}
+
void TabContents::DidLoadResourceFromMemoryCache(
const GURL& url,
const std::string& frame_origin,
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698