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

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

Issue 2134813002: Implement ConstantSourceNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 2 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 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 V8HTMLMediaElement_SrcObject_AttributeSetter = 1603, 1327 V8HTMLMediaElement_SrcObject_AttributeSetter = 1603,
1328 CreateObjectURLBlob = 1604, 1328 CreateObjectURLBlob = 1604,
1329 CreateObjectURLMediaSource = 1605, 1329 CreateObjectURLMediaSource = 1605,
1330 CreateObjectURLMediaStream = 1606, 1330 CreateObjectURLMediaStream = 1606,
1331 DocumentCreateTouchWindowNull = 1607, 1331 DocumentCreateTouchWindowNull = 1607,
1332 DocumentCreateTouchWindowWrongType = 1608, 1332 DocumentCreateTouchWindowWrongType = 1608,
1333 DocumentCreateTouchTargetNull = 1609, 1333 DocumentCreateTouchTargetNull = 1609,
1334 DocumentCreateTouchTargetWrongType = 1610, 1334 DocumentCreateTouchTargetWrongType = 1610,
1335 DocumentCreateTouchLessThanSevenArguments = 1611, 1335 DocumentCreateTouchLessThanSevenArguments = 1611,
1336 DocumentCreateTouchMoreThanSevenArguments = 1612, 1336 DocumentCreateTouchMoreThanSevenArguments = 1612,
1337 AudioContextCreateConstantSource = 1613,
1338 WebAudioConstantSourceNode = 1614,
1337 1339
1338 // Add new features immediately above this line. Don't change assigned 1340 // Add new features immediately above this line. Don't change assigned
1339 // numbers of any item, and don't reuse removed slots. 1341 // numbers of any item, and don't reuse removed slots.
1340 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1342 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1341 // to update the UMA mapping. 1343 // to update the UMA mapping.
1342 NumberOfFeatures, // This enum value must be last. 1344 NumberOfFeatures, // This enum value must be last.
1343 }; 1345 };
1344 1346
1345 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1347 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1346 static void count(const Frame*, Feature); 1348 static void count(const Frame*, Feature);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 private: 1411 private:
1410 // Tracks what features/properties need to be reported to the legacy his tograms. 1412 // Tracks what features/properties need to be reported to the legacy his tograms.
1411 BitVector m_featureBits; 1413 BitVector m_featureBits;
1412 BitVector m_CSSBits; 1414 BitVector m_CSSBits;
1413 } m_legacyCounter; 1415 } m_legacyCounter;
1414 }; 1416 };
1415 1417
1416 } // namespace blink 1418 } // namespace blink
1417 1419
1418 #endif // UseCounter_h 1420 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698