Chromium Code Reviews| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 DocumentClear, |
| 134 PrefixedTransitionMediaFeature, | |
|
Mike West
2013/05/13 15:11:51
"UnprefixedTeansition..." as well. :)
| |
| 134 // Add new features above this line. Don't change assigned numbers of ea ch items. | 135 // Add new features above this line. Don't change assigned numbers of ea ch items. |
| 135 NumberOfFeatures, // This enum value must be last. | 136 NumberOfFeatures, // This enum value must be last. |
| 136 }; | 137 }; |
| 137 | 138 |
| 138 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 139 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 139 static void count(Document*, Feature); | 140 static void count(Document*, Feature); |
| 140 static void count(DOMWindow*, Feature); | 141 static void count(DOMWindow*, Feature); |
| 141 | 142 |
| 142 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec ation | 143 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec ation |
| 143 // warning to the console. Repeated calls are ignored. | 144 // warning to the console. Repeated calls are ignored. |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 169 } | 170 } |
| 170 | 171 |
| 171 void updateMeasurements(); | 172 void updateMeasurements(); |
| 172 | 173 |
| 173 OwnPtr<BitVector> m_countBits; | 174 OwnPtr<BitVector> m_countBits; |
| 174 }; | 175 }; |
| 175 | 176 |
| 176 } // namespace WebCore | 177 } // namespace WebCore |
| 177 | 178 |
| 178 #endif // UseCounter_h | 179 #endif // UseCounter_h |
| OLD | NEW |