Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: chrome/common/page_load_metrics/page_load_timing_fields.h

Issue 2199443002: Move PageLoadTiming TimeDelta fields to a common header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove dom_loading Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // All TimeDeltas are relative to navigation_start
6
7 // Time that the first byte of the response is received.
8 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(response_start)
9
10 // Time immediately before the DOMContentLoaded event is fired.
11 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(dom_content_loaded_event_start)
12
13 // Time immediately before the load event is fired.
14 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(load_event_start)
15
16 // Time when the first layout is completed.
17 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(first_layout)
18
19 // Time when the first paint is performed.
20 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(first_paint)
21 // Time when the first non-blank text is painted.
22 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(first_text_paint)
23 // Time when the first image is painted.
24 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(first_image_paint)
25 // Time when the first contentful thing (image, text, etc.) is painted.
26 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(first_contentful_paint)
27
28 // Time that the document's parser started and stopped parsing main resource
29 // content.
30 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(parse_start)
31 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(parse_stop)
32
33 // Sum of times when the parser is blocked waiting on the load of a script.
34 // This duration takes place between parser_start and parser_stop, and thus
35 // must be less than or equal to parser_stop - parser_start. Note that this
36 // value may be updated multiple times during the period between parse_start
37 // and parse_stop.
38 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(parse_blocked_on_script_load_duration)
39
40 // Sum of times when the parser is blocked waiting on the load of a script
41 // that was inserted from document.write. This duration must be less than or
42 // equal to parse_blocked_on_script_load_duration. Note that this value may be
43 // updated multiple times during the period between parse_start and
44 // parse_stop. Note that some uncommon cases where scripts are loaded via
45 // document.write are not currently covered by this field. See crbug/600711
46 // for details.
47 PAGE_LOAD_TIMING_TIME_DELTA_FIELD(
48 parse_blocked_on_script_load_from_document_write_duration)
OLDNEW
« no previous file with comments | « chrome/common/page_load_metrics/page_load_timing.cc ('k') | chrome/common/page_load_metrics/page_load_timing_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698