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

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

Issue 2279543004: [DocWriteBlocking] Add feature to block doc.written scripts if 2g-like network (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Created 4 years, 3 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); 63 BLINK_EXPORT static void enableDisplayList2dCanvas(bool);
64 BLINK_EXPORT static void forceDisplayList2dCanvas(bool); 64 BLINK_EXPORT static void forceDisplayList2dCanvas(bool);
65 BLINK_EXPORT static void forceDisable2dCanvasCopyOnWrite(bool); 65 BLINK_EXPORT static void forceDisable2dCanvasCopyOnWrite(bool);
66 66
67 BLINK_EXPORT static void enableOriginTrials(bool); 67 BLINK_EXPORT static void enableOriginTrials(bool);
68 BLINK_EXPORT static bool isOriginTrialsEnabled(); 68 BLINK_EXPORT static bool isOriginTrialsEnabled();
69 69
70 BLINK_EXPORT static void enableAccelerated2dCanvas(bool); 70 BLINK_EXPORT static void enableAccelerated2dCanvas(bool);
71 BLINK_EXPORT static void enableAudioOutputDevices(bool); 71 BLINK_EXPORT static void enableAudioOutputDevices(bool);
72 BLINK_EXPORT static void enableBlockDocWriteIfEffectively2G(bool);
72 BLINK_EXPORT static void enableCanvas2dImageChromium(bool); 73 BLINK_EXPORT static void enableCanvas2dImageChromium(bool);
73 BLINK_EXPORT static void enableColorCorrectRendering(bool); 74 BLINK_EXPORT static void enableColorCorrectRendering(bool);
74 BLINK_EXPORT static void enableCredentialManagerAPI(bool); 75 BLINK_EXPORT static void enableCredentialManagerAPI(bool);
75 BLINK_EXPORT static void enableDatabase(bool); 76 BLINK_EXPORT static void enableDatabase(bool);
76 BLINK_EXPORT static void enableDecodeToYUV(bool); 77 BLINK_EXPORT static void enableDecodeToYUV(bool);
77 BLINK_EXPORT static void enableDoNotUnlockSharedBuffer(bool); 78 BLINK_EXPORT static void enableDoNotUnlockSharedBuffer(bool);
78 BLINK_EXPORT static void enableDocumentWriteEvaluator(bool); 79 BLINK_EXPORT static void enableDocumentWriteEvaluator(bool);
79 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); 80 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool);
80 BLINK_EXPORT static void enableFastMobileScrolling(bool); 81 BLINK_EXPORT static void enableFastMobileScrolling(bool);
81 BLINK_EXPORT static void enableFeaturePolicy(bool); 82 BLINK_EXPORT static void enableFeaturePolicy(bool);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 BLINK_EXPORT static void enableTimerThrottlingForBackgroundTabs(bool); 127 BLINK_EXPORT static void enableTimerThrottlingForBackgroundTabs(bool);
127 BLINK_EXPORT static void enableCanvas2dDynamicRenderingModeSwitching(bool); 128 BLINK_EXPORT static void enableCanvas2dDynamicRenderingModeSwitching(bool);
128 BLINK_EXPORT static void enableSendBeaconThrowForBlobWithNonSimpleType(bool) ; 129 BLINK_EXPORT static void enableSendBeaconThrowForBlobWithNonSimpleType(bool) ;
129 private: 130 private:
130 WebRuntimeFeatures(); 131 WebRuntimeFeatures();
131 }; 132 };
132 133
133 } // namespace blink 134 } // namespace blink
134 135
135 #endif 136 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698