OLD | NEW |
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 enableApplicationCache(bool); | 70 BLINK_EXPORT static void enableApplicationCache(bool); |
71 BLINK_EXPORT static void enableAudioOutputDevices(bool); | 71 BLINK_EXPORT static void enableAudioOutputDevices(bool); |
72 BLINK_EXPORT static void enableCanvas2dImageChromium(bool); | 72 BLINK_EXPORT static void enableCanvas2dImageChromium(bool); |
73 BLINK_EXPORT static void enableCredentialManagerAPI(bool); | 73 BLINK_EXPORT static void enableCredentialManagerAPI(bool); |
74 BLINK_EXPORT static void enableDatabase(bool); | 74 BLINK_EXPORT static void enableDatabase(bool); |
75 BLINK_EXPORT static void enableDecodeToYUV(bool); | 75 BLINK_EXPORT static void enableDecodeToYUV(bool); |
| 76 BLINK_EXPORT static void enableDoNotUnlockSharedBuffer(bool); |
76 BLINK_EXPORT static void enableDocumentWriteEvaluator(bool); | 77 BLINK_EXPORT static void enableDocumentWriteEvaluator(bool); |
77 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); | 78 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); |
78 BLINK_EXPORT static void enableFastMobileScrolling(bool); | 79 BLINK_EXPORT static void enableFastMobileScrolling(bool); |
79 BLINK_EXPORT static void enableFileSystem(bool); | 80 BLINK_EXPORT static void enableFileSystem(bool); |
80 BLINK_EXPORT static void enableImageColorProfiles(bool); | 81 BLINK_EXPORT static void enableImageColorProfiles(bool); |
81 BLINK_EXPORT static void enableInputMultipleFieldsUI(bool); | 82 BLINK_EXPORT static void enableInputMultipleFieldsUI(bool); |
82 BLINK_EXPORT static void enableMediaCapture(bool); | 83 BLINK_EXPORT static void enableMediaCapture(bool); |
83 BLINK_EXPORT static void enableMediaDocumentDownloadButton(bool); | 84 BLINK_EXPORT static void enableMediaDocumentDownloadButton(bool); |
84 BLINK_EXPORT static void enableNavigatorContentUtils(bool); | 85 BLINK_EXPORT static void enableNavigatorContentUtils(bool); |
85 BLINK_EXPORT static void enableNetworkInformation(bool); | 86 BLINK_EXPORT static void enableNetworkInformation(bool); |
86 BLINK_EXPORT static void enableNewMediaPlaybackUi(bool); | 87 BLINK_EXPORT static void enableNewMediaPlaybackUi(bool); |
87 BLINK_EXPORT static void enableNotificationConstructor(bool); | 88 BLINK_EXPORT static void enableNotificationConstructor(bool); |
88 BLINK_EXPORT static void enableNotifications(bool); | 89 BLINK_EXPORT static void enableNotifications(bool); |
89 BLINK_EXPORT static void enableOrientationEvent(bool); | 90 BLINK_EXPORT static void enableOrientationEvent(bool); |
90 BLINK_EXPORT static void enableOverlayScrollbars(bool); | 91 BLINK_EXPORT static void enableOverlayScrollbars(bool); |
91 BLINK_EXPORT static void enablePagePopup(bool); | 92 BLINK_EXPORT static void enablePagePopup(bool); |
92 BLINK_EXPORT static void enablePermissionsAPI(bool); | 93 BLINK_EXPORT static void enablePermissionsAPI(bool); |
93 BLINK_EXPORT static void enablePreciseMemoryInfo(bool); | 94 BLINK_EXPORT static void enablePreciseMemoryInfo(bool); |
94 BLINK_EXPORT static void enablePresentationAPI(bool); | 95 BLINK_EXPORT static void enablePresentationAPI(bool); |
95 BLINK_EXPORT static void enablePushMessaging(bool); | 96 BLINK_EXPORT static void enablePushMessaging(bool); |
96 BLINK_EXPORT static void enableReducedReferrerGranularity(bool); | 97 BLINK_EXPORT static void enableReducedReferrerGranularity(bool); |
97 BLINK_EXPORT static void enableRenderingPipelineThrottling(bool); | 98 BLINK_EXPORT static void enableRenderingPipelineThrottling(bool); |
98 BLINK_EXPORT static void enableScriptedSpeech(bool); | 99 BLINK_EXPORT static void enableScriptedSpeech(bool); |
99 BLINK_EXPORT static void enableScrollAnchoring(bool); | 100 BLINK_EXPORT static void enableScrollAnchoring(bool); |
100 BLINK_EXPORT static void enableSharedWorker(bool); | 101 BLINK_EXPORT static void enableSharedWorker(bool); |
101 BLINK_EXPORT static void enableSlimmingPaintV2(bool); | 102 BLINK_EXPORT static void enableSlimmingPaintV2(bool); |
102 BLINK_EXPORT static void enableTouch(bool); | 103 BLINK_EXPORT static void enableTouch(bool); |
103 BLINK_EXPORT static void enableUnsafeES3APIs(bool); | 104 BLINK_EXPORT static void enableUnsafeES3APIs(bool); |
104 BLINK_EXPORT static void enableV8IdleTasks(bool); | 105 BLINK_EXPORT static void enableV8IdleTasks(bool); |
| 106 BLINK_EXPORT static void enableWeakMemoryCache(bool); |
105 BLINK_EXPORT static void enableWebBluetooth(bool); | 107 BLINK_EXPORT static void enableWebBluetooth(bool); |
106 BLINK_EXPORT static void enableWebFontsInterventionV2With2G(bool); | 108 BLINK_EXPORT static void enableWebFontsInterventionV2With2G(bool); |
107 BLINK_EXPORT static void enableWebFontsInterventionV2WithSlow2G(bool); | 109 BLINK_EXPORT static void enableWebFontsInterventionV2WithSlow2G(bool); |
108 BLINK_EXPORT static void enableWebFontsInterventionTrigger(bool); | 110 BLINK_EXPORT static void enableWebFontsInterventionTrigger(bool); |
109 BLINK_EXPORT static void enableWebGLDraftExtensions(bool); | 111 BLINK_EXPORT static void enableWebGLDraftExtensions(bool); |
110 BLINK_EXPORT static void enableWebGLImageChromium(bool); | 112 BLINK_EXPORT static void enableWebGLImageChromium(bool); |
111 BLINK_EXPORT static void enableWebUsb(bool); | 113 BLINK_EXPORT static void enableWebUsb(bool); |
112 BLINK_EXPORT static void enableWebVR(bool); | 114 BLINK_EXPORT static void enableWebVR(bool); |
113 BLINK_EXPORT static void enableXSLT(bool); | 115 BLINK_EXPORT static void enableXSLT(bool); |
114 BLINK_EXPORT static void forceOverlayFullscreenVideo(bool); | 116 BLINK_EXPORT static void forceOverlayFullscreenVideo(bool); |
115 | 117 |
116 private: | 118 private: |
117 WebRuntimeFeatures(); | 119 WebRuntimeFeatures(); |
118 }; | 120 }; |
119 | 121 |
120 } // namespace blink | 122 } // namespace blink |
121 | 123 |
122 #endif | 124 #endif |
OLD | NEW |