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

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

Issue 1140723003: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Using raw pointer again with the manual reference management. Created 5 years, 5 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
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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 V8SVGElement_OffsetLeft_AttributeGetter = 889, 786 V8SVGElement_OffsetLeft_AttributeGetter = 889,
787 V8SVGElement_OffsetWidth_AttributeGetter = 890, 787 V8SVGElement_OffsetWidth_AttributeGetter = 890,
788 V8SVGElement_OffsetHeight_AttributeGetter = 891, 788 V8SVGElement_OffsetHeight_AttributeGetter = 891,
789 HTMLMediaElementPreloadNone = 892, 789 HTMLMediaElementPreloadNone = 892,
790 HTMLMediaElementPreloadMetadata = 893, 790 HTMLMediaElementPreloadMetadata = 893,
791 HTMLMediaElementPreloadAuto = 894, 791 HTMLMediaElementPreloadAuto = 894,
792 HTMLMediaElementPreloadDefault = 895, 792 HTMLMediaElementPreloadDefault = 895,
793 MixedContentBlockableAllowed = 896, 793 MixedContentBlockableAllowed = 896,
794 PseudoBeforeAfterForInputElement = 897, 794 PseudoBeforeAfterForInputElement = 897,
795 V8Permissions_Revoke_Method = 898, 795 V8Permissions_Revoke_Method = 898,
796 OfflineAudioContextStartRendering = 899,
797 OfflineAudioContextSuspend = 900,
798 OfflineAudioContextResume = 901,
796 799
797 // Add new features immediately above this line. Don't change assigned 800 // Add new features immediately above this line. Don't change assigned
798 // numbers of any item, and don't reuse removed slots. 801 // numbers of any item, and don't reuse removed slots.
799 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 802 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
800 // to update the UMA mapping. 803 // to update the UMA mapping.
801 NumberOfFeatures, // This enum value must be last. 804 NumberOfFeatures, // This enum value must be last.
802 }; 805 };
803 806
804 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 807 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
805 static void count(const Frame*, Feature); 808 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 892
890 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 893 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
891 894
892 CountBits m_countBits; 895 CountBits m_countBits;
893 BitVector m_CSSFeatureBits; 896 BitVector m_CSSFeatureBits;
894 }; 897 };
895 898
896 } // namespace blink 899 } // namespace blink
897 900
898 #endif // UseCounter_h 901 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698