| OLD | NEW |
| 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 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 ScrollbarUseHorizontalScrollbarTrack = 1782, | 1442 ScrollbarUseHorizontalScrollbarTrack = 1782, |
| 1443 HTMLTableCellElementColspan = 1783, | 1443 HTMLTableCellElementColspan = 1783, |
| 1444 HTMLTableCellElementColspanGreaterThan1000 = 1784, | 1444 HTMLTableCellElementColspanGreaterThan1000 = 1784, |
| 1445 HTMLTableCellElementColspanGreaterThan8190 = 1785, | 1445 HTMLTableCellElementColspanGreaterThan8190 = 1785, |
| 1446 SelectionAddRangeIntersect = 1786, | 1446 SelectionAddRangeIntersect = 1786, |
| 1447 V8MediaSession_Metadata_AttributeGetter = 1788, | 1447 V8MediaSession_Metadata_AttributeGetter = 1788, |
| 1448 V8MediaSession_Metadata_AttributeSetter = 1789, | 1448 V8MediaSession_Metadata_AttributeSetter = 1789, |
| 1449 V8MediaSession_PlaybackState_AttributeGetter = 1790, | 1449 V8MediaSession_PlaybackState_AttributeGetter = 1790, |
| 1450 V8MediaSession_PlaybackState_AttributeSetter = 1791, | 1450 V8MediaSession_PlaybackState_AttributeSetter = 1791, |
| 1451 V8MediaSession_SetActionHandler_Method = 1792, | 1451 V8MediaSession_SetActionHandler_Method = 1792, |
| 1452 AudioParamCancelAndHoldAtTime = 1797, |
| 1452 | 1453 |
| 1453 // Add new features immediately above this line. Don't change assigned | 1454 // Add new features immediately above this line. Don't change assigned |
| 1454 // numbers of any item, and don't reuse removed slots. | 1455 // numbers of any item, and don't reuse removed slots. |
| 1455 // Also, run update_use_counter_feature_enum.py in | 1456 // Also, run update_use_counter_feature_enum.py in |
| 1456 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1457 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1457 NumberOfFeatures, // This enum value must be last. | 1458 NumberOfFeatures, // This enum value must be last. |
| 1458 }; | 1459 }; |
| 1459 | 1460 |
| 1460 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1461 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1461 static void count(const Frame*, Feature); | 1462 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1530 // Tracks what features/properties need to be reported to the legacy | 1531 // Tracks what features/properties need to be reported to the legacy |
| 1531 // histograms. | 1532 // histograms. |
| 1532 BitVector m_featureBits; | 1533 BitVector m_featureBits; |
| 1533 BitVector m_CSSBits; | 1534 BitVector m_CSSBits; |
| 1534 } m_legacyCounter; | 1535 } m_legacyCounter; |
| 1535 }; | 1536 }; |
| 1536 | 1537 |
| 1537 } // namespace blink | 1538 } // namespace blink |
| 1538 | 1539 |
| 1539 #endif // UseCounter_h | 1540 #endif // UseCounter_h |
| OLD | NEW |