| 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 SVGSMILElementInDocument = 501, | 486 SVGSMILElementInDocument = 501, |
| 487 MouseEventOffsetX = 502, | 487 MouseEventOffsetX = 502, |
| 488 MouseEventOffsetY = 503, | 488 MouseEventOffsetY = 503, |
| 489 MouseEventX = 504, | 489 MouseEventX = 504, |
| 490 MouseEventY = 505, | 490 MouseEventY = 505, |
| 491 MouseEventFromElement = 506, | 491 MouseEventFromElement = 506, |
| 492 MouseEventToElement = 507, | 492 MouseEventToElement = 507, |
| 493 RequestFileSystem = 508, | 493 RequestFileSystem = 508, |
| 494 RequestFileSystemWorker = 509, | 494 RequestFileSystemWorker = 509, |
| 495 RequestFileSystemSyncWorker = 510, | 495 RequestFileSystemSyncWorker = 510, |
| 496 UIEventLayerX = 511, |
| 497 UIEventLayerY = 512, |
| 498 UIEventPageX = 513, |
| 499 UIEventPageY = 514, |
| 496 // Add new features immediately above this line. Don't change assigned | 500 // Add new features immediately above this line. Don't change assigned |
| 497 // numbers of any item, and don't reuse removed slots. | 501 // numbers of any item, and don't reuse removed slots. |
| 498 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 502 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
| 499 // to update the UMA mapping. | 503 // to update the UMA mapping. |
| 500 NumberOfFeatures, // This enum value must be last. | 504 NumberOfFeatures, // This enum value must be last. |
| 501 }; | 505 }; |
| 502 | 506 |
| 503 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 507 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 504 static void count(const Document&, Feature); | 508 static void count(const Document&, Feature); |
| 505 // This doesn't count for ExecutionContexts for shared workers and service | 509 // This doesn't count for ExecutionContexts for shared workers and service |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 560 |
| 557 void updateMeasurements(); | 561 void updateMeasurements(); |
| 558 | 562 |
| 559 OwnPtr<BitVector> m_countBits; | 563 OwnPtr<BitVector> m_countBits; |
| 560 BitVector m_CSSFeatureBits; | 564 BitVector m_CSSFeatureBits; |
| 561 }; | 565 }; |
| 562 | 566 |
| 563 } // namespace blink | 567 } // namespace blink |
| 564 | 568 |
| 565 #endif // UseCounter_h | 569 #endif // UseCounter_h |
| OLD | NEW |