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

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

Issue 1086873004: Add UseCounter for SVGURIReference.href.baseVal/animVal. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix nit + rebase Created 5 years, 8 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 | « Source/core/core.gypi ('k') | Source/core/svg/SVGAnimatedString.h » ('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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 V8Permissions_Query_Method = 750, 684 V8Permissions_Query_Method = 750,
685 // The above items are available in M43 branch. 685 // The above items are available in M43 branch.
686 686
687 LegacyCSSValueIntrinsic = 751, 687 LegacyCSSValueIntrinsic = 751,
688 LegacyCSSValueMinIntrinsic = 752, 688 LegacyCSSValueMinIntrinsic = 752,
689 WebkitCanvas = 753, 689 WebkitCanvas = 753,
690 V8HTMLInputElement_Autocapitalize_AttributeGetter = 754, 690 V8HTMLInputElement_Autocapitalize_AttributeGetter = 754,
691 V8HTMLInputElement_Autocapitalize_AttributeSetter = 755, 691 V8HTMLInputElement_Autocapitalize_AttributeSetter = 755,
692 V8HTMLTextAreaElement_Autocapitalize_AttributeGetter = 756, 692 V8HTMLTextAreaElement_Autocapitalize_AttributeGetter = 756,
693 V8HTMLTextAreaElement_Autocapitalize_AttributeSetter = 757, 693 V8HTMLTextAreaElement_Autocapitalize_AttributeSetter = 757,
694 SVGHrefBaseVal = 758,
695 SVGHrefAnimVal = 759,
694 696
695 // Add new features immediately above this line. Don't change assigned 697 // Add new features immediately above this line. Don't change assigned
696 // numbers of any item, and don't reuse removed slots. 698 // numbers of any item, and don't reuse removed slots.
697 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 699 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
698 // to update the UMA mapping. 700 // to update the UMA mapping.
699 NumberOfFeatures, // This enum value must be last. 701 NumberOfFeatures, // This enum value must be last.
700 }; 702 };
701 703
702 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 704 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
703 static void count(const Frame*, Feature); 705 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 789
788 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 790 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
789 791
790 CountBits m_countBits; 792 CountBits m_countBits;
791 BitVector m_CSSFeatureBits; 793 BitVector m_CSSFeatureBits;
792 }; 794 };
793 795
794 } // namespace blink 796 } // namespace blink
795 797
796 #endif // UseCounter_h 798 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/svg/SVGAnimatedString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698