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

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

Issue 2700063003: Add a use counter for creating processing instructions on HTML docs (Closed)
Patch Set: 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
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 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 V8HTMLVideoElement_Poster_AttributeGetter = 1815, 1465 V8HTMLVideoElement_Poster_AttributeGetter = 1815,
1466 V8HTMLVideoElement_Poster_AttributeSetter = 1816, 1466 V8HTMLVideoElement_Poster_AttributeSetter = 1816,
1467 NotificationPermissionRequestedIframe = 1817, 1467 NotificationPermissionRequestedIframe = 1817,
1468 FileReaderSyncInServiceWorker = 1818, 1468 FileReaderSyncInServiceWorker = 1818,
1469 PresentationReceiverInsecureOrigin = 1819, 1469 PresentationReceiverInsecureOrigin = 1819,
1470 PresentationReceiverSecureOrigin = 1820, 1470 PresentationReceiverSecureOrigin = 1820,
1471 PresentationRequestInsecureOrigin = 1821, 1471 PresentationRequestInsecureOrigin = 1821,
1472 PresentationRequestSecureOrigin = 1822, 1472 PresentationRequestSecureOrigin = 1822,
1473 RtcpMuxPolicyNegotiate = 1823, 1473 RtcpMuxPolicyNegotiate = 1823,
1474 DOMClobberedVariableAccessed = 1824, 1474 DOMClobberedVariableAccessed = 1824,
1475 HTMLDocumentCreateProcessingInstruction = 1825,
1475 1476
1476 // Add new features immediately above this line. Don't change assigned 1477 // Add new features immediately above this line. Don't change assigned
1477 // numbers of any item, and don't reuse removed slots. 1478 // numbers of any item, and don't reuse removed slots.
1478 // Also, run update_use_counter_feature_enum.py in 1479 // Also, run update_use_counter_feature_enum.py in
1479 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1480 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1480 NumberOfFeatures, // This enum value must be last. 1481 NumberOfFeatures, // This enum value must be last.
1481 }; 1482 };
1482 1483
1483 // An interface to observe UseCounter changes. Note that this is never 1484 // An interface to observe UseCounter changes. Note that this is never
1484 // notified when the counter is disabled by |m_muteCount| or 1485 // notified when the counter is disabled by |m_muteCount| or
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 // Tracks what features/properties need to be reported to the legacy 1575 // Tracks what features/properties need to be reported to the legacy
1575 // histograms. 1576 // histograms.
1576 BitVector m_featureBits; 1577 BitVector m_featureBits;
1577 BitVector m_CSSBits; 1578 BitVector m_CSSBits;
1578 } m_legacyCounter; 1579 } m_legacyCounter;
1579 }; 1580 };
1580 1581
1581 } // namespace blink 1582 } // namespace blink
1582 1583
1583 #endif // UseCounter_h 1584 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698