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 | 9 |
10 namespace internal { | 10 namespace internal { |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // Size of the redirect chain, which excludes the first URL. | 166 // Size of the redirect chain, which excludes the first URL. |
167 int redirect_chain_size_; | 167 int redirect_chain_size_; |
168 | 168 |
169 // True if we've received a non-scroll input (touch tap or mouse up) | 169 // True if we've received a non-scroll input (touch tap or mouse up) |
170 // after first paint has happened. | 170 // after first paint has happened. |
171 bool received_non_scroll_input_after_first_paint_ = false; | 171 bool received_non_scroll_input_after_first_paint_ = false; |
172 | 172 |
173 // True if we've received a scroll input after first paint has happened. | 173 // True if we've received a scroll input after first paint has happened. |
174 bool received_scroll_input_after_first_paint_ = false; | 174 bool received_scroll_input_after_first_paint_ = false; |
175 | 175 |
176 base::TimeTicks first_user_interaction_after_first_paint_; | |
177 base::TimeTicks first_paint_; | 176 base::TimeTicks first_paint_; |
178 | 177 |
179 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver); | 178 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver); |
180 }; | 179 }; |
181 | 180 |
182 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS
ERVER_H_ | 181 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS
ERVER_H_ |
OLD | NEW |