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

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

Issue 1236003004: blink: permissions: add plumbing to request permissions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@permissions
Patch Set: Rebase Created 5 years, 4 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 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 HTMLElementDeprecatedWidth = 905, 800 HTMLElementDeprecatedWidth = 905,
801 ClientHintsContentDPR = 906, 801 ClientHintsContentDPR = 906,
802 ElementCreateShadowRootOpen = 907, 802 ElementCreateShadowRootOpen = 907,
803 ElementCreateShadowRootClosed = 908, 803 ElementCreateShadowRootClosed = 908,
804 AudioParamSetValueAtTime = 909, 804 AudioParamSetValueAtTime = 909,
805 AudioParamLinearRampToValueAtTime = 910, 805 AudioParamLinearRampToValueAtTime = 910,
806 AudioParamExponentialRampToValueAtTime = 911, 806 AudioParamExponentialRampToValueAtTime = 911,
807 AudioParamSetTargetAtTime = 912, 807 AudioParamSetTargetAtTime = 912,
808 AudioParamSetValueCurveAtTime = 913, 808 AudioParamSetValueCurveAtTime = 913,
809 AudioParamCancelScheduledValues = 914, 809 AudioParamCancelScheduledValues = 914,
810 V8Permissions_Request_Method = 915,
bokan 2015/07/30 22:37:58 This gets used in an autogenerated V8 method, corr
Lalit Maganti 2015/07/31 08:29:48 This is used in histograms on the Chrome side.
810 811
811 // Add new features immediately above this line. Don't change assigned 812 // Add new features immediately above this line. Don't change assigned
812 // numbers of any item, and don't reuse removed slots. 813 // numbers of any item, and don't reuse removed slots.
813 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 814 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
814 // to update the UMA mapping. 815 // to update the UMA mapping.
815 NumberOfFeatures, // This enum value must be last. 816 NumberOfFeatures, // This enum value must be last.
816 }; 817 };
817 818
818 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 819 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
819 static void count(const Frame*, Feature); 820 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 904
904 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 905 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
905 906
906 CountBits m_countBits; 907 CountBits m_countBits;
907 BitVector m_CSSFeatureBits; 908 BitVector m_CSSFeatureBits;
908 }; 909 };
909 910
910 } // namespace blink 911 } // namespace blink
911 912
912 #endif // UseCounter_h 913 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt ('k') | Source/modules/permissions/Permissions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698