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 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1520 GenericSensorOnError = 1904, | 1520 GenericSensorOnError = 1904, |
1521 GenericSensorActivated = 1905, | 1521 GenericSensorActivated = 1905, |
1522 GyroscopeConstructor = 1906, | 1522 GyroscopeConstructor = 1906, |
1523 MagnetometerConstructor = 1907, | 1523 MagnetometerConstructor = 1907, |
1524 OrientationSensorPopulateMatrix = 1908, | 1524 OrientationSensorPopulateMatrix = 1908, |
1525 WindowOpenWithInvalidURL = 1909, | 1525 WindowOpenWithInvalidURL = 1909, |
1526 CrossOriginMainFrameNulledNameAccessed = 1910, | 1526 CrossOriginMainFrameNulledNameAccessed = 1910, |
1527 MenuItemElementIconAttribute = 1911, | 1527 MenuItemElementIconAttribute = 1911, |
1528 WebkitCSSMatrixSetMatrixValue = 1912, | 1528 WebkitCSSMatrixSetMatrixValue = 1912, |
1529 WebkitCSSMatrixConstructFromString = 1913, | 1529 WebkitCSSMatrixConstructFromString = 1913, |
| 1530 CanRequestURLHTTPContainingNewline = 1914, |
| 1531 CanRequestURLNonHTTPContainingNewline = 1915, |
1530 | 1532 |
1531 // Add new features immediately above this line. Don't change assigned | 1533 // Add new features immediately above this line. Don't change assigned |
1532 // numbers of any item, and don't reuse removed slots. | 1534 // numbers of any item, and don't reuse removed slots. |
1533 // Also, run update_use_counter_feature_enum.py in | 1535 // Also, run update_use_counter_feature_enum.py in |
1534 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1536 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
1535 NumberOfFeatures, // This enum value must be last. | 1537 NumberOfFeatures, // This enum value must be last. |
1536 }; | 1538 }; |
1537 | 1539 |
1538 // An interface to observe UseCounter changes. Note that this is never | 1540 // An interface to observe UseCounter changes. Note that this is never |
1539 // notified when the counter is disabled by |m_muteCount| or | 1541 // notified when the counter is disabled by |m_muteCount| or |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1639 // Tracks what features/properties need to be reported to the legacy | 1641 // Tracks what features/properties need to be reported to the legacy |
1640 // histograms. | 1642 // histograms. |
1641 BitVector m_featureBits; | 1643 BitVector m_featureBits; |
1642 BitVector m_CSSBits; | 1644 BitVector m_CSSBits; |
1643 } m_legacyCounter; | 1645 } m_legacyCounter; |
1644 }; | 1646 }; |
1645 | 1647 |
1646 } // namespace blink | 1648 } // namespace blink |
1647 | 1649 |
1648 #endif // UseCounter_h | 1650 #endif // UseCounter_h |
OLD | NEW |