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

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

Issue 889533004: Add UseCounters for the reflected SVGElement.xml* attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/SVGElement.idl » ('j') | no next file with comments »
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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 DeviceOrientationSecureOrigin = 671, 613 DeviceOrientationSecureOrigin = 671,
614 SandboxViaIFrame = 672, 614 SandboxViaIFrame = 672,
615 SandboxViaCSP = 673, 615 SandboxViaCSP = 673,
616 BlockedSniffingImageToScript = 674, 616 BlockedSniffingImageToScript = 674,
617 Fetch = 675, 617 Fetch = 675,
618 FetchBodyStream = 676, 618 FetchBodyStream = 676,
619 XMLHttpRequestAsynchronous = 677, 619 XMLHttpRequestAsynchronous = 677,
620 AudioBufferSourceBufferOnce = 678, 620 AudioBufferSourceBufferOnce = 678,
621 WhiteSpacePreFromXMLSpace = 679, 621 WhiteSpacePreFromXMLSpace = 679,
622 WhiteSpaceNowrapFromXMLSpace = 680, 622 WhiteSpaceNowrapFromXMLSpace = 680,
623 SVGElementXmlbase = 681,
624 SVGElementXmllang = 682,
625 SVGElementXmlspace = 683,
623 626
624 // Add new features immediately above this line. Don't change assigned 627 // Add new features immediately above this line. Don't change assigned
625 // numbers of any item, and don't reuse removed slots. 628 // numbers of any item, and don't reuse removed slots.
626 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 629 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
627 // to update the UMA mapping. 630 // to update the UMA mapping.
628 NumberOfFeatures, // This enum value must be last. 631 NumberOfFeatures, // This enum value must be last.
629 }; 632 };
630 633
631 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 634 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
632 static void count(const Frame*, Feature); 635 static void count(const Frame*, Feature);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 699
697 void updateMeasurements(); 700 void updateMeasurements();
698 701
699 OwnPtr<BitVector> m_countBits; 702 OwnPtr<BitVector> m_countBits;
700 BitVector m_CSSFeatureBits; 703 BitVector m_CSSFeatureBits;
701 }; 704 };
702 705
703 } // namespace blink 706 } // namespace blink
704 707
705 #endif // UseCounter_h 708 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698