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

Side by Side Diff: third_party/WebKit/public/web/WebRuntimeFeatures.h

Issue 2345483002: [scheduler] Throttle background frames with 1% CPU limit (Closed)
Patch Set: [scheduler] Throttle background frames with 1% CPU limit Created 4 years, 2 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 BLINK_EXPORT static void enableWebFontsInterventionTrigger(bool); 122 BLINK_EXPORT static void enableWebFontsInterventionTrigger(bool);
123 BLINK_EXPORT static void enableWebGLDraftExtensions(bool); 123 BLINK_EXPORT static void enableWebGLDraftExtensions(bool);
124 BLINK_EXPORT static void enableWebGLImageChromium(bool); 124 BLINK_EXPORT static void enableWebGLImageChromium(bool);
125 BLINK_EXPORT static void enableWebUsb(bool); 125 BLINK_EXPORT static void enableWebUsb(bool);
126 BLINK_EXPORT static void enableWebVR(bool); 126 BLINK_EXPORT static void enableWebVR(bool);
127 BLINK_EXPORT static void enableXSLT(bool); 127 BLINK_EXPORT static void enableXSLT(bool);
128 BLINK_EXPORT static void forceOverlayFullscreenVideo(bool); 128 BLINK_EXPORT static void forceOverlayFullscreenVideo(bool);
129 BLINK_EXPORT static void enableAutoplayMutedVideos(bool); 129 BLINK_EXPORT static void enableAutoplayMutedVideos(bool);
130 BLINK_EXPORT static void enableTimerThrottlingForBackgroundTabs(bool); 130 BLINK_EXPORT static void enableTimerThrottlingForBackgroundTabs(bool);
131 BLINK_EXPORT static void enableTimerThrottlingForHiddenFrames(bool); 131 BLINK_EXPORT static void enableTimerThrottlingForHiddenFrames(bool);
132 BLINK_EXPORT static void enableExpensiveBackgroundTimerThrottling(bool);
132 BLINK_EXPORT static void enableCanvas2dDynamicRenderingModeSwitching(bool); 133 BLINK_EXPORT static void enableCanvas2dDynamicRenderingModeSwitching(bool);
133 BLINK_EXPORT static void enableSendBeaconThrowForBlobWithNonSimpleType(bool) ; 134 BLINK_EXPORT static void enableSendBeaconThrowForBlobWithNonSimpleType(bool) ;
134 private: 135 private:
135 WebRuntimeFeatures(); 136 WebRuntimeFeatures();
136 }; 137 };
137 138
138 } // namespace blink 139 } // namespace blink
139 140
140 #endif 141 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698