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

Side by Side Diff: third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.h

Issue 2817663002: Rewrite references to "wtf/" to "platform/wtf/" in core/paint. (Closed)
Patch Set: Created 3 years, 8 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 FirstMeaningfulPaintDetector_h 5 #ifndef FirstMeaningfulPaintDetector_h
6 #define FirstMeaningfulPaintDetector_h 6 #define FirstMeaningfulPaintDetector_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/Timer.h" 9 #include "platform/Timer.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "wtf/Noncopyable.h" 11 #include "platform/wtf/Noncopyable.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class Document; 15 class Document;
16 class PaintTiming; 16 class PaintTiming;
17 17
18 // FirstMeaningfulPaintDetector observes layout operations during page load 18 // FirstMeaningfulPaintDetector observes layout operations during page load
19 // until network stable (2 seconds of no network activity), and computes the 19 // until network stable (2 seconds of no network activity), and computes the
20 // layout-based First Meaningful Paint. 20 // layout-based First Meaningful Paint.
21 // See https://goo.gl/vpaxv6 and http://goo.gl/TEiMi4 for more details. 21 // See https://goo.gl/vpaxv6 and http://goo.gl/TEiMi4 for more details.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 bool network2_quiet_reached_ = false; 77 bool network2_quiet_reached_ = false;
78 double first_meaningful_paint0_quiet_ = 0.0; 78 double first_meaningful_paint0_quiet_ = 0.0;
79 double first_meaningful_paint2_quiet_ = 0.0; 79 double first_meaningful_paint2_quiet_ = 0.0;
80 TaskRunnerTimer<FirstMeaningfulPaintDetector> network0_quiet_timer_; 80 TaskRunnerTimer<FirstMeaningfulPaintDetector> network0_quiet_timer_;
81 TaskRunnerTimer<FirstMeaningfulPaintDetector> network2_quiet_timer_; 81 TaskRunnerTimer<FirstMeaningfulPaintDetector> network2_quiet_timer_;
82 }; 82 };
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif 86 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698