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

Side by Side Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix isRenewalMessage() in browser tests. Created 4 years, 10 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
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) 108 void WebRuntimeFeatures::enableEncryptedMedia(bool enable)
109 { 109 {
110 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); 110 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable);
111 } 111 }
112 112
113 bool WebRuntimeFeatures::isEncryptedMediaEnabled() 113 bool WebRuntimeFeatures::isEncryptedMediaEnabled()
114 { 114 {
115 return RuntimeEnabledFeatures::encryptedMediaEnabled(); 115 return RuntimeEnabledFeatures::encryptedMediaEnabled();
116 } 116 }
117 117
118 void WebRuntimeFeatures::enablePrefixedEncryptedMedia(bool enable)
119 {
120 RuntimeEnabledFeatures::setPrefixedEncryptedMediaEnabled(enable);
121 }
122
123 bool WebRuntimeFeatures::isPrefixedEncryptedMediaEnabled()
124 {
125 return RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled();
126 }
127
128 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) 118 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable)
129 { 119 {
130 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); 120 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable);
131 } 121 }
132 122
133 void WebRuntimeFeatures::enableExperimentalFramework(bool enable) 123 void WebRuntimeFeatures::enableExperimentalFramework(bool enable)
134 { 124 {
135 RuntimeEnabledFeatures::setExperimentalFrameworkEnabled(enable); 125 RuntimeEnabledFeatures::setExperimentalFrameworkEnabled(enable);
136 } 126 }
137 127
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 { 329 {
340 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); 330 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable);
341 } 331 }
342 332
343 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() 333 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled()
344 { 334 {
345 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); 335 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled();
346 } 336 }
347 337
348 } // namespace blink 338 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/platform/WebMediaPlayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698