Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/renderer/
Dloadtimes_extension_bindings.cc105 DocumentState* document_state = in GetLoadTimes() local
112 document_state->request_time().ToDoubleT())); in GetLoadTimes()
116 document_state->start_load_time().ToDoubleT())); in GetLoadTimes()
120 document_state->commit_load_time().ToDoubleT())); in GetLoadTimes()
125 document_state->finish_document_load_time().ToDoubleT())); in GetLoadTimes()
129 document_state->finish_load_time().ToDoubleT())); in GetLoadTimes()
133 document_state->first_paint_time().ToDoubleT())); in GetLoadTimes()
138 document_state->first_paint_after_load_time().ToDoubleT())); in GetLoadTimes()
145 v8::Boolean::New(isolate, document_state->was_fetched_via_spdy())); in GetLoadTimes()
148 v8::Boolean::New(isolate, document_state->was_npn_negotiated())); in GetLoadTimes()
[all …]
Dpage_load_histograms.cc165 DocumentState* document_state = in DataReductionProxyWasUsed() local
167 if (!document_state->was_fetched_via_proxy()) in DataReductionProxyWasUsed()
226 DocumentState* document_state, in DumpHistograms() argument
236 Time request = document_state->request_time(); in DumpHistograms()
277 if (document_state->web_timing_histograms_recorded()) in DumpHistograms()
279 document_state->set_web_timing_histograms_recorded(true); in DumpHistograms()
457 DocumentState* document_state, in DumpDeprecatedHistograms() argument
465 if (document_state->load_histograms_recorded()) in DumpDeprecatedHistograms()
469 Time start = document_state->start_load_time(); in DumpDeprecatedHistograms()
470 Time commit = document_state->commit_load_time(); in DumpDeprecatedHistograms()
[all …]
Dcontent_settings_observer.cc240 DocumentState* document_state = DocumentState::FromDataSource( in DidCommitProvisionalLoad() local
242 NavigationState* navigation_state = document_state->navigation_state(); in DidCommitProvisionalLoad()
/external/chromium_org/content/common/
Dpage_state_serialization_unittest.cc74 ExpectEquality(a.document_state, b.document_state); in ExpectEquality()
100 frame_state->document_state.push_back(NS16("1")); in PopulateFrameState()
101 frame_state->document_state.push_back(NS16("q")); in PopulateFrameState()
102 frame_state->document_state.push_back(NS16("text")); in PopulateFrameState()
103 frame_state->document_state.push_back(NS16("dev.chromium.org")); in PopulateFrameState()
150 frame_state->document_state.push_back( in PopulateFrameStateForBackwardsCompatTest()
152 frame_state->document_state.push_back(NS16("form key")); in PopulateFrameStateForBackwardsCompatTest()
153 frame_state->document_state.push_back(NS16("1")); in PopulateFrameStateForBackwardsCompatTest()
154 frame_state->document_state.push_back(NS16("foo")); in PopulateFrameStateForBackwardsCompatTest()
155 frame_state->document_state.push_back(NS16("file")); in PopulateFrameStateForBackwardsCompatTest()
[all …]
Dpage_state_serialization.cc81 const std::vector<base::NullableString16>& document_state, in AppendReferencedFilesFromDocumentState() argument
83 if (document_state.empty()) in AppendReferencedFilesFromDocumentState()
95 if (document_state.size() < 3) in AppendReferencedFilesFromDocumentState()
102 if (!base::StringToSizeT(document_state[index++].string(), &item_count)) in AppendReferencedFilesFromDocumentState()
106 if (index + 1 >= document_state.size()) in AppendReferencedFilesFromDocumentState()
110 const base::NullableString16& type = document_state[index++]; in AppendReferencedFilesFromDocumentState()
112 if (index >= document_state.size()) in AppendReferencedFilesFromDocumentState()
116 if (!base::StringToSizeT(document_state[index++].string(), &value_size)) in AppendReferencedFilesFromDocumentState()
119 if (index + value_size > document_state.size() || in AppendReferencedFilesFromDocumentState()
127 referenced_files->push_back(document_state[index++]); in AppendReferencedFilesFromDocumentState()
[all …]
Dpage_state_serialization.h50 std::vector<base::NullableString16> document_state; member
/external/chromium_org/android_webview/renderer/
Daw_render_frame_ext.cc23 content::DocumentState* document_state = in DidCommitProvisionalLoad() local
25 if (document_state->can_load_local_resources()) { in DidCommitProvisionalLoad()
Daw_content_renderer_client.cc68 content::DocumentState* document_state, in HandleNavigation() argument
89 !document_state->navigation_state()->is_content_initiated() in HandleNavigation()
Daw_content_renderer_client.h44 content::DocumentState* document_state,
/external/chromium_org/content/child/service_worker/
Dservice_worker_network_provider.h33 base::SupportsUserData* document_state,
37 base::SupportsUserData* document_state);
/external/chromium_org/content/renderer/
Drender_frame_impl.cc1944 DocumentState* document_state = in willSubmitForm() local
1946 NavigationState* navigation_state = document_state->navigation_state(); in willSubmitForm()
1948 InternalDocumentStateData::FromDocumentState(document_state); in willSubmitForm()
1997 DocumentState* document_state = DocumentState::FromDataSource(ds); in didStartProvisionalLoad() local
2006 if (document_state->request_time().is_null()) { in didStartProvisionalLoad()
2009 document_state->set_request_time(Time::FromDoubleT(event_time)); in didStartProvisionalLoad()
2013 document_state->set_start_load_time(Time::Now()); in didStartProvisionalLoad()
2024 document_state->navigation_state()->set_transition_type( in didStartProvisionalLoad()
2106 DocumentState* document_state = DocumentState::FromDataSource(ds); in didFailProvisionalLoad() local
2107 NavigationState* navigation_state = document_state->navigation_state(); in didFailProvisionalLoad()
[all …]
Drender_view_impl.cc2212 DocumentState* document_state = DocumentState::FromDataSource(ds); in didCreateDataSource() local
2213 if (!document_state) { in didCreateDataSource()
2214 document_state = new DocumentState; in didCreateDataSource()
2215 ds->setExtraData(document_state); in didCreateDataSource()
2217 PopulateDocumentStateFromPending(document_state); in didCreateDataSource()
2228 InternalDocumentStateData::FromDocumentState(document_state); in didCreateDataSource()
2239 document_state->set_navigation_state( in didCreateDataSource()
2242 document_state->set_navigation_state(CreateNavigationStateFromPending()); in didCreateDataSource()
2264 document_state->set_was_referred_by_prefetcher(true); in didCreateDataSource()
2276 document_state->set_load_type(DocumentState::LINK_LOAD_NORMAL); in didCreateDataSource()
[all …]
Dhistory_serialization.cc100 ToNullableString16Vector(item.documentState(), &state->document_state); in GenerateFrameStateFromItem()
138 item.setDocumentState(state.document_state); in RecursivelyGenerateHistoryItem()
Drender_view_impl.h767 void PopulateDocumentStateFromPending(DocumentState* document_state);
/external/chromium_org/chrome/renderer/safe_browsing/
Dphishing_classifier_delegate.cc154 DocumentState* document_state = DocumentState::FromDataSource( in DidCommitProvisionalLoad() local
156 NavigationState* navigation_state = document_state->navigation_state(); in DidCommitProvisionalLoad()
/external/chromium_org/content/public/renderer/
Dcontent_renderer_client.cc94 DocumentState* document_state, in HandleNavigation() argument
Dcontent_renderer_client.h190 DocumentState* document_state,
/external/chromium_org/components/autofill/content/renderer/
Dpassword_autofill_agent.cc733 content::DocumentState* document_state = in DidStartProvisionalLoad() local
737 document_state->navigation_state(); in DidStartProvisionalLoad()
/external/chromium_org/content/
Dcontent_renderer.gypi50 'public/renderer/document_state.cc',
51 'public/renderer/document_state.h',
Dcontent_renderer.target.linux-arm.mk43 content/public/renderer/document_state.cc \
Dcontent_renderer.target.darwin-mips.mk43 content/public/renderer/document_state.cc \
Dcontent_renderer.target.linux-x86_64.mk43 content/public/renderer/document_state.cc \
Dcontent_renderer.target.linux-x86.mk43 content/public/renderer/document_state.cc \
Dcontent_renderer.target.darwin-arm.mk43 content/public/renderer/document_state.cc \
Dcontent_renderer.target.darwin-mips64.mk43 content/public/renderer/document_state.cc \

12