| 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 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 ScrollbarUseVerticalScrollbarThumb = 1778, | 1432 ScrollbarUseVerticalScrollbarThumb = 1778, |
| 1433 ScrollbarUseVerticalScrollbarTrack = 1779, | 1433 ScrollbarUseVerticalScrollbarTrack = 1779, |
| 1434 ScrollbarUseHorizontalScrollbarButton = 1780, | 1434 ScrollbarUseHorizontalScrollbarButton = 1780, |
| 1435 ScrollbarUseHorizontalScrollbarThumb = 1781, | 1435 ScrollbarUseHorizontalScrollbarThumb = 1781, |
| 1436 ScrollbarUseHorizontalScrollbarTrack = 1782, | 1436 ScrollbarUseHorizontalScrollbarTrack = 1782, |
| 1437 HTMLTableCellElementColspan = 1783, | 1437 HTMLTableCellElementColspan = 1783, |
| 1438 HTMLTableCellElementColspanGreaterThan1000 = 1784, | 1438 HTMLTableCellElementColspanGreaterThan1000 = 1784, |
| 1439 HTMLTableCellElementColspanGreaterThan8190 = 1785, | 1439 HTMLTableCellElementColspanGreaterThan8190 = 1785, |
| 1440 SelectionAddRangeIntersect = 1786, | 1440 SelectionAddRangeIntersect = 1786, |
| 1441 PostMessageFromInsecureToSecureToplevel = 1787, | 1441 PostMessageFromInsecureToSecureToplevel = 1787, |
| 1442 V8MediaSession_Metadata_AttributeGetter = 1788, |
| 1443 V8MediaSession_Metadata_AttributeSetter = 1789, |
| 1444 V8MediaSession_PlaybackState_AttributeGetter = 1790, |
| 1445 V8MediaSession_PlaybackState_AttributeSetter = 1791, |
| 1446 V8MediaSession_SetActionHandler_Method = 1792, |
| 1442 | 1447 |
| 1443 // Add new features immediately above this line. Don't change assigned | 1448 // Add new features immediately above this line. Don't change assigned |
| 1444 // numbers of any item, and don't reuse removed slots. | 1449 // numbers of any item, and don't reuse removed slots. |
| 1445 // Also, run update_use_counter_feature_enum.py in | 1450 // Also, run update_use_counter_feature_enum.py in |
| 1446 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1451 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1447 NumberOfFeatures, // This enum value must be last. | 1452 NumberOfFeatures, // This enum value must be last. |
| 1448 }; | 1453 }; |
| 1449 | 1454 |
| 1450 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 1455 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 1451 static void count(const Frame*, Feature); | 1456 static void count(const Frame*, Feature); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 // Tracks what features/properties need to be reported to the legacy | 1525 // Tracks what features/properties need to be reported to the legacy |
| 1521 // histograms. | 1526 // histograms. |
| 1522 BitVector m_featureBits; | 1527 BitVector m_featureBits; |
| 1523 BitVector m_CSSBits; | 1528 BitVector m_CSSBits; |
| 1524 } m_legacyCounter; | 1529 } m_legacyCounter; |
| 1525 }; | 1530 }; |
| 1526 | 1531 |
| 1527 } // namespace blink | 1532 } // namespace blink |
| 1528 | 1533 |
| 1529 #endif // UseCounter_h | 1534 #endif // UseCounter_h |
| OLD | NEW |