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

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

Issue 1586623002: Eliminate use of SVG1DOM counter by final split (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAElement.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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 ScreenOrientationAngle = 557, 462 ScreenOrientationAngle = 557,
463 ScreenOrientationType = 558, 463 ScreenOrientationType = 558,
464 ScreenOrientationLock = 559, 464 ScreenOrientationLock = 559,
465 ScreenOrientationUnlock = 560, 465 ScreenOrientationUnlock = 560,
466 GeolocationSecureOrigin = 561, 466 GeolocationSecureOrigin = 561,
467 GeolocationInsecureOrigin = 562, 467 GeolocationInsecureOrigin = 562,
468 NotificationSecureOrigin = 563, 468 NotificationSecureOrigin = 563,
469 NotificationInsecureOrigin = 564, 469 NotificationInsecureOrigin = 564,
470 NotificationShowEvent = 565, 470 NotificationShowEvent = 565,
471 CSSXGetComputedStyleQueries = 566, 471 CSSXGetComputedStyleQueries = 566,
472 SVG1DOM = 567,
473 SVGTransformListConsolidate = 569, 472 SVGTransformListConsolidate = 569,
474 SVGAnimatedTransformListBaseVal = 570, 473 SVGAnimatedTransformListBaseVal = 570,
475 QuotedAnimationName = 571, 474 QuotedAnimationName = 571,
476 QuotedKeyframesRule = 572, 475 QuotedKeyframesRule = 572,
477 SrcsetDroppedCandidate = 573, 476 SrcsetDroppedCandidate = 573,
478 WindowPostMessage = 574, 477 WindowPostMessage = 574,
479 WindowPostMessageWithLegacyTargetOriginArgument = 575, 478 WindowPostMessageWithLegacyTargetOriginArgument = 575,
480 RenderRuby = 576, 479 RenderRuby = 576,
481 ScriptElementWithInvalidTypeHasSrc = 578, 480 ScriptElementWithInvalidTypeHasSrc = 578,
482 XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload = 581, 481 XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload = 581,
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 V8RegExpPrototypeStickyGetter = 1096, 952 V8RegExpPrototypeStickyGetter = 1096,
954 V8RegExpPrototypeToString = 1097, 953 V8RegExpPrototypeToString = 1097,
955 V8InputDeviceCapabilities_FiresTouchEvents_AttributeGetter = 1098, 954 V8InputDeviceCapabilities_FiresTouchEvents_AttributeGetter = 1098,
956 DataElement = 1099, 955 DataElement = 1099,
957 TimeElement = 1100, 956 TimeElement = 1100,
958 SVG1DOMUriReference = 1101, 957 SVG1DOMUriReference = 1101,
959 SVG1DOMZoomAndPan = 1102, 958 SVG1DOMZoomAndPan = 1102,
960 V8SVGGraphicsElement_Transform_AttributeGetter = 1103, 959 V8SVGGraphicsElement_Transform_AttributeGetter = 1103,
961 MenuItemElement = 1104, 960 MenuItemElement = 1104,
962 MenuItemCloseTag = 1105, 961 MenuItemCloseTag = 1105,
962 SVG1DOMMarkerElement = 1106,
963 SVG1DOMUseElement = 1107,
964 SVG1DOMMaskElement = 1108,
965 V8SVGAElement_Target_AttributeGetter = 1109,
966 V8SVGClipPathElement_ClipPathUnits_AttributeGetter = 1110,
967 SVG1DOMFitToViewBox = 1111,
968 SVG1DOMCursorElement = 1112,
969 V8SVGPathElement_PathLength_AttributeGetter = 1113,
970 SVG1DOMSVGElement = 1114,
971 SVG1DOMImageElement = 1115,
972 SVG1DOMForeignObjectElement = 1116,
963 973
964 // Add new features immediately above this line. Don't change assigned 974 // Add new features immediately above this line. Don't change assigned
965 // numbers of any item, and don't reuse removed slots. 975 // numbers of any item, and don't reuse removed slots.
966 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 976 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
967 // to update the UMA mapping. 977 // to update the UMA mapping.
968 NumberOfFeatures, // This enum value must be last. 978 NumberOfFeatures, // This enum value must be last.
969 }; 979 };
970 980
971 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 981 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
972 static void count(const Frame*, Feature); 982 static void count(const Frame*, Feature);
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 1067
1058 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 1068 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
1059 1069
1060 CountBits m_countBits; 1070 CountBits m_countBits;
1061 BitVector m_CSSFeatureBits; 1071 BitVector m_CSSFeatureBits;
1062 }; 1072 };
1063 1073
1064 } // namespace blink 1074 } // namespace blink
1065 1075
1066 #endif // UseCounter_h 1076 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698