diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 02:52:53 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 02:52:53 +0000 |
commit | 6c2381d5ec28a86536c07dfa4a398a2b6bc1a58c (patch) | |
tree | a75584b11b8ef188b4eb3376b9146e063823a916 /chrome/browser/prerender/prerender_contents.h | |
parent | bf3ee201c1ca5112f7fd173fc4785aa52920c5c0 (diff) | |
download | chromium_src-6c2381d5ec28a86536c07dfa4a398a2b6bc1a58c.zip chromium_src-6c2381d5ec28a86536c07dfa4a398a2b6bc1a58c.tar.gz chromium_src-6c2381d5ec28a86536c07dfa4a398a2b6bc1a58c.tar.bz2 |
Move NotificationObserver, NotificationSource, and NotificationDetails to content/public/browser.
This patch got way bigger than I wanted, but once I moved NotificationDetails, I figured I might as well mvoe the others since they're in the same files. In hindsight, I should have converted a subset of files at a time by leaving a using statement in the header.
BUG=98716
TBR=joi
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prerender/prerender_contents.h')
-rw-r--r-- | chrome/browser/prerender/prerender_contents.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h index 874502e..f508998 100644 --- a/chrome/browser/prerender/prerender_contents.h +++ b/chrome/browser/prerender/prerender_contents.h @@ -16,7 +16,7 @@ #include "chrome/browser/prerender/prerender_final_status.h" #include "content/browser/tab_contents/tab_contents_observer.h" #include "content/browser/renderer_host/render_view_host_delegate.h" -#include "content/common/notification_registrar.h" +#include "content/public/browser/notification_registrar.h" class Profile; class RenderViewHost; @@ -44,7 +44,7 @@ class PrerenderTracker; // NavigationController because is has no facility for navigating (other than // programatically view window.location.href) or RenderViewHostManager because // it is never allowed to navigate across a SiteInstance boundary. -class PrerenderContents : public NotificationObserver, +class PrerenderContents : public content::NotificationObserver, public TabContentsObserver { public: // PrerenderContents::Create uses the currently registered Factory to create @@ -143,10 +143,10 @@ class PrerenderContents : public NotificationObserver, RenderViewHost* render_view_host) OVERRIDE; virtual void RenderViewGone() OVERRIDE; - // NotificationObserver + // content::NotificationObserver virtual void Observe(int type, - const NotificationSource& source, - const NotificationDetails& details) OVERRIDE; + const content::NotificationSource& source, + const content::NotificationDetails& details) OVERRIDE; // Adds an alias URL, for one of the many redirections. If the URL can not // be prerendered - for example, it's an ftp URL - |this| will be destroyed @@ -203,7 +203,7 @@ class PrerenderContents : public NotificationObserver, // once the RenderViewHost has a RenderView and RenderWidgetHostView. virtual void OnRenderViewHostCreated(RenderViewHost* new_render_view_host); - NotificationRegistrar& notification_registrar() { + content::NotificationRegistrar& notification_registrar() { return notification_registrar_; } @@ -255,7 +255,7 @@ class PrerenderContents : public NotificationObserver, int32 page_id_; GURL url_; GURL icon_url_; - NotificationRegistrar notification_registrar_; + content::NotificationRegistrar notification_registrar_; // A vector of URLs that this prerendered page matches against. // This array can contain more than element as a result of redirects, |