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

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

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and prefix use counter names with WebAudio Created 4 years, 3 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 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 MiddleClickAutoscrollStart = 1551, 1292 MiddleClickAutoscrollStart = 1551,
1293 ClipCssOfFixedPositionElement = 1552, 1293 ClipCssOfFixedPositionElement = 1552,
1294 RTCPeerConnectionCreateOfferOptionsOfferToReceive = 1553, 1294 RTCPeerConnectionCreateOfferOptionsOfferToReceive = 1553,
1295 DragAndDropScrollStart = 1554, 1295 DragAndDropScrollStart = 1554,
1296 PresentationConnectionListConnectionAvailableEventListener = 1555, 1296 PresentationConnectionListConnectionAvailableEventListener = 1555,
1297 WebAudioAutoplayCrossOriginIframe = 1556, 1297 WebAudioAutoplayCrossOriginIframe = 1556,
1298 ScriptInvalidTypeOrLanguage = 1557, 1298 ScriptInvalidTypeOrLanguage = 1557,
1299 VRGetDisplays = 1558, 1299 VRGetDisplays = 1558,
1300 VRPresent = 1559, 1300 VRPresent = 1559,
1301 VRDeprecatedGetPose = 1560, 1301 VRDeprecatedGetPose = 1560,
1302 WebAudioAnalyserNode = 1561,
1303 WebAudioAudioBuffer = 1562,
1304 WebAudioAudioBufferSourceNode = 1563,
1305 WebAudioBiquadFilterNode = 1564,
1306 WebAudioChannelMergerNode = 1565,
1307 WebAudioChannelSplitterNode = 1566,
1308 WebAudioConvolverNode = 1567,
1309 WebAudioDelayNode = 1568,
1310 WebAudioDynamicsCompressorNode = 1569,
1311 WebAudioGainNode = 1570,
1312 WebAudioIIRFilterNode = 1571,
1313 WebAudioMediaElementAudioSourceNode = 1572,
1314 WebAudioOscillatorNode = 1573,
1315 WebAudioPannerNode = 1574,
1316 WebAudioPeriodicWave = 1575,
1317 WebAudioStereoPannerNode = 1576,
1318 WebAudioWaveShaperNode = 1577,
1302 1319
1303 // Add new features immediately above this line. Don't change assigned 1320 // Add new features immediately above this line. Don't change assigned
1304 // numbers of any item, and don't reuse removed slots. 1321 // numbers of any item, and don't reuse removed slots.
1305 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1322 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1306 // to update the UMA mapping. 1323 // to update the UMA mapping.
1307 NumberOfFeatures, // This enum value must be last. 1324 NumberOfFeatures, // This enum value must be last.
1308 }; 1325 };
1309 1326
1310 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1327 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1311 static void count(const Frame*, Feature); 1328 static void count(const Frame*, Feature);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 private: 1391 private:
1375 // Tracks what features/properties need to be reported to the legacy his tograms. 1392 // Tracks what features/properties need to be reported to the legacy his tograms.
1376 BitVector m_featureBits; 1393 BitVector m_featureBits;
1377 BitVector m_CSSBits; 1394 BitVector m_CSSBits;
1378 } m_legacyCounter; 1395 } m_legacyCounter;
1379 }; 1396 };
1380 1397
1381 } // namespace blink 1398 } // namespace blink
1382 1399
1383 #endif // UseCounter_h 1400 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698