/external/chromium_org/chrome/renderer/prerender/ |
D | prerender_dispatcher.cc | 19 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 …]
|
D | prerender_extra_data.cc | 9 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()
|
D | prerenderer_client.cc | 16 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()
|
D | prerender_dispatcher.h | 20 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;
|
D | prerenderer_client.h | 12 namespace prerender { 23 virtual void willAddPrerender(blink::WebPrerender* prerender) OVERRIDE;
|
D | prerender_extra_data.h | 12 namespace prerender { 26 const blink::WebPrerender& prerender);
|
/external/chromium_org/chrome/browser/prerender/ |
D | prerender_link_manager.cc | 39 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 …]
|
D | external_prerender_handler_android.cc | 23 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()
|
D | prerender_browsertest.cc | 130 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 …]
|
D | prerender_message_filter.cc | 23 prerender::PrerenderLinkManager* prerender_link_manager = in OnChannelClosingInUIThread() 24 prerender::PrerenderLinkManagerFactory::GetForProfile(profile); in OnChannelClosingInUIThread() 32 namespace prerender { namespace
|
D | prerender_link_manager.h | 29 namespace prerender { 134 void RemovePrerender(LinkPrerender* prerender); 138 void CancelPrerender(LinkPrerender* prerender);
|
D | prerender_link_manager_factory.cc | 14 namespace prerender { namespace 32 DependsOn(prerender::PrerenderManagerFactory::GetInstance()); in PrerenderLinkManagerFactory()
|
D | external_prerender_handler_android.h | 20 namespace prerender { 55 scoped_ptr<prerender::PrerenderHandle> prerender_handle_;
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | PrerenderHandle.cpp | 56 …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/ |
D | PrerenderingTest.cpp | 97 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/ |
D | chrome_resource_dispatcher_host_delegate.cc | 129 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/ |
D | instant_search_prerenderer.cc | 57 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/ |
D | google_search_counter_android_unittest.cc | 81 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/ |
D | PrerendererClientImpl.cpp | 47 void PrerendererClientImpl::willAddPrerender(Prerender* prerender) in willAddPrerender() argument 51 WebPrerender webPrerender(prerender); in willAddPrerender()
|
/external/chromium_org/chrome/browser/task_manager/ |
D | tab_contents_information.cc | 44 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/ |
D | PageVisibilityState.cpp | 40 DEFINE_STATIC_LOCAL(const String, prerender, ("prerender")); in pageVisibilityStateString() 48 return prerender; in pageVisibilityStateString()
|
/external/chromium_org/chrome/browser/apps/ |
D | app_url_redirector.cc | 50 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/ |
D | tab_helpers.h | 20 namespace prerender { 51 friend class prerender::PrerenderContents;
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | activity_log_browsertest.cc | 81 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/ |
D | chrome_renderer.gypi | 68 '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',
|