| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 PrefixedDocumentFullscreenEnabled = 322, | 338 PrefixedDocumentFullscreenEnabled = 322, |
| 339 PrefixedDocumentFullscreenElement = 323, | 339 PrefixedDocumentFullscreenElement = 323, |
| 340 PrefixedDocumentExitFullscreen = 324, | 340 PrefixedDocumentExitFullscreen = 324, |
| 341 // The above items are available in M35 branch. | 341 // The above items are available in M35 branch. |
| 342 | 342 |
| 343 SVGForeignObjectElement = 325, | 343 SVGForeignObjectElement = 325, |
| 344 PrefixedElementRequestPointerLock = 326, | 344 PrefixedElementRequestPointerLock = 326, |
| 345 SelectionSetPosition = 327, | 345 SelectionSetPosition = 327, |
| 346 AnimationPlayerFinishEvent = 328, | 346 AnimationPlayerFinishEvent = 328, |
| 347 SVGSVGElementInXMLDocument = 329, | 347 SVGSVGElementInXMLDocument = 329, |
| 348 CanvasRenderingContext2DSetAlpha = 330, |
| 349 CanvasRenderingContext2DSetCompositeOperation = 331, |
| 350 CanvasRenderingContext2DSetLineWidth = 332, |
| 351 CanvasRenderingContext2DSetLineCap = 333, |
| 352 CanvasRenderingContext2DSetLineJoin = 334, |
| 353 CanvasRenderingContext2DSetMiterLimit = 335, |
| 354 CanvasRenderingContext2DClearShadow = 336, |
| 355 CanvasRenderingContext2DSetStrokeColor = 337, |
| 356 CanvasRenderingContext2DSetFillColor = 338, |
| 357 CanvasRenderingContext2DDrawImageFromRect = 339, |
| 358 CanvasRenderingContext2DSetShadow = 340, |
| 348 // Add new features immediately above this line. Don't change assigned | 359 // Add new features immediately above this line. Don't change assigned |
| 349 // numbers of any item, and don't reuse removed slots. | 360 // numbers of any item, and don't reuse removed slots. |
| 350 NumberOfFeatures, // This enum value must be last. | 361 NumberOfFeatures, // This enum value must be last. |
| 351 }; | 362 }; |
| 352 | 363 |
| 353 // "count" sets the bit for this feature to 1. Repeated calls are ignored. | 364 // "count" sets the bit for this feature to 1. Repeated calls are ignored. |
| 354 static void count(const Document&, Feature); | 365 static void count(const Document&, Feature); |
| 355 static void count(const ExecutionContext*, Feature); | 366 static void count(const ExecutionContext*, Feature); |
| 356 void count(CSSParserContext, CSSPropertyID); | 367 void count(CSSParserContext, CSSPropertyID); |
| 357 void count(Feature); | 368 void count(Feature); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 | 411 |
| 401 void updateMeasurements(); | 412 void updateMeasurements(); |
| 402 | 413 |
| 403 OwnPtr<BitVector> m_countBits; | 414 OwnPtr<BitVector> m_countBits; |
| 404 BitVector m_CSSFeatureBits; | 415 BitVector m_CSSFeatureBits; |
| 405 }; | 416 }; |
| 406 | 417 |
| 407 } // namespace WebCore | 418 } // namespace WebCore |
| 408 | 419 |
| 409 #endif // UseCounter_h | 420 #endif // UseCounter_h |
| OLD | NEW |