Home
last modified time | relevance | path

Searched refs:document_state (Results 1 – 25 of 29) 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()
225 DocumentState* document_state, in DumpPerformanceTiming() argument
230 Time request = document_state->request_time(); in DumpPerformanceTiming()
271 if (document_state->web_timing_histograms_recorded()) in DumpPerformanceTiming()
273 document_state->set_web_timing_histograms_recorded(true); in DumpPerformanceTiming()
483 DocumentState* document_state = in Dump() local
503 DumpPerformanceTiming(frame->performance(), document_state, in Dump()
511 if (document_state->load_histograms_recorded()) in Dump()
515 Time start = document_state->start_load_time(); in Dump()
[all …]
Dcontent_settings_observer.cc235 DocumentState* document_state = DocumentState::FromDataSource( in DidCommitProvisionalLoad() local
237 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()
148 frame_state->document_state.push_back( in PopulateFrameStateForBackwardsCompatTest()
150 frame_state->document_state.push_back(NS16("form key")); in PopulateFrameStateForBackwardsCompatTest()
151 frame_state->document_state.push_back(NS16("1")); in PopulateFrameStateForBackwardsCompatTest()
152 frame_state->document_state.push_back(NS16("foo")); in PopulateFrameStateForBackwardsCompatTest()
153 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.cc22 content::DocumentState* document_state = in DidCommitProvisionalLoad() local
24 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.h45 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.cc1677 DocumentState* document_state = in willSubmitForm() local
1679 NavigationState* navigation_state = document_state->navigation_state(); in willSubmitForm()
1681 InternalDocumentStateData::FromDocumentState(document_state); in willSubmitForm()
1727 DocumentState* document_state = DocumentState::FromDataSource(ds); in didStartProvisionalLoad() local
1736 if (document_state->request_time().is_null()) { in didStartProvisionalLoad()
1739 document_state->set_request_time(Time::FromDoubleT(event_time)); in didStartProvisionalLoad()
1743 document_state->set_start_load_time(Time::Now()); in didStartProvisionalLoad()
1754 document_state->navigation_state()->set_transition_type( in didStartProvisionalLoad()
1855 DocumentState* document_state = DocumentState::FromDataSource(ds); in didFailProvisionalLoad() local
1856 NavigationState* navigation_state = document_state->navigation_state(); in didFailProvisionalLoad()
[all …]
Drender_view_impl.cc1959 DocumentState* document_state = DocumentState::FromDataSource(ds); in didCreateDataSource() local
1960 if (!document_state) { in didCreateDataSource()
1961 document_state = new DocumentState; in didCreateDataSource()
1962 ds->setExtraData(document_state); in didCreateDataSource()
1964 PopulateDocumentStateFromPending(document_state); in didCreateDataSource()
1974 InternalDocumentStateData::FromDocumentState(document_state); in didCreateDataSource()
1985 document_state->set_navigation_state( in didCreateDataSource()
1988 document_state->set_navigation_state(CreateNavigationStateFromPending()); in didCreateDataSource()
2010 document_state->set_was_referred_by_prefetcher(true); in didCreateDataSource()
2022 document_state->set_load_type(DocumentState::LINK_LOAD_NORMAL); in didCreateDataSource()
[all …]
Dhistory_serialization.cc98 ToNullableString16Vector(item.documentState(), &state->document_state); in GenerateFrameStateFromItem()
135 item.setDocumentState(state.document_state); in RecursivelyGenerateHistoryItem()
Drender_view_impl.h816 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.cc98 DocumentState* document_state, in HandleNavigation() argument
Dcontent_renderer_client.h187 DocumentState* document_state,
/external/chromium_org/components/autofill/content/renderer/
Dpassword_autofill_agent.cc683 content::DocumentState* document_state = in DidStartProvisionalLoad() local
687 document_state->navigation_state(); in DidStartProvisionalLoad()
/external/chromium_org/content/
Dcontent_renderer.gypi49 'public/renderer/document_state.cc',
50 'public/renderer/document_state.h',
Dcontent_renderer.target.darwin-arm64.mk45 content/public/renderer/document_state.cc \
Dcontent_renderer.target.linux-arm64.mk45 content/public/renderer/document_state.cc \
Dcontent_renderer.target.linux-mips.mk45 content/public/renderer/document_state.cc \
Dcontent_renderer.target.linux-arm.mk45 content/public/renderer/document_state.cc \
Dcontent_renderer.target.darwin-arm.mk45 content/public/renderer/document_state.cc \
Dcontent_renderer.target.linux-x86.mk45 content/public/renderer/document_state.cc \

12