Home
last modified time | relevance | path

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

123456

/external/chromium_org/chrome/renderer/prerender/
Dprerender_dispatcher.cc19 namespace prerender { namespace
41 WebPrerender& prerender = it->second; in OnPrerenderStart() local
44 if (prerender.isNull()) in OnPrerenderStart()
47 prerender.didStartPrerender(); in OnPrerenderStart()
55 WebPrerender& prerender = it->second; in OnPrerenderStopLoading() local
56 DCHECK(!prerender.isNull()) in OnPrerenderStopLoading()
60 prerender.didSendLoadForPrerender(); in OnPrerenderStopLoading()
68 WebPrerender& prerender = it->second; in OnPrerenderDomContentLoaded() local
69 DCHECK(!prerender.isNull()) in OnPrerenderDomContentLoaded()
74 prerender.didSendDOMContentLoadedForPrerender(); in OnPrerenderDomContentLoaded()
[all …]
Dprerender_extra_data.cc9 namespace prerender { namespace
25 const blink::WebPrerender& prerender) { in FromPrerender() argument
26 DCHECK(prerender.extraData()); in FromPrerender()
27 return static_cast<const PrerenderExtraData&>(*prerender.extraData()); in FromPrerender()
Dprerenderer_client.cc16 namespace prerender { namespace
29 blink::WebPrerender* prerender) { in willAddPrerender() argument
31 << prerender->url().spec().data(); in willAddPrerender()
32 prerender->setExtraData(new PrerenderExtraData(++s_last_prerender_id, in willAddPrerender()
Dprerender_dispatcher.h20 namespace prerender {
49 virtual void add(const blink::WebPrerender& prerender) OVERRIDE;
50 virtual void cancel(const blink::WebPrerender& prerender) OVERRIDE;
51 virtual void abandon(const blink::WebPrerender& prerender) OVERRIDE;
Dprerenderer_client.h12 namespace prerender {
23 virtual void willAddPrerender(blink::WebPrerender* prerender) OVERRIDE;
Dprerender_extra_data.h12 namespace prerender {
26 const blink::WebPrerender& prerender);
/external/chromium_org/chrome/browser/prerender/
Dprerender_link_manager.cc39 namespace prerender { namespace
197 prerender(launcher_child_id, prerender_id, url, rel_types, referrer, size, in OnAddPrerender() local
200 prerenders_.push_back(prerender); in OnAddPrerender()
209 LinkPrerender* prerender = FindByLauncherChildIdAndPrerenderId(child_id, in OnCancelPrerender() local
211 if (!prerender) in OnCancelPrerender()
214 CancelPrerender(prerender); in OnCancelPrerender()
219 LinkPrerender* prerender = FindByLauncherChildIdAndPrerenderId(child_id, in OnAbandonPrerender() local
221 if (!prerender) in OnAbandonPrerender()
224 if (!prerender->handle) { in OnAbandonPrerender()
225 RemovePrerender(prerender); in OnAbandonPrerender()
[all …]
Dexternal_prerender_handler_android.cc23 namespace prerender { namespace
44 prerender::PrerenderManagerFactory::GetForProfile(profile); in AddPrerender()
83 prerender::PrerenderManager* prerender_manager = in HasPrerenderedUrl()
84 prerender::PrerenderManagerFactory::GetForProfile(profile); in HasPrerenderedUrl()
96 prerender::PrerenderManager* prerender_manager = in HasCookieStoreLoaded()
97 prerender::PrerenderManagerFactory::GetForProfile(profile); in HasCookieStoreLoaded()
Dprerender_browsertest.cc130 namespace prerender { namespace
1818 scoped_ptr<TestPrerender> prerender = in IN_PROC_BROWSER_TEST_F() local
1826 ASSERT_FALSE(prerender->contents()); in IN_PROC_BROWSER_TEST_F()
1871 scoped_ptr<TestPrerender> prerender = in IN_PROC_BROWSER_TEST_F() local
1879 prerender->WaitForStop(); in IN_PROC_BROWSER_TEST_F()
1896 scoped_ptr<TestPrerender> prerender = in IN_PROC_BROWSER_TEST_F() local
1906 prerender->WaitForStop(); in IN_PROC_BROWSER_TEST_F()
1925 scoped_ptr<TestPrerender> prerender = in IN_PROC_BROWSER_TEST_F() local
1938 prerender->WaitForStop(); in IN_PROC_BROWSER_TEST_F()
2210 scoped_ptr<TestPrerender> prerender = in IN_PROC_BROWSER_TEST_F() local
[all …]
Dprerender_message_filter.cc23 prerender::PrerenderLinkManager* prerender_link_manager = in OnChannelClosingInUIThread()
24 prerender::PrerenderLinkManagerFactory::GetForProfile(profile); in OnChannelClosingInUIThread()
32 namespace prerender { namespace
Dprerender_link_manager.h29 namespace prerender {
134 void RemovePrerender(LinkPrerender* prerender);
138 void CancelPrerender(LinkPrerender* prerender);
Dprerender_link_manager_factory.cc14 namespace prerender { namespace
32 DependsOn(prerender::PrerenderManagerFactory::GetInstance()); in PrerenderLinkManagerFactory()
Dexternal_prerender_handler_android.h20 namespace prerender {
55 scoped_ptr<prerender::PrerenderHandle> prerender_handle_;
/external/chromium_org/third_party/WebKit/Source/core/loader/
DPrerenderHandle.cpp56 …RefPtr<Prerender> prerender = Prerender::create(client, url, prerenderRelTypes, referrer, referrer… in create() local
60 prerendererClient->willAddPrerender(prerender.get()); in create()
61 prerender->add(); in create()
63 return adoptPtr(new PrerenderHandle(document, prerender.release())); in create()
66 PrerenderHandle::PrerenderHandle(Document& document, PassRefPtr<Prerender> prerender) in PrerenderHandle() argument
68 , m_prerender(prerender) in PrerenderHandle()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPrerenderingTest.cpp97 virtual void willAddPrerender(WebPrerender* prerender) OVERRIDE in willAddPrerender() argument
99 prerender->setExtraData(m_extraData.leakPtr()); in willAddPrerender()
101 ASSERT(!prerender->isNull()); in willAddPrerender()
102 m_webPrerenders.push_back(*prerender); in willAddPrerender()
133 size_t addCount(const WebPrerender& prerender) const in addCount()
135 …(m_addedPrerenders.begin(), m_addedPrerenders.end(), std::bind1st(WebPrerenderEqual(), prerender)); in addCount()
138 size_t cancelCount(const WebPrerender& prerender) const in cancelCount()
140 …celedPrerenders.begin(), m_canceledPrerenders.end(), std::bind1st(WebPrerenderEqual(), prerender)); in cancelCount()
143 size_t abandonCount(const WebPrerender& prerender) const in abandonCount()
145 …onedPrerenders.begin(), m_abandonedPrerenders.end(), std::bind1st(WebPrerenderEqual(), prerender)); in abandonCount()
[all …]
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate.cc129 prerender::PrerenderManager* GetPrerenderManager(int render_process_id, in GetPrerenderManager()
146 return prerender::PrerenderManagerFactory::GetForProfile(profile); in GetPrerenderManager()
157 prerender::PrerenderContents* prerender_contents = in UpdatePrerenderNetworkBytesCallback()
158 prerender::PrerenderContents::FromWebContents(web_contents); in UpdatePrerenderNetworkBytesCallback()
163 prerender::PrerenderManager* prerender_manager = in UpdatePrerenderNetworkBytesCallback()
185 prerender::PrerenderContents* prerender_contents = in SendExecuteMimeTypeHandlerEvent()
186 prerender::PrerenderContents::FromWebContents(web_contents); in SendExecuteMimeTypeHandlerEvent()
188 prerender_contents->Destroy(prerender::FINAL_STATUS_DOWNLOAD); in SendExecuteMimeTypeHandlerEvent()
214 prerender::PrerenderContents* prerender_contents = in LaunchURL()
215 prerender::PrerenderContents::FromWebContents(web_contents); in LaunchURL()
[all …]
/external/chromium_org/chrome/browser/ui/search/
Dinstant_search_prerenderer.cc57 scoped_ptr<prerender::PrerenderHandle> old_prerender_handle( in Init()
59 prerender::PrerenderManager* prerender_manager = in Init()
60 prerender::PrerenderManagerFactory::GetForProfile(profile_); in Init()
128 prerender::PrerenderManager* prerender_manager = in UsePrerenderedPage()
129 prerender::PrerenderManagerFactory::GetForProfile(profile_); in UsePrerenderedPage()
/external/chromium_org/chrome/browser/google/
Dgoogle_search_counter_android_unittest.cc81 prerender::PrerenderManager::SetMode( in SetUp()
82 prerender::PrerenderManager::PRERENDER_MODE_ENABLED); in SetUp()
170 prerender::PrerenderManager::SetMode( in TEST_F()
171 prerender::PrerenderManager::PRERENDER_MODE_DISABLED); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/web/
DPrerendererClientImpl.cpp47 void PrerendererClientImpl::willAddPrerender(Prerender* prerender) in willAddPrerender() argument
51 WebPrerender webPrerender(prerender); in willAddPrerender()
/external/chromium_org/chrome/browser/task_manager/
Dtab_contents_information.cc44 prerender::PrerenderManager* prerender_manager = in IsContentsPrerendering()
45 prerender::PrerenderManagerFactory::GetForProfile(profile); in IsContentsPrerendering()
161 prerender::PrerenderManager* prerender_manager = in GetAll()
162 prerender::PrerenderManagerFactory::GetForProfile(profiles[i]); in GetAll()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPageVisibilityState.cpp40 DEFINE_STATIC_LOCAL(const String, prerender, ("prerender")); in pageVisibilityStateString()
48 return prerender; in pageVisibilityStateString()
/external/chromium_org/chrome/browser/apps/
Dapp_url_redirector.cc50 prerender::PrerenderContents* prerender_contents = in LaunchAppWithUrl()
51 prerender::PrerenderContents::FromWebContents(source); in LaunchAppWithUrl()
53 prerender_contents->Destroy(prerender::FINAL_STATUS_NAVIGATION_INTERCEPTED); in LaunchAppWithUrl()
/external/chromium_org/chrome/browser/ui/
Dtab_helpers.h20 namespace prerender {
51 friend class prerender::PrerenderContents;
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_browsertest.cc81 prerender::PrerenderManager* prerender_manager = in IN_PROC_BROWSER_TEST_F()
82 prerender::PrerenderManagerFactory::GetForProfile(profile()); in IN_PROC_BROWSER_TEST_F()
113 scoped_ptr<prerender::PrerenderHandle> prerender_handle( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/
Dchrome_renderer.gypi68 'renderer/prerender/prerender_dispatcher.cc',
69 'renderer/prerender/prerender_dispatcher.h',
70 'renderer/prerender/prerender_extra_data.cc',
71 'renderer/prerender/prerender_extra_data.h',
72 'renderer/prerender/prerender_helper.cc',
73 'renderer/prerender/prerender_helper.h',
74 'renderer/prerender/prerenderer_client.cc',
75 'renderer/prerender/prerenderer_client.h',
177 'renderer/prerender/prerender_media_load_deferrer.cc',
178 'renderer/prerender/prerender_media_load_deferrer.h',

123456