| 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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 DOMImplementationHasFeatureReturnFalseInternal = 594, | 538 DOMImplementationHasFeatureReturnFalseInternal = 594, |
| 539 MouseEventWhich = 595, | 539 MouseEventWhich = 595, |
| 540 UIEventCharCode = 596, | 540 UIEventCharCode = 596, |
| 541 UIEventKeyCode = 597, | 541 UIEventKeyCode = 597, |
| 542 UIEventWhich = 598, | 542 UIEventWhich = 598, |
| 543 TextWholeText = 599, | 543 TextWholeText = 599, |
| 544 AttrChildAccess = 600, | 544 AttrChildAccess = 600, |
| 545 AttrChildChange = 601, | 545 AttrChildChange = 601, |
| 546 DocumentGetOverrideStyle = 602, | 546 DocumentGetOverrideStyle = 602, |
| 547 NotificationCloseEvent = 603, | 547 NotificationCloseEvent = 603, |
| 548 CSSKeyframesRuleAppendRule = 604, |
| 549 CSSKeyframesRuleInsertRule = 605, |
| 550 StyleMedia = 606, |
| 551 StyleMediaType = 607, |
| 552 StyleMediaMatchMedium = 608, |
| 548 | 553 |
| 549 // Add new features immediately above this line. Don't change assigned | 554 // Add new features immediately above this line. Don't change assigned |
| 550 // numbers of any item, and don't reuse removed slots. | 555 // numbers of any item, and don't reuse removed slots. |
| 551 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 556 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 552 // to update the UMA mapping. | 557 // to update the UMA mapping. |
| 553 NumberOfFeatures, // This enum value must be last. | 558 NumberOfFeatures, // This enum value must be last. |
| 554 }; | 559 }; |
| 555 | 560 |
| 556 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 561 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 557 static void count(const Frame*, Feature); | 562 static void count(const Frame*, Feature); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 | 626 |
| 622 void updateMeasurements(); | 627 void updateMeasurements(); |
| 623 | 628 |
| 624 OwnPtr<BitVector> m_countBits; | 629 OwnPtr<BitVector> m_countBits; |
| 625 BitVector m_CSSFeatureBits; | 630 BitVector m_CSSFeatureBits; |
| 626 }; | 631 }; |
| 627 | 632 |
| 628 } // namespace blink | 633 } // namespace blink |
| 629 | 634 |
| 630 #endif // UseCounter_h | 635 #endif // UseCounter_h |
| OLD | NEW |