| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, | 361 PrefixedPerformanceClearResourceTimings = 341, |
| 362 PrefixedPerformanceSetResourceTimingBufferSize = 342, | 362 PrefixedPerformanceSetResourceTimingBufferSize = 342, |
| 363 RangeDetach = 343, |
| 363 // Add new features immediately above this line. Don't change assigned | 364 // Add new features immediately above this line. Don't change assigned |
| 364 // numbers of any item, and don't reuse removed slots. | 365 // numbers of any item, and don't reuse removed slots. |
| 365 NumberOfFeatures, // This enum value must be last. | 366 NumberOfFeatures, // This enum value must be last. |
| 366 }; | 367 }; |
| 367 | 368 |
| 368 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 369 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 369 static void count(const Document&, Feature); | 370 static void count(const Document&, Feature); |
| 370 static void count(const ExecutionContext*, Feature); | 371 static void count(const ExecutionContext*, Feature); |
| 371 void count(CSSParserContext, CSSPropertyID); | 372 void count(CSSParserContext, CSSPropertyID); |
| 372 void count(Feature); | 373 void count(Feature); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 416 |
| 416 void updateMeasurements(); | 417 void updateMeasurements(); |
| 417 | 418 |
| 418 OwnPtr<BitVector> m_countBits; | 419 OwnPtr<BitVector> m_countBits; |
| 419 BitVector m_CSSFeatureBits; | 420 BitVector m_CSSFeatureBits; |
| 420 }; | 421 }; |
| 421 | 422 |
| 422 } // namespace WebCore | 423 } // namespace WebCore |
| 423 | 424 |
| 424 #endif // UseCounter_h | 425 #endif // UseCounter_h |
| OLD | NEW |