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

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: Address review comments 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 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 DocumentCreateTouchWindowWrongType = 1608, 1333 DocumentCreateTouchWindowWrongType = 1608,
1334 DocumentCreateTouchTargetNull = 1609, 1334 DocumentCreateTouchTargetNull = 1609,
1335 DocumentCreateTouchTargetWrongType = 1610, 1335 DocumentCreateTouchTargetWrongType = 1610,
1336 DocumentCreateTouchLessThanSevenArguments = 1611, 1336 DocumentCreateTouchLessThanSevenArguments = 1611,
1337 DocumentCreateTouchMoreThanSevenArguments = 1612, 1337 DocumentCreateTouchMoreThanSevenArguments = 1612,
1338 EncryptedMediaCapabilityProvided = 1613, 1338 EncryptedMediaCapabilityProvided = 1613,
1339 EncryptedMediaCapabilityNotProvided = 1614, 1339 EncryptedMediaCapabilityNotProvided = 1614,
1340 LongTaskObserver = 1615, 1340 LongTaskObserver = 1615,
1341 CSSMotionInEffect = 1616, 1341 CSSMotionInEffect = 1616,
1342 CSSOffsetInEffect = 1617, 1342 CSSOffsetInEffect = 1617,
1343 AudioContextCreateConstantSource = 1618,
1344 WebAudioConstantSourceNode = 1619,
1343 1345
1344 // Add new features immediately above this line. Don't change assigned 1346 // Add new features immediately above this line. Don't change assigned
1345 // numbers of any item, and don't reuse removed slots. 1347 // numbers of any item, and don't reuse removed slots.
1346 // Also, run update_use_counter_feature_enum.py in 1348 // Also, run update_use_counter_feature_enum.py in
1347 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1349 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1348 NumberOfFeatures, // This enum value must be last. 1350 NumberOfFeatures, // This enum value must be last.
1349 }; 1351 };
1350 1352
1351 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1353 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1352 static void count(const Frame*, Feature); 1354 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 // Tracks what features/properties need to be reported to the legacy 1423 // Tracks what features/properties need to be reported to the legacy
1422 // histograms. 1424 // histograms.
1423 BitVector m_featureBits; 1425 BitVector m_featureBits;
1424 BitVector m_CSSBits; 1426 BitVector m_CSSBits;
1425 } m_legacyCounter; 1427 } m_legacyCounter;
1426 }; 1428 };
1427 1429
1428 } // namespace blink 1430 } // namespace blink
1429 1431
1430 #endif // UseCounter_h 1432 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698