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 28 matching lines...) Expand all Loading... | |
39 // Stable features are enabled by default. | 39 // Stable features are enabled by default. |
40 class WebRuntimeFeatures { | 40 class WebRuntimeFeatures { |
41 public: | 41 public: |
42 BLINK_EXPORT static void enableExperimentalFeatures(bool); | 42 BLINK_EXPORT static void enableExperimentalFeatures(bool); |
43 BLINK_EXPORT static void enableTestOnlyFeatures(bool); | 43 BLINK_EXPORT static void enableTestOnlyFeatures(bool); |
44 | 44 |
45 BLINK_EXPORT static void enableApplicationCache(bool); | 45 BLINK_EXPORT static void enableApplicationCache(bool); |
46 | 46 |
47 BLINK_EXPORT static void enableDatabase(bool); | 47 BLINK_EXPORT static void enableDatabase(bool); |
48 | 48 |
49 BLINK_EXPORT static void enableDialogElement(bool); | |
50 | |
51 BLINK_EXPORT static void enableEncryptedMedia(bool); | 49 BLINK_EXPORT static void enableEncryptedMedia(bool); |
52 BLINK_EXPORT static bool isEncryptedMediaEnabled(); | 50 BLINK_EXPORT static bool isEncryptedMediaEnabled(); |
53 | 51 |
54 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); | 52 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); |
55 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); | 53 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); |
56 | 54 |
57 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); | 55 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); |
58 | 56 |
59 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); | 57 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); |
60 | 58 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 BLINK_EXPORT static void enableWebAnimationsSVG(bool); | 103 BLINK_EXPORT static void enableWebAnimationsSVG(bool); |
106 | 104 |
107 BLINK_EXPORT static void enableWebAudio(bool); | 105 BLINK_EXPORT static void enableWebAudio(bool); |
108 | 106 |
109 BLINK_EXPORT static void enableWebGLDraftExtensions(bool); | 107 BLINK_EXPORT static void enableWebGLDraftExtensions(bool); |
110 | 108 |
111 BLINK_EXPORT static void enableWebGLImageChromium(bool); | 109 BLINK_EXPORT static void enableWebGLImageChromium(bool); |
112 | 110 |
113 BLINK_EXPORT static void enableWebMIDI(bool); | 111 BLINK_EXPORT static void enableWebMIDI(bool); |
114 | 112 |
115 BLINK_EXPORT static void enableHTMLImports(bool); | |
116 | |
117 BLINK_EXPORT static void enableXSLT(bool); | 113 BLINK_EXPORT static void enableXSLT(bool); |
118 | 114 |
119 BLINK_EXPORT static void enableOverlayScrollbars(bool); | 115 BLINK_EXPORT static void enableOverlayScrollbars(bool); |
120 | 116 |
121 BLINK_EXPORT static void enableOverlayFullscreenVideo(bool); | 117 BLINK_EXPORT static void enableOverlayFullscreenVideo(bool); |
122 | 118 |
123 BLINK_EXPORT static void enableSharedWorker(bool); | 119 BLINK_EXPORT static void enableSharedWorker(bool); |
124 | 120 |
125 BLINK_EXPORT static void enableExperimentalWebSocket(bool); | |
126 | |
127 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); | 121 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); |
128 | 122 |
129 BLINK_EXPORT static void enablePreciseMemoryInfo(bool); | 123 BLINK_EXPORT static void enablePreciseMemoryInfo(bool); |
130 | 124 |
131 BLINK_EXPORT static void enableLayerSquashing(bool); | 125 BLINK_EXPORT static void enableLayerSquashing(bool); |
132 | 126 |
133 BLINK_EXPORT static void enableShowModalDialog(bool); | 127 BLINK_EXPORT static void enableShowModalDialog(bool); |
134 | 128 |
135 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); | |
abarth-chromium
2014/07/01 02:11:22
This one was just added. Presumably it's about to
| |
136 | |
137 private: | 129 private: |
138 WebRuntimeFeatures(); | 130 WebRuntimeFeatures(); |
139 }; | 131 }; |
140 | 132 |
141 } // namespace blink | 133 } // namespace blink |
142 | 134 |
143 #endif | 135 #endif |
OLD | NEW |