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

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

Issue 2772723002: Add detailed use counters for document.registerElement use. (Closed)
Patch Set: Bring patch to head. 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 /* 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 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1484 VRPoseLinearVelocity = 1863, 1484 VRPoseLinearVelocity = 1863,
1485 VRPoseLinearAcceleration = 1864, 1485 VRPoseLinearAcceleration = 1864,
1486 VRPoseAngularVelocity = 1865, 1486 VRPoseAngularVelocity = 1865,
1487 VRPoseAngularAcceleration = 1866, 1487 VRPoseAngularAcceleration = 1866,
1488 CSSOverflowPaged = 1867, 1488 CSSOverflowPaged = 1867,
1489 ChildSrcAllowedWorkerThatScriptSrcBlocked = 1868, 1489 ChildSrcAllowedWorkerThatScriptSrcBlocked = 1868,
1490 HTMLTableElementPresentationAttributeBackground = 1869, 1490 HTMLTableElementPresentationAttributeBackground = 1869,
1491 V8Navigator_GetInstalledRelatedApps_Method = 1870, 1491 V8Navigator_GetInstalledRelatedApps_Method = 1870,
1492 NamedAccessOnWindow_ChildBrowsingContext = 1871, 1492 NamedAccessOnWindow_ChildBrowsingContext = 1871,
1493 NamedAccessOnWindow_ChildBrowsingContext_CrossOriginNameMismatch = 1872, 1493 NamedAccessOnWindow_ChildBrowsingContext_CrossOriginNameMismatch = 1872,
1494 V0CustomElementsRegisterHTMLCustomTag = 1873,
1495 V0CustomElementsRegisterHTMLTypeExtension = 1874,
1496 V0CustomElementsRegisterSVGElement = 1875,
1497 V0CustomElementsRegisterEmbedderElement = 1876,
1498 V0CustomElementsCreateCustomTagElement = 1877,
1499 V0CustomElementsCreateTypeExtensionElement = 1878,
1500 V0CustomElementsConstruct = 1879,
1494 1501
1495 // Add new features immediately above this line. Don't change assigned 1502 // Add new features immediately above this line. Don't change assigned
1496 // numbers of any item, and don't reuse removed slots. 1503 // numbers of any item, and don't reuse removed slots.
1497 // Also, run update_use_counter_feature_enum.py in 1504 // Also, run update_use_counter_feature_enum.py in
1498 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1505 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1499 NumberOfFeatures, // This enum value must be last. 1506 NumberOfFeatures, // This enum value must be last.
1500 }; 1507 };
1501 1508
1502 // An interface to observe UseCounter changes. Note that this is never 1509 // An interface to observe UseCounter changes. Note that this is never
1503 // notified when the counter is disabled by |m_muteCount| or 1510 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 // Tracks what features/properties need to be reported to the legacy 1610 // Tracks what features/properties need to be reported to the legacy
1604 // histograms. 1611 // histograms.
1605 BitVector m_featureBits; 1612 BitVector m_featureBits;
1606 BitVector m_CSSBits; 1613 BitVector m_CSSBits;
1607 } m_legacyCounter; 1614 } m_legacyCounter;
1608 }; 1615 };
1609 1616
1610 } // namespace blink 1617 } // namespace blink
1611 1618
1612 #endif // UseCounter_h 1619 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698