| 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 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 FormSubmittedWithUnclosedFormControl = 1767, | 1437 FormSubmittedWithUnclosedFormControl = 1767, |
| 1438 DocumentCompleteURLHTTPContainingNewline = 1768, | 1438 DocumentCompleteURLHTTPContainingNewline = 1768, |
| 1439 DocumentCompleteURLHTTPContainingLessThan = 1769, | 1439 DocumentCompleteURLHTTPContainingLessThan = 1769, |
| 1440 DocumentCompleteURLHTTPContainingNewlineAndLessThan = 1770, | 1440 DocumentCompleteURLHTTPContainingNewlineAndLessThan = 1770, |
| 1441 DocumentCompleteURLNonHTTPContainingNewlineOrLessThan = 1771, | 1441 DocumentCompleteURLNonHTTPContainingNewlineOrLessThan = 1771, |
| 1442 CSSSelectorInternalMediaControlsTextTrackList = 1772, | 1442 CSSSelectorInternalMediaControlsTextTrackList = 1772, |
| 1443 CSSSelectorInternalMediaControlsTextTrackListItem = 1773, | 1443 CSSSelectorInternalMediaControlsTextTrackListItem = 1773, |
| 1444 CSSSelectorInternalMediaControlsTextTrackListItemInput = 1774, | 1444 CSSSelectorInternalMediaControlsTextTrackListItemInput = 1774, |
| 1445 CSSSelectorInternalMediaControlsTextTrackListKindCaptions = 1775, | 1445 CSSSelectorInternalMediaControlsTextTrackListKindCaptions = 1775, |
| 1446 CSSSelectorInternalMediaControlsTextTrackListKindSubtitles = 1776, | 1446 CSSSelectorInternalMediaControlsTextTrackListKindSubtitles = 1776, |
| 1447 ScrollbarUseVerticalScrollbarButton = 1777, |
| 1448 ScrollbarUseVerticalScrollbarThumb = 1778, |
| 1449 ScrollbarUseVerticalScrollbarTrack = 1779, |
| 1450 ScrollbarUseHorizontalScrollbarButton = 1780, |
| 1451 ScrollbarUseHorizontalScrollbarThumb = 1781, |
| 1452 ScrollbarUseHorizontalScrollbarTrack = 1782, |
| 1447 | 1453 |
| 1448 // Add new features immediately above this line. Don't change assigned | 1454 // Add new features immediately above this line. Don't change assigned |
| 1449 // numbers of any item, and don't reuse removed slots. | 1455 // numbers of any item, and don't reuse removed slots. |
| 1450 // Also, run update_use_counter_feature_enum.py in | 1456 // Also, run update_use_counter_feature_enum.py in |
| 1451 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. | 1457 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. |
| 1452 NumberOfFeatures, // This enum value must be last. | 1458 NumberOfFeatures, // This enum value must be last. |
| 1453 }; | 1459 }; |
| 1454 | 1460 |
| 1455 // "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. |
| 1456 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... |
| 1525 // Tracks what features/properties need to be reported to the legacy | 1531 // Tracks what features/properties need to be reported to the legacy |
| 1526 // histograms. | 1532 // histograms. |
| 1527 BitVector m_featureBits; | 1533 BitVector m_featureBits; |
| 1528 BitVector m_CSSBits; | 1534 BitVector m_CSSBits; |
| 1529 } m_legacyCounter; | 1535 } m_legacyCounter; |
| 1530 }; | 1536 }; |
| 1531 | 1537 |
| 1532 } // namespace blink | 1538 } // namespace blink |
| 1533 | 1539 |
| 1534 #endif // UseCounter_h | 1540 #endif // UseCounter_h |
| OLD | NEW |