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

Side by Side Diff: third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp

Issue 2007343002: Remove unnecessary includes from Document.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CompositorWorker.cpp now needs LocalFrame.h Created 4 years, 6 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 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 #include "DocumentStatisticsCollector.h" 5 #include "DocumentStatisticsCollector.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/InputTypeNames.h" 8 #include "core/InputTypeNames.h"
9 #include "core/dom/ElementTraversal.h" 9 #include "core/dom/ElementTraversal.h"
10 #include "core/dom/NodeComputedStyle.h" 10 #include "core/dom/NodeComputedStyle.h"
11 #include "core/dom/Text.h" 11 #include "core/dom/Text.h"
12 #include "core/frame/FrameHost.h" 12 #include "core/frame/FrameHost.h"
13 #include "core/frame/LocalFrame.h"
14 #include "core/frame/VisualViewport.h"
13 #include "core/html/HTMLHeadElement.h" 15 #include "core/html/HTMLHeadElement.h"
14 #include "core/html/HTMLInputElement.h" 16 #include "core/html/HTMLInputElement.h"
15 #include "core/html/HTMLMetaElement.h" 17 #include "core/html/HTMLMetaElement.h"
16 #include "platform/Histogram.h" 18 #include "platform/Histogram.h"
17 #include "public/platform/Platform.h" 19 #include "public/platform/Platform.h"
18 #include "public/platform/WebDistillability.h" 20 #include "public/platform/WebDistillability.h"
19 21
20 namespace blink { 22 namespace blink {
21 23
22 using namespace HTMLNames; 24 using namespace HTMLNames;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 245
244 double elapsedTime = monotonicallyIncreasingTime() - startTime; 246 double elapsedTime = monotonicallyIncreasingTime() - startTime;
245 247
246 DEFINE_STATIC_LOCAL(CustomCountHistogram, distillabilityHistogram, ("WebCore .DistillabilityUs", 1, 1000000, 50)); 248 DEFINE_STATIC_LOCAL(CustomCountHistogram, distillabilityHistogram, ("WebCore .DistillabilityUs", 1, 1000000, 50));
247 distillabilityHistogram.count(static_cast<int>(1e6 * elapsedTime)); 249 distillabilityHistogram.count(static_cast<int>(1e6 * elapsedTime));
248 250
249 return features; 251 return features;
250 } 252 }
251 253
252 } // namespace blink 254 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/IntersectionObservation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698