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

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

Issue 366473002: Remove unused exposed APIs for WebRuntimeFeatures (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Keep enableLaxMixedContentChecking Created 6 years, 5 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
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 28 matching lines...) Expand all
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
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); 129 BLINK_EXPORT static void enableLaxMixedContentChecking(bool);
136 130
137 private: 131 private:
138 WebRuntimeFeatures(); 132 WebRuntimeFeatures();
139 }; 133 };
140 134
141 } // namespace blink 135 } // namespace blink
142 136
143 #endif 137 #endif
OLDNEW
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698