Changeset 81779 in webkit
- Timestamp:
- Mar 23, 2011 9:47:57 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r81778 r81779 1 2011-03-23 Leandro Gracia Gil <leandrogracia@chromium.org> 2 3 Reviewed by Steve Block. 4 5 Media Stream API: add a flag to RuntimeEnabledFeatures. 6 https://bugs.webkit.org/show_bug.cgi?id=56921 7 8 Add a flag to RuntimeEnabledFeatures to check if the Media Stream API is enabled at runtime. 9 10 Tests for the Media Stream API will be provided by the bug 56587. 11 12 * bindings/generic/RuntimeEnabledFeatures.cpp: 13 * bindings/generic/RuntimeEnabledFeatures.h: 14 (WebCore::RuntimeEnabledFeatures::mediaStreamEnabled): 15 (WebCore::RuntimeEnabledFeatures::setMediaStreamEnabled): 16 (WebCore::RuntimeEnabledFeatures::webkitGetUserMediaEnabled): 17 1 18 2011-03-23 Carol Szabo <carol.szabo@nokia.com> 2 19 -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
r80536 r81779 57 57 bool RuntimeEnabledFeatures::isDeviceOrientationEnabled = true; 58 58 bool RuntimeEnabledFeatures::isSpeechInputEnabled = true; 59 60 #if ENABLE(MEDIA_STREAM) 61 bool RuntimeEnabledFeatures::isMediaStreamEnabled = true; 62 #endif 59 63 60 64 #if ENABLE(XHR_RESPONSE_BLOB) -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
r80536 r81779 166 166 #endif 167 167 168 #if ENABLE(MEDIA_STREAM) 169 static bool mediaStreamEnabled() { return isMediaStreamEnabled; } 170 static void setMediaStreamEnabled(bool isEnabled) { isMediaStreamEnabled = isEnabled; } 171 static bool webkitGetUserMediaEnabled() { return isMediaStreamEnabled; } 172 #endif 173 168 174 private: 169 175 // Never instantiate. … … 195 201 static bool isJavaScriptI18NAPIEnabled; 196 202 #endif 203 204 #if ENABLE(MEDIA_STREAM) 205 static bool isMediaStreamEnabled; 206 #endif 197 207 }; 198 208
Note: See TracChangeset
for help on using the changeset viewer.