| 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 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1524 kMagnetometerConstructor = 1907, | 1524 kMagnetometerConstructor = 1907, |
| 1525 kOrientationSensorPopulateMatrix = 1908, | 1525 kOrientationSensorPopulateMatrix = 1908, |
| 1526 kWindowOpenWithInvalidURL = 1909, | 1526 kWindowOpenWithInvalidURL = 1909, |
| 1527 kCrossOriginMainFrameNulledNameAccessed = 1910, | 1527 kCrossOriginMainFrameNulledNameAccessed = 1910, |
| 1528 kMenuItemElementIconAttribute = 1911, | 1528 kMenuItemElementIconAttribute = 1911, |
| 1529 kWebkitCSSMatrixSetMatrixValue = 1912, | 1529 kWebkitCSSMatrixSetMatrixValue = 1912, |
| 1530 kWebkitCSSMatrixConstructFromString = 1913, | 1530 kWebkitCSSMatrixConstructFromString = 1913, |
| 1531 kCanRequestURLHTTPContainingNewline = 1914, | 1531 kCanRequestURLHTTPContainingNewline = 1914, |
| 1532 kCanRequestURLNonHTTPContainingNewline = 1915, | 1532 kCanRequestURLNonHTTPContainingNewline = 1915, |
| 1533 kGetGamepads = 1916, | 1533 kGetGamepads = 1916, |
| 1534 kV8SVGPathElement_GetPathSegAtLength_Method = 1917, |
| 1534 | 1535 |
| 1535 // Add new features immediately above this line. Don't change assigned | 1536 // Add new features immediately above this line. Don't change assigned |
| 1536 // numbers of any item, and don't reuse removed slots. | 1537 // numbers of any item, and don't reuse removed slots. |
| 1537 // Also, run update_use_counter_feature_enum.py in | 1538 // Also, run update_use_counter_feature_enum.py in |
| 1538 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1539 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1539 kNumberOfFeatures, // This enum value must be last. | 1540 kNumberOfFeatures, // This enum value must be last. |
| 1540 }; | 1541 }; |
| 1541 | 1542 |
| 1542 // An interface to observe UseCounter changes. Note that this is never | 1543 // An interface to observe UseCounter changes. Note that this is never |
| 1543 // notified when the counter is disabled by |m_muteCount| or | 1544 // notified when the counter is disabled by |m_muteCount| or |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1643 // Tracks what features/properties need to be reported to the legacy | 1644 // Tracks what features/properties need to be reported to the legacy |
| 1644 // histograms. | 1645 // histograms. |
| 1645 BitVector feature_bits_; | 1646 BitVector feature_bits_; |
| 1646 BitVector css_bits_; | 1647 BitVector css_bits_; |
| 1647 } legacy_counter_; | 1648 } legacy_counter_; |
| 1648 }; | 1649 }; |
| 1649 | 1650 |
| 1650 } // namespace blink | 1651 } // namespace blink |
| 1651 | 1652 |
| 1652 #endif // UseCounter_h | 1653 #endif // UseCounter_h |
| OLD | NEW |