| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // Counters for SVGImages (lifetime independent from other pages). | 65 // Counters for SVGImages (lifetime independent from other pages). |
| 66 SVGImageContext | 66 SVGImageContext |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 UseCounter(Context = DefaultContext); | 69 UseCounter(Context = DefaultContext); |
| 70 | 70 |
| 71 enum Feature { | 71 enum Feature { |
| 72 // Do not change assigned numbers of existing items: add new features | 72 // Do not change assigned numbers of existing items: add new features |
| 73 // to the end of the list. | 73 // to the end of the list. |
| 74 OBSOLETE_PageDestruction = 0, | 74 OBSOLETE_PageDestruction = 0, |
| 75 PrefixedIndexedDB = 3, | |
| 76 WorkerStart = 4, | 75 WorkerStart = 4, |
| 77 SharedWorkerStart = 5, | 76 SharedWorkerStart = 5, |
| 78 UnprefixedIndexedDB = 9, | 77 UnprefixedIndexedDB = 9, |
| 79 OpenWebDatabase = 10, | 78 OpenWebDatabase = 10, |
| 80 UnprefixedRequestAnimationFrame = 13, | 79 UnprefixedRequestAnimationFrame = 13, |
| 81 PrefixedRequestAnimationFrame = 14, | 80 PrefixedRequestAnimationFrame = 14, |
| 82 ContentSecurityPolicy = 15, | 81 ContentSecurityPolicy = 15, |
| 83 ContentSecurityPolicyReportOnly = 16, | 82 ContentSecurityPolicyReportOnly = 16, |
| 84 PrefixedTransitionEndEvent = 18, | 83 PrefixedTransitionEndEvent = 18, |
| 85 UnprefixedTransitionEndEvent = 19, | 84 UnprefixedTransitionEndEvent = 19, |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 NodeIteratorDetach = 347, | 280 NodeIteratorDetach = 347, |
| 282 EventGetReturnValueTrue = 350, | 281 EventGetReturnValueTrue = 350, |
| 283 EventGetReturnValueFalse = 351, | 282 EventGetReturnValueFalse = 351, |
| 284 EventSetReturnValueTrue = 352, | 283 EventSetReturnValueTrue = 352, |
| 285 EventSetReturnValueFalse = 353, | 284 EventSetReturnValueFalse = 353, |
| 286 WindowOffscreenBuffering = 356, | 285 WindowOffscreenBuffering = 356, |
| 287 WindowDefaultStatus = 357, | 286 WindowDefaultStatus = 357, |
| 288 WindowDefaultstatus = 358, | 287 WindowDefaultstatus = 358, |
| 289 PrefixedTransitionEventConstructor = 361, | 288 PrefixedTransitionEventConstructor = 361, |
| 290 PrefixedMutationObserverConstructor = 362, | 289 PrefixedMutationObserverConstructor = 362, |
| 291 PrefixedIDBCursorConstructor = 363, | |
| 292 PrefixedIDBDatabaseConstructor = 364, | |
| 293 PrefixedIDBFactoryConstructor = 365, | |
| 294 PrefixedIDBIndexConstructor = 366, | |
| 295 PrefixedIDBKeyRangeConstructor = 367, | |
| 296 PrefixedIDBObjectStoreConstructor = 368, | |
| 297 PrefixedIDBRequestConstructor = 369, | |
| 298 PrefixedIDBTransactionConstructor = 370, | |
| 299 NotificationPermission = 371, | 290 NotificationPermission = 371, |
| 300 RangeDetach = 372, | 291 RangeDetach = 372, |
| 301 PrefixedFileRelativePath = 386, | 292 PrefixedFileRelativePath = 386, |
| 302 DocumentCaretRangeFromPoint = 387, | 293 DocumentCaretRangeFromPoint = 387, |
| 303 ElementScrollIntoViewIfNeeded = 389, | 294 ElementScrollIntoViewIfNeeded = 389, |
| 304 RangeExpand = 393, | 295 RangeExpand = 393, |
| 305 HTMLImageElementX = 396, | 296 HTMLImageElementX = 396, |
| 306 HTMLImageElementY = 397, | 297 HTMLImageElementY = 397, |
| 307 SelectionBaseNode = 400, | 298 SelectionBaseNode = 400, |
| 308 SelectionBaseOffset = 401, | 299 SelectionBaseOffset = 401, |
| (...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1473 // Tracks what features/properties need to be reported to the legacy | 1464 // Tracks what features/properties need to be reported to the legacy |
| 1474 // histograms. | 1465 // histograms. |
| 1475 BitVector m_featureBits; | 1466 BitVector m_featureBits; |
| 1476 BitVector m_CSSBits; | 1467 BitVector m_CSSBits; |
| 1477 } m_legacyCounter; | 1468 } m_legacyCounter; |
| 1478 }; | 1469 }; |
| 1479 | 1470 |
| 1480 } // namespace blink | 1471 } // namespace blink |
| 1481 | 1472 |
| 1482 #endif // UseCounter_h | 1473 #endif // UseCounter_h |
| OLD | NEW |