| 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 CanvasRenderingContext2DSetCompositeOperation = 331, | 351 CanvasRenderingContext2DSetCompositeOperation = 331, |
| 352 CanvasRenderingContext2DSetLineWidth = 332, | 352 CanvasRenderingContext2DSetLineWidth = 332, |
| 353 CanvasRenderingContext2DSetLineCap = 333, | 353 CanvasRenderingContext2DSetLineCap = 333, |
| 354 CanvasRenderingContext2DSetLineJoin = 334, | 354 CanvasRenderingContext2DSetLineJoin = 334, |
| 355 CanvasRenderingContext2DSetMiterLimit = 335, | 355 CanvasRenderingContext2DSetMiterLimit = 335, |
| 356 CanvasRenderingContext2DClearShadow = 336, | 356 CanvasRenderingContext2DClearShadow = 336, |
| 357 CanvasRenderingContext2DSetStrokeColor = 337, | 357 CanvasRenderingContext2DSetStrokeColor = 337, |
| 358 CanvasRenderingContext2DSetFillColor = 338, | 358 CanvasRenderingContext2DSetFillColor = 338, |
| 359 CanvasRenderingContext2DDrawImageFromRect = 339, | 359 CanvasRenderingContext2DDrawImageFromRect = 339, |
| 360 CanvasRenderingContext2DSetShadow = 340, | 360 CanvasRenderingContext2DSetShadow = 340, |
| 361 PrefixedPerformanceClearResourceTimings = 341, |
| 362 PrefixedPerformanceSetResourceTimingBufferSize = 342, |
| 361 // Add new features immediately above this line. Don't change assigned | 363 // Add new features immediately above this line. Don't change assigned |
| 362 // numbers of any item, and don't reuse removed slots. | 364 // numbers of any item, and don't reuse removed slots. |
| 363 NumberOfFeatures, // This enum value must be last. | 365 NumberOfFeatures, // This enum value must be last. |
| 364 }; | 366 }; |
| 365 | 367 |
| 366 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 368 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 367 static void count(const Document&, Feature); | 369 static void count(const Document&, Feature); |
| 368 static void count(const ExecutionContext*, Feature); | 370 static void count(const ExecutionContext*, Feature); |
| 369 void count(CSSParserContext, CSSPropertyID); | 371 void count(CSSParserContext, CSSPropertyID); |
| 370 void count(Feature); | 372 void count(Feature); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 415 |
| 414 void updateMeasurements(); | 416 void updateMeasurements(); |
| 415 | 417 |
| 416 OwnPtr<BitVector> m_countBits; | 418 OwnPtr<BitVector> m_countBits; |
| 417 BitVector m_CSSFeatureBits; | 419 BitVector m_CSSFeatureBits; |
| 418 }; | 420 }; |
| 419 | 421 |
| 420 } // namespace WebCore | 422 } // namespace WebCore |
| 421 | 423 |
| 422 #endif // UseCounter_h | 424 #endif // UseCounter_h |
| OLD | NEW |