Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/prerender/
Dprerender_handle.cc15 PrerenderHandle::Observer::Observer() { in Observer()
18 PrerenderHandle::Observer::~Observer() { in ~Observer()
21 PrerenderHandle::~PrerenderHandle() { in ~PrerenderHandle()
27 void PrerenderHandle::SetObserver(Observer* observer) { in SetObserver()
32 void PrerenderHandle::OnNavigateAway() { in OnNavigateAway()
38 void PrerenderHandle::OnCancel() { in OnCancel()
44 bool PrerenderHandle::IsPrerendering() const { in IsPrerendering()
49 bool PrerenderHandle::IsFinishedLoading() const { in IsFinishedLoading()
56 bool PrerenderHandle::IsAbandoned() const { in IsAbandoned()
61 PrerenderContents* PrerenderHandle::contents() const { in contents()
[all …]
Dprerender_handle.h30 class PrerenderHandle : public base::NonThreadSafe,
36 virtual void OnPrerenderStart(PrerenderHandle* handle) = 0;
39 virtual void OnPrerenderStopLoading(PrerenderHandle* handle) = 0;
42 virtual void OnPrerenderDomContentLoaded(PrerenderHandle* handle) = 0;
45 virtual void OnPrerenderStop(PrerenderHandle* handle) = 0;
49 PrerenderHandle* handle) = 0;
58 virtual ~PrerenderHandle();
91 bool RepresentingSamePrerenderAs(PrerenderHandle* other) const;
103 explicit PrerenderHandle(PrerenderManager::PrerenderData* prerender_data);
118 base::WeakPtrFactory<PrerenderHandle> weak_ptr_factory_;
[all …]
Dprerender_link_manager.h39 public PrerenderHandle::Observer {
106 PrerenderHandle* handle;
130 LinkPrerender* FindByPrerenderHandle(PrerenderHandle* prerender_handle);
150 virtual void OnPrerenderStart(PrerenderHandle* prerender_handle) OVERRIDE;
151 virtual void OnPrerenderStopLoading(PrerenderHandle* prerender_handle)
153 virtual void OnPrerenderDomContentLoaded(PrerenderHandle* prerender_handle)
155 virtual void OnPrerenderStop(PrerenderHandle* prerender_handle) OVERRIDE;
157 PrerenderHandle* handle) OVERRIDE;
Dprerender_manager.h68 class PrerenderHandle; variable
125 PrerenderHandle* AddPrerenderFromLinkRelPrerender(
139 PrerenderHandle* AddPrerenderFromOmnibox(
144 PrerenderHandle* AddPrerenderFromLocalPredictor(
149 PrerenderHandle* AddPrerenderFromExternalRequest(
159 PrerenderHandle* AddPrerenderForInstant(
400 void OnHandleCreated(PrerenderHandle* prerender_handle);
406 void OnHandleNavigatedAway(PrerenderHandle* prerender_handle);
411 void OnHandleCanceled(PrerenderHandle* prerender_handle);
537 friend class PrerenderHandle; variable
[all …]
Dprerender_link_manager.cc280 DCHECK_EQ(static_cast<PrerenderHandle*>(NULL), handle) in ~LinkPrerender()
384 PrerenderHandle* handle = manager_->AddPrerenderFromLinkRelPrerender( in StartPrerenders()
420 PrerenderLinkManager::FindByPrerenderHandle(PrerenderHandle* prerender_handle) { in FindByPrerenderHandle()
434 scoped_ptr<PrerenderHandle> own_handle(i->handle); in RemovePrerender()
447 scoped_ptr<PrerenderHandle> own_handle(i->handle); in CancelPrerender()
490 PrerenderHandle* prerender_handle) { in OnPrerenderStart()
499 PrerenderHandle* prerender_handle) { in OnPrerenderStopLoading()
509 PrerenderHandle* prerender_handle) { in OnPrerenderDomContentLoaded()
519 PrerenderHandle* prerender_handle) { in OnPrerenderStop()
535 PrerenderHandle* prerender_handle) { in OnPrerenderCreatedMatchCompleteReplacement()
Dexternal_prerender_handler_android.h21 class PrerenderHandle; variable
55 scoped_ptr<prerender::PrerenderHandle> prerender_handle_;
Dprerender_manager.cc328 PrerenderHandle* PrerenderManager::AddPrerenderFromLinkRelPrerender( in AddPrerenderFromLinkRelPrerender()
363 PrerenderHandle* PrerenderManager::AddPrerenderFromOmnibox( in AddPrerenderFromOmnibox()
373 PrerenderHandle* PrerenderManager::AddPrerenderFromLocalPredictor( in AddPrerenderFromLocalPredictor()
381 PrerenderHandle* PrerenderManager::AddPrerenderFromExternalRequest( in AddPrerenderFromExternalRequest()
390 PrerenderHandle* PrerenderManager::AddPrerenderForInstant( in AddPrerenderForInstant()
1004 void PrerenderManager::PrerenderData::OnHandleCreated(PrerenderHandle* handle) { in OnHandleCreated()
1011 PrerenderHandle* handle) { in OnHandleNavigatedAway()
1022 PrerenderHandle* handle) { in OnHandleCanceled()
1242 PrerenderHandle* PrerenderManager::AddPrerender( in AddPrerender()
1276 return new PrerenderHandle(preexisting_prerender_data); in AddPrerender()
[all …]
Dprerender_local_predictor.h37 class PrerenderHandle; variable
Dprerender_contents.h48 class PrerenderHandle; variable
Dprerender_local_predictor.cc396 scoped_ptr<PrerenderHandle> prerender_handle;
1418 scoped_ptr<prerender::PrerenderHandle> new_prerender_handle( in IssuePrerender()
Dprerender_unittest.cc1581 scoped_ptr<PrerenderHandle> prerender_handle( in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DPrerenderHandle.cpp45 PassOwnPtr<PrerenderHandle> PrerenderHandle::create(Document& document, PrerenderClient* client, co… in create()
52 return PassOwnPtr<PrerenderHandle>(); in create()
63 return adoptPtr(new PrerenderHandle(document, prerender.release())); in create()
66 PrerenderHandle::PrerenderHandle(Document& document, PassRefPtr<Prerender> prerender) in PrerenderHandle() function in blink::PrerenderHandle
72 PrerenderHandle::~PrerenderHandle() in ~PrerenderHandle()
78 void PrerenderHandle::cancel() in cancel()
89 const KURL& PrerenderHandle::url() const in url()
94 void PrerenderHandle::documentWasDetached() in documentWasDetached()
102 void PrerenderHandle::detach() in detach()
DPrerenderHandle.h46 class PrerenderHandle FINAL : public DocumentLifecycleObserver {
47 WTF_MAKE_NONCOPYABLE(PrerenderHandle);
49 …static PassOwnPtr<PrerenderHandle> create(Document&, PrerenderClient*, const KURL&, unsigned prere…
51 virtual ~PrerenderHandle();
59 PrerenderHandle(Document&, PassRefPtr<Prerender>);
DLinkLoader.h46 class PrerenderHandle; variable
76 OwnPtr<PrerenderHandle> m_prerender;
DLinkLoader.cpp137 m_prerender = PrerenderHandle::create(document, this, href, prerenderRelTypes); in loadLink()
140 m_prerender = PrerenderHandle::create(document, this, href, prerenderRelTypes); in loadLink()
/external/chromium_org/chrome/browser/ui/search/
Dinstant_search_prerenderer_unittest.cc43 using prerender::PrerenderHandle;
191 EXPECT_NE(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in Init()
223 PrerenderHandle* prerender_handle() { in prerender_handle()
233 EXPECT_NE(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in PrerenderSearchQuery()
304 EXPECT_NE(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in TEST_F()
311 EXPECT_EQ(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in TEST_F()
316 EXPECT_NE(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in TEST_F()
320 EXPECT_EQ(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in TEST_F()
360 EXPECT_EQ(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in TEST_F()
369 EXPECT_EQ(static_cast<PrerenderHandle*>(NULL), prerender_handle()); in TEST_F()
[all …]
Dinstant_search_prerenderer.h31 class PrerenderHandle; variable
99 scoped_ptr<prerender::PrerenderHandle> prerender_handle_;
Dinstant_search_prerenderer.cc57 scoped_ptr<prerender::PrerenderHandle> old_prerender_handle( in Init()
/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor.h43 class PrerenderHandle; variable
236 scoped_ptr<prerender::PrerenderHandle> prerender_handle_;
Dautocomplete_action_predictor.cc155 scoped_ptr<prerender::PrerenderHandle> old_prerender_handle( in StartPrerendering()
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_browsertest.cc113 scoped_ptr<prerender::PrerenderHandle> prerender_handle( in IN_PROC_BROWSER_TEST_F()
Dactivity_log_unittest.cc253 scoped_ptr<prerender::PrerenderHandle> prerender_handle( in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-mips64.mk471 third_party/WebKit/Source/core/loader/PrerenderHandle.cpp \
Dwebcore_remaining.target.darwin-x86.mk471 third_party/WebKit/Source/core/loader/PrerenderHandle.cpp \
Dwebcore_remaining.target.darwin-arm.mk471 third_party/WebKit/Source/core/loader/PrerenderHandle.cpp \

12