| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 NodeIteratorDetach = 347, | 281 NodeIteratorDetach = 347, |
| 283 EventGetReturnValueTrue = 350, | 282 EventGetReturnValueTrue = 350, |
| 284 EventGetReturnValueFalse = 351, | 283 EventGetReturnValueFalse = 351, |
| 285 EventSetReturnValueTrue = 352, | 284 EventSetReturnValueTrue = 352, |
| 286 EventSetReturnValueFalse = 353, | 285 EventSetReturnValueFalse = 353, |
| 287 WindowOffscreenBuffering = 356, | 286 WindowOffscreenBuffering = 356, |
| 288 WindowDefaultStatus = 357, | 287 WindowDefaultStatus = 357, |
| 289 WindowDefaultstatus = 358, | 288 WindowDefaultstatus = 358, |
| 290 PrefixedTransitionEventConstructor = 361, | 289 PrefixedTransitionEventConstructor = 361, |
| 291 PrefixedMutationObserverConstructor = 362, | 290 PrefixedMutationObserverConstructor = 362, |
| 292 PrefixedIDBCursorConstructor = 363, | |
| 293 PrefixedIDBDatabaseConstructor = 364, | |
| 294 PrefixedIDBFactoryConstructor = 365, | |
| 295 PrefixedIDBIndexConstructor = 366, | |
| 296 PrefixedIDBKeyRangeConstructor = 367, | |
| 297 PrefixedIDBObjectStoreConstructor = 368, | |
| 298 PrefixedIDBRequestConstructor = 369, | |
| 299 PrefixedIDBTransactionConstructor = 370, | |
| 300 NotificationPermission = 371, | 291 NotificationPermission = 371, |
| 301 RangeDetach = 372, | 292 RangeDetach = 372, |
| 302 PrefixedFileRelativePath = 386, | 293 PrefixedFileRelativePath = 386, |
| 303 DocumentCaretRangeFromPoint = 387, | 294 DocumentCaretRangeFromPoint = 387, |
| 304 ElementScrollIntoViewIfNeeded = 389, | 295 ElementScrollIntoViewIfNeeded = 389, |
| 305 RangeExpand = 393, | 296 RangeExpand = 393, |
| 306 HTMLImageElementX = 396, | 297 HTMLImageElementX = 396, |
| 307 HTMLImageElementY = 397, | 298 HTMLImageElementY = 397, |
| 308 SelectionBaseNode = 400, | 299 SelectionBaseNode = 400, |
| 309 SelectionBaseOffset = 401, | 300 SelectionBaseOffset = 401, |
| (...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1472 // Tracks what features/properties need to be reported to the legacy | 1463 // Tracks what features/properties need to be reported to the legacy |
| 1473 // histograms. | 1464 // histograms. |
| 1474 BitVector m_featureBits; | 1465 BitVector m_featureBits; |
| 1475 BitVector m_CSSBits; | 1466 BitVector m_CSSBits; |
| 1476 } m_legacyCounter; | 1467 } m_legacyCounter; |
| 1477 }; | 1468 }; |
| 1478 | 1469 |
| 1479 } // namespace blink | 1470 } // namespace blink |
| 1480 | 1471 |
| 1481 #endif // UseCounter_h | 1472 #endif // UseCounter_h |
| OLD | NEW |