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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 FocusInOutEvent = 433, | 433 FocusInOutEvent = 433, |
434 MouseEventMovementX = 434, | 434 MouseEventMovementX = 434, |
435 MouseEventMovementY = 435, | 435 MouseEventMovementY = 435, |
436 MixedContentTextTrack = 436, | 436 MixedContentTextTrack = 436, |
437 MixedContentRaw = 437, | 437 MixedContentRaw = 437, |
438 MixedContentImage = 438, | 438 MixedContentImage = 438, |
439 MixedContentMedia = 439, | 439 MixedContentMedia = 439, |
440 DocumentFonts = 440, | 440 DocumentFonts = 440, |
441 MixedContentFormsSubmitted = 441, | 441 MixedContentFormsSubmitted = 441, |
442 FormsSubmitted = 442, | 442 FormsSubmitted = 442, |
| 443 TextInputEventOnInput = 443, |
| 444 TextInputEventOnTextArea = 444, |
| 445 TextInputEventOnContentEditable= 445, |
| 446 TextInputEventOnNotNode = 446, |
| 447 WebkitBeforeTextInsertedOnInput = 447, |
| 448 WebkitBeforeTextInsertedOnTextArea = 448, |
| 449 WebkitBeforeTextInsertedOnContentEditable = 449, |
| 450 WebkitBeforeTextInsertedOnNotNode = 450, |
| 451 WebkitEditableContentChangedOnInput = 451, |
| 452 WebkitEditableContentChangedOnTextArea = 452, |
| 453 WebkitEditableContentChangedOnContentEditable = 453, |
| 454 WebkitEditableContentChangedOnNotNode = 454, |
443 // Add new features immediately above this line. Don't change assigned | 455 // Add new features immediately above this line. Don't change assigned |
444 // numbers of any item, and don't reuse removed slots. | 456 // numbers of any item, and don't reuse removed slots. |
445 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ | 457 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me
trics/histograms/ |
446 // to update the UMA mapping. | 458 // to update the UMA mapping. |
447 NumberOfFeatures, // This enum value must be last. | 459 NumberOfFeatures, // This enum value must be last. |
448 }; | 460 }; |
449 | 461 |
450 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 462 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
451 static void count(const Document&, Feature); | 463 static void count(const Document&, Feature); |
452 // This doesn't count for non-Document ExecutionContext. | 464 // This doesn't count for non-Document ExecutionContext. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 | 510 |
499 void updateMeasurements(); | 511 void updateMeasurements(); |
500 | 512 |
501 OwnPtr<BitVector> m_countBits; | 513 OwnPtr<BitVector> m_countBits; |
502 BitVector m_CSSFeatureBits; | 514 BitVector m_CSSFeatureBits; |
503 }; | 515 }; |
504 | 516 |
505 } // namespace WebCore | 517 } // namespace WebCore |
506 | 518 |
507 #endif // UseCounter_h | 519 #endif // UseCounter_h |
OLD | NEW |