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

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2703423009: Add use counters for recently launched canvas features (Closed)
Patch Set: histo fix Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLCanvasElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 FormAssociationByParser = 248, 224 FormAssociationByParser = 248,
225 SVGSVGElementInDocument = 250, 225 SVGSVGElementInDocument = 250,
226 SVGDocumentRootElement = 251, 226 SVGDocumentRootElement = 251,
227 WorkerSubjectToCSP = 257, 227 WorkerSubjectToCSP = 257,
228 WorkerAllowedByChildBlockedByScript = 258, 228 WorkerAllowedByChildBlockedByScript = 258,
229 DeprecatedWebKitGradient = 260, 229 DeprecatedWebKitGradient = 260,
230 DeprecatedWebKitLinearGradient = 261, 230 DeprecatedWebKitLinearGradient = 261,
231 DeprecatedWebKitRepeatingLinearGradient = 262, 231 DeprecatedWebKitRepeatingLinearGradient = 262,
232 DeprecatedWebKitRadialGradient = 263, 232 DeprecatedWebKitRadialGradient = 263,
233 DeprecatedWebKitRepeatingRadialGradient = 264, 233 DeprecatedWebKitRepeatingRadialGradient = 264,
234 UnprefixedImageSmoothingEnabled = 268,
235 // The above items are available in M34 branch. 234 // The above items are available in M34 branch.
236 235
237 TextAutosizing = 274, 236 TextAutosizing = 274,
238 HTMLAnchorElementPingAttribute = 276, 237 HTMLAnchorElementPingAttribute = 276,
239 SVGClassName = 279, 238 SVGClassName = 279,
240 HTMLMediaElementSeekToFragmentStart = 281, 239 HTMLMediaElementSeekToFragmentStart = 281,
241 HTMLMediaElementPauseAtFragmentEnd = 282, 240 HTMLMediaElementPauseAtFragmentEnd = 282,
242 PrefixedWindowURL = 283, 241 PrefixedWindowURL = 283,
243 WindowOrientation = 285, 242 WindowOrientation = 285,
244 DocumentCaptureEvents = 287, 243 DocumentCaptureEvents = 287,
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 PresentationReceiverSecureOrigin = 1820, 1469 PresentationReceiverSecureOrigin = 1820,
1471 PresentationRequestInsecureOrigin = 1821, 1470 PresentationRequestInsecureOrigin = 1821,
1472 PresentationRequestSecureOrigin = 1822, 1471 PresentationRequestSecureOrigin = 1822,
1473 RtcpMuxPolicyNegotiate = 1823, 1472 RtcpMuxPolicyNegotiate = 1823,
1474 DOMClobberedVariableAccessed = 1824, 1473 DOMClobberedVariableAccessed = 1824,
1475 HTMLDocumentCreateProcessingInstruction = 1825, 1474 HTMLDocumentCreateProcessingInstruction = 1825,
1476 FetchResponseConstructionWithStream = 1826, 1475 FetchResponseConstructionWithStream = 1826,
1477 LocationOrigin = 1827, 1476 LocationOrigin = 1827,
1478 DocumentOrigin = 1828, 1477 DocumentOrigin = 1828,
1479 SubtleCryptoOnlyStrictSecureContextCheckFailed = 1829, 1478 SubtleCryptoOnlyStrictSecureContextCheckFailed = 1829,
1479 Canvas2DFilter = 1830,
1480 Canvas2DImageSmoothingQuality = 1831,
1481 CanvasToBlob = 1832,
1482 CanvasToDataURL = 1833,
1483 OffscreenCanvasConvertToBlob = 1834,
1484 SVGInCanvas2D = 1835,
1485 SVGInWebGL = 1836,
1480 1486
1481 // Add new features immediately above this line. Don't change assigned 1487 // Add new features immediately above this line. Don't change assigned
1482 // numbers of any item, and don't reuse removed slots. 1488 // numbers of any item, and don't reuse removed slots.
1483 // Also, run update_use_counter_feature_enum.py in 1489 // Also, run update_use_counter_feature_enum.py in
1484 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1490 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1485 NumberOfFeatures, // This enum value must be last. 1491 NumberOfFeatures, // This enum value must be last.
1486 }; 1492 };
1487 1493
1488 // An interface to observe UseCounter changes. Note that this is never 1494 // An interface to observe UseCounter changes. Note that this is never
1489 // notified when the counter is disabled by |m_muteCount| or 1495 // notified when the counter is disabled by |m_muteCount| or
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 // Tracks what features/properties need to be reported to the legacy 1585 // Tracks what features/properties need to be reported to the legacy
1580 // histograms. 1586 // histograms.
1581 BitVector m_featureBits; 1587 BitVector m_featureBits;
1582 BitVector m_CSSBits; 1588 BitVector m_CSSBits;
1583 } m_legacyCounter; 1589 } m_legacyCounter;
1584 }; 1590 };
1585 1591
1586 } // namespace blink 1592 } // namespace blink
1587 1593
1588 #endif // UseCounter_h 1594 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLCanvasElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698