Chromium Code Reviews

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

Issue 712813002: Count internal use of DOMImplementation::hasFeature() returning false (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/svg/SVGAnimationElement.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 540 matching lines...)
551 CSSSelectorPseudoScrollbarThumb = 584, 551 CSSSelectorPseudoScrollbarThumb = 584,
552 CSSSelectorPseudoScrollbarTrack = 585, 552 CSSSelectorPseudoScrollbarTrack = 585,
553 CSSSelectorPseudoScrollbarTrackPiece = 586, 553 CSSSelectorPseudoScrollbarTrackPiece = 586,
554 LangAttribute = 587, 554 LangAttribute = 587,
555 LangAttributeOnHTML = 588, 555 LangAttributeOnHTML = 588,
556 LangAttributeOnBody = 589, 556 LangAttributeOnBody = 589,
557 LangAttributeDoesNotMatchToUILocale = 590, 557 LangAttributeDoesNotMatchToUILocale = 590,
558 InputTypeSubmit = 591, 558 InputTypeSubmit = 591,
559 InputTypeSubmitWithValue = 592, 559 InputTypeSubmitWithValue = 592,
560 SetReferrerPolicy = 593, 560 SetReferrerPolicy = 593,
561 DOMImplementationHasFeatureReturnFalseInternal = 594,
561 562
562 // Add new features immediately above this line. Don't change assigned 563 // Add new features immediately above this line. Don't change assigned
563 // numbers of any item, and don't reuse removed slots. 564 // numbers of any item, and don't reuse removed slots.
564 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 565 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
565 // to update the UMA mapping. 566 // to update the UMA mapping.
566 NumberOfFeatures, // This enum value must be last. 567 NumberOfFeatures, // This enum value must be last.
567 }; 568 };
568 569
569 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 570 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
570 static void count(const Frame*, Feature); 571 static void count(const Frame*, Feature);
(...skipping 63 matching lines...)
634 635
635 void updateMeasurements(); 636 void updateMeasurements();
636 637
637 OwnPtr<BitVector> m_countBits; 638 OwnPtr<BitVector> m_countBits;
638 BitVector m_CSSFeatureBits; 639 BitVector m_CSSFeatureBits;
639 }; 640 };
640 641
641 } // namespace blink 642 } // namespace blink
642 643
643 #endif // UseCounter_h 644 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGAnimationElement.h » ('j') | no next file with comments »

Powered by Google App Engine