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

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: Adding missing pre/post render tasks + Fixing minor nits 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 784
785 V8SVGElement_OffsetParent_AttributeGetter = 887, 785 V8SVGElement_OffsetParent_AttributeGetter = 887,
786 V8SVGElement_OffsetTop_AttributeGetter = 888, 786 V8SVGElement_OffsetTop_AttributeGetter = 888,
787 V8SVGElement_OffsetLeft_AttributeGetter = 889, 787 V8SVGElement_OffsetLeft_AttributeGetter = 889,
788 V8SVGElement_OffsetWidth_AttributeGetter = 890, 788 V8SVGElement_OffsetWidth_AttributeGetter = 890,
789 V8SVGElement_OffsetHeight_AttributeGetter = 891, 789 V8SVGElement_OffsetHeight_AttributeGetter = 891,
790 HTMLMediaElementPreloadNone = 892, 790 HTMLMediaElementPreloadNone = 892,
791 HTMLMediaElementPreloadMetadata = 893, 791 HTMLMediaElementPreloadMetadata = 893,
792 HTMLMediaElementPreloadAuto = 894, 792 HTMLMediaElementPreloadAuto = 894,
793 HTMLMediaElementPreloadDefault = 895, 793 HTMLMediaElementPreloadDefault = 895,
794 OfflineAudioContextStartRendering = 896,
795 OfflineAudioContextSuspend = 897,
796 OfflineAudioContextResume = 898,
794 797
795 // Add new features immediately above this line. Don't change assigned 798 // Add new features immediately above this line. Don't change assigned
796 // numbers of any item, and don't reuse removed slots. 799 // numbers of any item, and don't reuse removed slots.
797 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 800 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
798 // to update the UMA mapping. 801 // to update the UMA mapping.
799 NumberOfFeatures, // This enum value must be last. 802 NumberOfFeatures, // This enum value must be last.
800 }; 803 };
801 804
802 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 805 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
803 static void count(const Frame*, Feature); 806 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 890
888 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 891 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
889 892
890 CountBits m_countBits; 893 CountBits m_countBits;
891 BitVector m_CSSFeatureBits; 894 BitVector m_CSSFeatureBits;
892 }; 895 };
893 896
894 } // namespace blink 897 } // namespace blink
895 898
896 #endif // UseCounter_h 899 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698