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

Side by Side Diff: Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp

Issue 13774005: Remove the ENABLE_SQL_DATABASE compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: python Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 #endif 143 #endif
144 144
145 #if ENABLE(WEB_SOCKETS) 145 #if ENABLE(WEB_SOCKETS)
146 bool RuntimeEnabledFeatures::webSocketEnabled() 146 bool RuntimeEnabledFeatures::webSocketEnabled()
147 { 147 {
148 return WebSocket::isAvailable(); 148 return WebSocket::isAvailable();
149 } 149 }
150 #endif 150 #endif
151 151
152 #if ENABLE(SQL_DATABASE)
153 bool RuntimeEnabledFeatures::openDatabaseEnabled() 152 bool RuntimeEnabledFeatures::openDatabaseEnabled()
154 { 153 {
155 return DatabaseManager::manager().isAvailable(); 154 return DatabaseManager::manager().isAvailable();
156 } 155 }
157 156
158 bool RuntimeEnabledFeatures::openDatabaseSyncEnabled() 157 bool RuntimeEnabledFeatures::openDatabaseSyncEnabled()
159 { 158 {
160 return DatabaseManager::manager().isAvailable(); 159 return DatabaseManager::manager().isAvailable();
161 } 160 }
162 #endif
163 161
164 bool RuntimeEnabledFeatures::isQuotaEnabled = false; 162 bool RuntimeEnabledFeatures::isQuotaEnabled = false;
165 163
166 bool RuntimeEnabledFeatures::isFullScreenAPIEnabled = true; 164 bool RuntimeEnabledFeatures::isFullScreenAPIEnabled = true;
167 165
168 bool RuntimeEnabledFeatures::isMediaSourceEnabled = false; 166 bool RuntimeEnabledFeatures::isMediaSourceEnabled = false;
169 167
170 #if ENABLE(VIDEO_TRACK) 168 #if ENABLE(VIDEO_TRACK)
171 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY) || PLATFORM(WIN) 169 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY) || PLATFORM(WIN)
172 bool RuntimeEnabledFeatures::isVideoTrackEnabled = true; 170 bool RuntimeEnabledFeatures::isVideoTrackEnabled = true;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 225
228 bool RuntimeEnabledFeatures::areExperimentalContentSecurityPolicyFeaturesEnabled = false; 226 bool RuntimeEnabledFeatures::areExperimentalContentSecurityPolicyFeaturesEnabled = false;
229 227
230 bool RuntimeEnabledFeatures::areSeamlessIFramesEnabled = false; 228 bool RuntimeEnabledFeatures::areSeamlessIFramesEnabled = false;
231 229
232 #if ENABLE(FONT_LOAD_EVENTS) 230 #if ENABLE(FONT_LOAD_EVENTS)
233 bool RuntimeEnabledFeatures::isFontLoadEventsEnabled = false; 231 bool RuntimeEnabledFeatures::isFontLoadEventsEnabled = false;
234 #endif 232 #endif
235 233
236 } // namespace WebCore 234 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h ('k') | Source/WebCore/bindings/scripts/test/TestCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698