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

Side by Side Diff: third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h

Issue 2732293003: Adding UMA on page load size for pages with Media (Closed)
Patch Set: self-review Created 3 years, 9 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 WebLoadingBehaviorFlag_h 5 #ifndef WebLoadingBehaviorFlag_h
6 #define WebLoadingBehaviorFlag_h 6 #define WebLoadingBehaviorFlag_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // This enum tracks certain behavior Blink exhibits when loading a page. This is 10 // This enum tracks certain behavior Blink exhibits when loading a page. This is
(...skipping 15 matching lines...) Expand all
26 // document.written script. 26 // document.written script.
27 WebLoadingBehaviorDocumentWriteBlockReload = 1 << 3, 27 WebLoadingBehaviorDocumentWriteBlockReload = 1 << 3,
28 // The page loaded external CSS that generated a PreloadRequest via the 28 // The page loaded external CSS that generated a PreloadRequest via the
29 // CSSPreloaderResourceClient. 29 // CSSPreloaderResourceClient.
30 WebLoadingBehaviorCSSPreloadFound = 1 << 4, 30 WebLoadingBehaviorCSSPreloadFound = 1 << 4,
31 // Indicates that the page has a synchronous, same-origin document.written 31 // Indicates that the page has a synchronous, same-origin document.written
32 // script with different protocol. 32 // script with different protocol.
33 WebLoadingBehaviorDocumentWriteBlockDifferentScheme = 1 << 5, 33 WebLoadingBehaviorDocumentWriteBlockDifferentScheme = 1 << 5,
34 // Indicates that a subresource on the page matched the subresource filtering 34 // Indicates that a subresource on the page matched the subresource filtering
35 // rules. 35 // rules.
36 WebLoadingBehaviorSubresourceFilterMatch = 1 << 6 36 WebLoadingBehaviorSubresourceFilterMatch = 1 << 6,
37 // Indicates if a media element has been played.
38 WebLoadingBehaviorMediaPlayed = 1 << 7
37 }; 39 };
38 40
39 } // namespace blink 41 } // namespace blink
40 42
41 #endif // WebLoadingBehaviorFlag_h 43 #endif // WebLoadingBehaviorFlag_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698