| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ | 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ |
| 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ | 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h" | 8 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h" |
| 9 #include "components/ukm/ukm_source.h" | 9 #include "components/ukm/ukm_source.h" |
| 10 | 10 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 // Size of the redirect chain, which excludes the first URL. | 169 // Size of the redirect chain, which excludes the first URL. |
| 170 int redirect_chain_size_; | 170 int redirect_chain_size_; |
| 171 | 171 |
| 172 // True if we've received a non-scroll input (touch tap or mouse up) | 172 // True if we've received a non-scroll input (touch tap or mouse up) |
| 173 // after first paint has happened. | 173 // after first paint has happened. |
| 174 bool received_non_scroll_input_after_first_paint_ = false; | 174 bool received_non_scroll_input_after_first_paint_ = false; |
| 175 | 175 |
| 176 // True if we've received a scroll input after first paint has happened. | 176 // True if we've received a scroll input after first paint has happened. |
| 177 bool received_scroll_input_after_first_paint_ = false; | 177 bool received_scroll_input_after_first_paint_ = false; |
| 178 | 178 |
| 179 base::TimeTicks first_user_interaction_after_first_paint_; | |
| 180 base::TimeTicks first_paint_; | 179 base::TimeTicks first_paint_; |
| 181 | 180 |
| 182 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver); | 181 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver); |
| 183 }; | 182 }; |
| 184 | 183 |
| 185 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS
ERVER_H_ | 184 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS
ERVER_H_ |
| OLD | NEW |