Home
last modified time | relevance | path

Searched refs:PrerenderContents (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/chrome/browser/prerender/
Dprerender_contents.cc94 const int PrerenderContents::kNumCookieStatuses =
98 const int PrerenderContents::kNumCookieSendTypes = COOKIE_SEND_TYPE_MAX;
100 class PrerenderContentsFactoryImpl : public PrerenderContents::Factory {
102 virtual PrerenderContents* CreatePrerenderContents( in CreatePrerenderContents()
106 return new PrerenderContents(prerender_manager, profile, in CreatePrerenderContents()
113 class PrerenderContents::WebContentsDelegateImpl
116 explicit WebContentsDelegateImpl(PrerenderContents* prerender_contents) in WebContentsDelegateImpl()
198 PrerenderContents* prerender_contents_;
201 void PrerenderContents::Observer::OnPrerenderStopLoading( in OnPrerenderStopLoading()
202 PrerenderContents* contents) { in OnPrerenderStopLoading()
[all …]
Dprerender_handle.h21 class PrerenderContents; variable
31 public PrerenderContents::Observer {
82 PrerenderContents* contents() const;
106 virtual void OnPrerenderStart(PrerenderContents* prerender_contents) OVERRIDE;
107 virtual void OnPrerenderStopLoading(PrerenderContents* prerender_contents)
110 PrerenderContents* prerender_contents) OVERRIDE;
111 virtual void OnPrerenderStop(PrerenderContents* prerender_contents) OVERRIDE;
113 PrerenderContents* contents, PrerenderContents* replacement) OVERRIDE;
Dprerender_contents.h52 class PrerenderContents : public content::NotificationObserver,
54 public base::SupportsWeakPtr<PrerenderContents> {
65 virtual PrerenderContents* CreatePrerenderContents(
80 virtual void OnPrerenderStart(PrerenderContents* contents) = 0;
83 virtual void OnPrerenderStopLoading(PrerenderContents* contents);
86 virtual void OnPrerenderDomContentLoaded(PrerenderContents* contents);
91 virtual void OnPrerenderStop(PrerenderContents* contents) = 0;
95 PrerenderContents* contents, PrerenderContents* replacement);
125 virtual ~PrerenderContents();
136 PrerenderContents* CreateMatchCompleteReplacement();
[all …]
Dprerender_manager.h176 virtual void MoveEntryToPendingDelete(PrerenderContents* entry,
219 PrerenderContents* GetPrerenderContents(
225 virtual PrerenderContents* GetPrerenderContentsForRoute(
268 PrerenderContents::MatchCompleteStatus mc_status,
343 PrerenderContents::CookieEvent event,
390 PrerenderContents* contents,
413 PrerenderContents* contents() { return contents_.get(); } in contents()
415 PrerenderContents* ReleaseContents();
435 scoped_ptr<PrerenderContents> contents_;
519 PrerenderContents::Factory* prerender_contents_factory);
[all …]
Dprerender_handle.cc61 PrerenderContents* PrerenderHandle::contents() const { in contents()
85 void PrerenderHandle::OnPrerenderStart(PrerenderContents* prerender_contents) { in OnPrerenderStart()
94 PrerenderContents* prerender_contents) { in OnPrerenderStopLoading()
103 PrerenderContents* prerender_contents) { in OnPrerenderDomContentLoaded()
111 void PrerenderHandle::OnPrerenderStop(PrerenderContents* prerender_contents) { in OnPrerenderStop()
118 PrerenderContents* contents, PrerenderContents* replacement) { in OnPrerenderCreatedMatchCompleteReplacement()
Dprerender_link_manager.h31 class PrerenderContents; variable
84 PrerenderContents* deferred_launcher);
102 PrerenderContents* deferred_launcher;
141 void StartPendingPrerendersForLauncher(PrerenderContents* launcher);
144 void CancelPendingPrerendersForLauncher(PrerenderContents* launcher);
Dprerender_resource_throttle.cc25 PrerenderContents* g_prerender_contents_for_testing;
29 PrerenderContents* contents) { in OverridePrerenderContentsForTesting()
86 PrerenderContents* prerender_contents = in WillStartRequestOnUI()
124 PrerenderContents* prerender_contents = in WillRedirectRequestOnUI()
156 PrerenderContents* PrerenderResourceThrottle::PrerenderContentsFromRenderFrame( in PrerenderContentsFromRenderFrame()
164 return PrerenderContents::FromWebContents(web_contents); in PrerenderContentsFromRenderFrame()
Dprerender_histograms.cc382 PrerenderContents::MatchCompleteStatus mc_status, in RecordFinalStatus()
386 if (mc_status == PrerenderContents::MATCH_COMPLETE_DEFAULT || in RecordFinalStatus()
387 mc_status == PrerenderContents::MATCH_COMPLETE_REPLACED) { in RecordFinalStatus()
392 if (mc_status == PrerenderContents::MATCH_COMPLETE_DEFAULT || in RecordFinalStatus()
393 mc_status == PrerenderContents::MATCH_COMPLETE_REPLACEMENT || in RecordFinalStatus()
394 mc_status == PrerenderContents::MATCH_COMPLETE_REPLACEMENT_PENDING) { in RecordFinalStatus()
413 DCHECK_LT(cookie_status, PrerenderContents::kNumCookieStatuses); in RecordCookieStatus()
417 PrerenderContents::kNumCookieStatuses)); in RecordCookieStatus()
425 DCHECK_LT(cookie_send_type, PrerenderContents::kNumCookieSendTypes); in RecordCookieSendType()
429 PrerenderContents::kNumCookieSendTypes)); in RecordCookieSendType()
Dprerender_manager.cc242 prerender_contents_factory_(PrerenderContents::CreateFactory()), in PrerenderManager()
402 PrerenderContents* prerender_contents = in CancelAllPrerenders()
626 scoped_ptr<PrerenderContents> in SwapInternal()
676 void PrerenderManager::MoveEntryToPendingDelete(PrerenderContents* entry, in MoveEntryToPendingDelete()
692 PrerenderContents::MATCH_COMPLETE_DEFAULT && in MoveEntryToPendingDelete()
803 if (PrerenderContents* prerender_contents = in IsWebContentsPrerendering()
821 PrerenderContents* prerender_contents = (*it)->contents(); in HasPrerenderedUrl()
829 PrerenderContents* PrerenderManager::GetPrerenderContents( in GetPrerenderContents()
856 PrerenderContents* PrerenderManager::GetPrerenderContentsForRoute( in GetPrerenderContentsForRoute()
959 PrerenderContents::MatchCompleteStatus mc_status, in RecordFinalStatusWithMatchCompleteStatus()
[all …]
Dprerender_resource_throttle.h19 class PrerenderContents; variable
42 static void OverridePrerenderContentsForTesting(PrerenderContents* contents);
68 static PrerenderContents* PrerenderContentsFromRenderFrame(
Dprerender_link_manager.cc103 : public PrerenderContents::Observer {
110 for (std::set<PrerenderContents*>::iterator i = observed_launchers_.begin(); in ~PendingPrerenderManager()
116 void ObserveLauncher(PrerenderContents* launcher) { in ObserveLauncher()
124 virtual void OnPrerenderStart(PrerenderContents* launcher) OVERRIDE {} in OnPrerenderStart()
126 virtual void OnPrerenderStop(PrerenderContents* launcher) OVERRIDE { in OnPrerenderStop()
141 std::set<PrerenderContents*> observed_launchers_;
185 PrerenderContents* prerender_contents = in OnAddPrerender()
264 PrerenderContents* deferred_launcher) in LinkPrerender()
459 PrerenderContents* launcher) { in StartPendingPrerendersForLauncher()
469 PrerenderContents* launcher) { in CancelPendingPrerendersForLauncher()
Dprerender_unittest.cc45 class DummyPrerenderContents : public PrerenderContents {
77 return PrerenderContents::prerendering_has_been_cancelled(); in prerendering_has_been_cancelled()
122 virtual void MoveEntryToPendingDelete(PrerenderContents* entry, in MoveEntryToPendingDelete()
129 PrerenderContents* FindEntry(const GURL& url) { in FindEntry()
137 PrerenderContents* FindAndUseEntry(const GURL& url) { in FindAndUseEntry()
144 PrerenderContents* prerender_contents = prerender_data->ReleaseContents(); in FindAndUseEntry()
202 PrerenderContents* next_prerender_contents() { in next_prerender_contents()
215 virtual PrerenderContents* GetPrerenderContentsForRoute( in GetPrerenderContentsForRoute()
227 PrerenderContents* prerender_contents) { in DummyPrerenderContentsStarted()
251 virtual PrerenderContents* CreatePrerenderContents( in CreatePrerenderContents()
[all …]
Dprerender_tracker_unittest.cc37 class TestPrerenderContents : public PrerenderContents {
41 : PrerenderContents(prerender_manager, static_cast<Profile*>(NULL), in TestPrerenderContents()
92 virtual void MoveEntryToPendingDelete(PrerenderContents* entry, in MoveEntryToPendingDelete()
Dprerender_histograms.h83 PrerenderContents::MatchCompleteStatus mc_status,
Dprerender_browsertest.cc389 class TestPrerenderContents : public PrerenderContents {
398 : PrerenderContents(prerender_manager, profile, url, in TestPrerenderContents()
450 PrerenderContents::RenderProcessGone(status); in RenderProcessGone()
457 return PrerenderContents::CheckURL(url); in CheckURL()
483 PrerenderContents::OnRenderViewHostCreated(new_render_view_host); in OnRenderViewHostCreated()
505 PrerenderContents::Observe(type, source, details); in Observe()
527 class TestPrerender : public PrerenderContents::Observer,
572 virtual void OnPrerenderStart(PrerenderContents* contents) OVERRIDE { in OnPrerenderStart()
576 virtual void OnPrerenderStopLoading(PrerenderContents* contents) OVERRIDE { in OnPrerenderStopLoading()
582 virtual void OnPrerenderStop(PrerenderContents* contents) OVERRIDE { in OnPrerenderStop()
[all …]
/external/chromium_org/chrome/browser/ui/
Dtab_helpers.h21 class PrerenderContents; variable
51 friend class prerender::PrerenderContents;
/external/chromium_org/chrome/browser/ui/search/
Dinstant_search_prerenderer_unittest.cc42 using prerender::PrerenderContents;
48 class DummyPrerenderContents : public PrerenderContents {
76 class DummyPrerenderContentsFactory : public PrerenderContents::Factory {
85 virtual PrerenderContents* CreatePrerenderContents(
108 : PrerenderContents(prerender_manager, profile, url, referrer, origin, in DummyPrerenderContents()
149 PrerenderContents* DummyPrerenderContentsFactory::CreatePrerenderContents( in CreatePrerenderContents()
/external/chromium_org/chrome/browser/apps/
Dapp_url_redirector.cc50 prerender::PrerenderContents* prerender_contents = in LaunchAppWithUrl()
51 prerender::PrerenderContents::FromWebContents(source); in LaunchAppWithUrl()
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate.cc157 prerender::PrerenderContents* prerender_contents = in UpdatePrerenderNetworkBytesCallback()
158 prerender::PrerenderContents::FromWebContents(web_contents); in UpdatePrerenderNetworkBytesCallback()
185 prerender::PrerenderContents* prerender_contents = in SendExecuteMimeTypeHandlerEvent()
186 prerender::PrerenderContents::FromWebContents(web_contents); in SendExecuteMimeTypeHandlerEvent()
214 prerender::PrerenderContents* prerender_contents = in LaunchURL()
215 prerender::PrerenderContents::FromWebContents(web_contents); in LaunchURL()
Dsafe_browsing_resource_throttle.cc154 prerender::PrerenderContents* prerender_contents = in StartDisplayingBlockingPage()
155 prerender::PrerenderContents::FromWebContents(web_contents); in StartDisplayingBlockingPage()
/external/chromium_org/chrome/browser/history/
Dhistory_tab_helper.cc107 prerender::PrerenderContents* prerender_contents = in DidNavigateAnyFrame()
/external/chromium_org/chrome/browser/ui/login/
Dlogin_prompt.cc456 prerender::PrerenderContents* prerender_contents = in ShowLoginPrompt()
457 prerender::PrerenderContents::FromWebContents(parent_contents); in ShowLoginPrompt()
/external/chromium_org/chrome/browser/content_settings/
Dtab_specific_content_settings.cc136 prerender::PrerenderContents::COOKIE_EVENT_SEND, in CookiesRead()
161 prerender::PrerenderContents::COOKIE_EVENT_CHANGE, in CookieChanged()
/external/chromium_org/chrome/browser/
Dchrome_content_browser_client.cc522 prerender::PrerenderContents* prerender_contents = in HandleBlockedPopupOnUIThread()
523 prerender::PrerenderContents::FromWebContents(tab); in HandleBlockedPopupOnUIThread()
1710 prerender::PrerenderContents* prerender_contents = in AllowCertificateError()
1711 prerender::PrerenderContents::FromWebContents(tab); in AllowCertificateError()
1753 prerender::PrerenderContents* prerender_contents = in SelectClientCertificate()
1754 prerender::PrerenderContents::FromWebContents(tab); in SelectClientCertificate()
/external/chromium_org/chrome/browser/android/
Dtab_android.cc250 prerender::PrerenderContents* prerender_contents; in HasPrerenderedUrl()