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