Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Side by Side Diff: Source/core/frame/UseCounter.h

Issue 474013004: Experimental SVG 1.1 DOM runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: UseCounter + make it possible to disable svgdom from commandline Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/svg/SVGAElement.idl » ('j') | Source/core/svg/SVGPathElement.idl » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 491
492 Picture = 521, 492 Picture = 521,
493 Sizes = 522, 493 Sizes = 522,
494 SrcsetXDescriptor = 523, 494 SrcsetXDescriptor = 523,
495 SrcsetWDescriptor = 524, 495 SrcsetWDescriptor = 524,
496 SelectionContainsNode = 525, 496 SelectionContainsNode = 525,
497 MediaStreamEnded = 526, 497 MediaStreamEnded = 526,
498 MixedContentPrivateIPInPublicWebsitePassive = 527, 498 MixedContentPrivateIPInPublicWebsitePassive = 527,
499 MixedContentPrivateIPInPublicWebsiteActive = 528, 499 MixedContentPrivateIPInPublicWebsiteActive = 528,
500 XMLExternalResourceLoad = 529, 500 XMLExternalResourceLoad = 529,
501 SVG1DOM = 530,
502 SVGPathSegDOM = 531,
501 503
502 // Add new features immediately above this line. Don't change assigned 504 // Add new features immediately above this line. Don't change assigned
503 // numbers of any item, and don't reuse removed slots. 505 // numbers of any item, and don't reuse removed slots.
504 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 506 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
505 // to update the UMA mapping. 507 // to update the UMA mapping.
506 NumberOfFeatures, // This enum value must be last. 508 NumberOfFeatures, // This enum value must be last.
507 }; 509 };
508 510
509 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 511 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
510 static void count(const Document&, Feature); 512 static void count(const Document&, Feature);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 564
563 void updateMeasurements(); 565 void updateMeasurements();
564 566
565 OwnPtr<BitVector> m_countBits; 567 OwnPtr<BitVector> m_countBits;
566 BitVector m_CSSFeatureBits; 568 BitVector m_CSSFeatureBits;
567 }; 569 };
568 570
569 } // namespace blink 571 } // namespace blink
570 572
571 #endif // UseCounter_h 573 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGAElement.idl » ('j') | Source/core/svg/SVGPathElement.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698