| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 SVGTRefElement, | 123 SVGTRefElement, |
| 124 UnprefixedPerformanceTimeline, | 124 UnprefixedPerformanceTimeline, |
| 125 PrefixedPerformanceTimeline, | 125 PrefixedPerformanceTimeline, |
| 126 UnprefixedUserTiming, | 126 UnprefixedUserTiming, |
| 127 PrefixedUserTiming, | 127 PrefixedUserTiming, |
| 128 WindowEvent, | 128 WindowEvent, |
| 129 ContentSecurityPolicyWithBaseElement, | 129 ContentSecurityPolicyWithBaseElement, |
| 130 PrefixedMediaAddKey, | 130 PrefixedMediaAddKey, |
| 131 PrefixedMediaGenerateKeyRequest, | 131 PrefixedMediaGenerateKeyRequest, |
| 132 WebAudioLooping, | 132 WebAudioLooping, |
| 133 DocumentClear, |
| 133 // Add new features above this line. Don't change assigned numbers of ea
ch items. | 134 // Add new features above this line. Don't change assigned numbers of ea
ch items. |
| 134 NumberOfFeatures, // This enum value must be last. | 135 NumberOfFeatures, // This enum value must be last. |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 138 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 138 static void count(Document*, Feature); | 139 static void count(Document*, Feature); |
| 139 static void count(DOMWindow*, Feature); | 140 static void count(DOMWindow*, Feature); |
| 140 | 141 |
| 141 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec
ation | 142 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec
ation |
| 142 // warning to the console. Repeated calls are ignored. | 143 // warning to the console. Repeated calls are ignored. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 168 } | 169 } |
| 169 | 170 |
| 170 void updateMeasurements(); | 171 void updateMeasurements(); |
| 171 | 172 |
| 172 OwnPtr<BitVector> m_countBits; | 173 OwnPtr<BitVector> m_countBits; |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 } // namespace WebCore | 176 } // namespace WebCore |
| 176 | 177 |
| 177 #endif // UseCounter_h | 178 #endif // UseCounter_h |
| OLD | NEW |