| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 public: | 63 public: |
| 64 enum Context { | 64 enum Context { |
| 65 DefaultContext, | 65 DefaultContext, |
| 66 // Counters for SVGImages (lifetime independent from other pages). | 66 // Counters for SVGImages (lifetime independent from other pages). |
| 67 SVGImageContext | 67 SVGImageContext |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 UseCounter(Context = DefaultContext); | 70 UseCounter(Context = DefaultContext); |
| 71 | 71 |
| 72 enum Feature { | 72 enum Feature : uint32_t { |
| 73 // Do not change assigned numbers of existing items: add new features | 73 // Do not change assigned numbers of existing items: add new features |
| 74 // to the end of the list. | 74 // to the end of the list. |
| 75 OBSOLETE_PageDestruction = 0, | 75 OBSOLETE_PageDestruction = 0, |
| 76 WorkerStart = 4, | 76 WorkerStart = 4, |
| 77 SharedWorkerStart = 5, | 77 SharedWorkerStart = 5, |
| 78 UnprefixedIndexedDB = 9, | 78 UnprefixedIndexedDB = 9, |
| 79 OpenWebDatabase = 10, | 79 OpenWebDatabase = 10, |
| 80 UnprefixedRequestAnimationFrame = 13, | 80 UnprefixedRequestAnimationFrame = 13, |
| 81 PrefixedRequestAnimationFrame = 14, | 81 PrefixedRequestAnimationFrame = 14, |
| 82 ContentSecurityPolicy = 15, | 82 ContentSecurityPolicy = 15, |
| (...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1532 // Tracks what features/properties need to be reported to the legacy | 1532 // Tracks what features/properties need to be reported to the legacy |
| 1533 // histograms. | 1533 // histograms. |
| 1534 BitVector m_featureBits; | 1534 BitVector m_featureBits; |
| 1535 BitVector m_CSSBits; | 1535 BitVector m_CSSBits; |
| 1536 } m_legacyCounter; | 1536 } m_legacyCounter; |
| 1537 }; | 1537 }; |
| 1538 | 1538 |
| 1539 } // namespace blink | 1539 } // namespace blink |
| 1540 | 1540 |
| 1541 #endif // UseCounter_h | 1541 #endif // UseCounter_h |
| OLD | NEW |