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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/frame/Deprecation.h" 5 #include "core/frame/Deprecation.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/FrameConsole.h" 9 #include "core/frame/FrameConsole.h"
10 #include "core/frame/FrameHost.h" 10 #include "core/frame/FrameHost.h"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 case UseCounter::PrefixedAudioContext: 241 case UseCounter::PrefixedAudioContext:
242 return replacedBy("'webkitAudioContext'", "'AudioContext'"); 242 return replacedBy("'webkitAudioContext'", "'AudioContext'");
243 243
244 case UseCounter::PrefixedOfflineAudioContext: 244 case UseCounter::PrefixedOfflineAudioContext:
245 return replacedBy("'webkitOfflineAudioContext'", "'OfflineAudioContext'" ); 245 return replacedBy("'webkitOfflineAudioContext'", "'OfflineAudioContext'" );
246 246
247 case UseCounter::RangeExpand: 247 case UseCounter::RangeExpand:
248 return replacedBy("'Range.expand()'", "'Selection.modify()'"); 248 return replacedBy("'Range.expand()'", "'Selection.modify()'");
249 249
250 case UseCounter::PrefixedMediaAddKey:
251 case UseCounter::PrefixedMediaGenerateKeyRequest:
252 case UseCounter::PrefixedMediaCancelKeyRequest:
253 return "The prefixed Encrypted Media Extensions APIs are deprecated. Ple ase use 'navigator.requestMediaKeySystemAccess()' instead.";
254
255 case UseCounter::CanPlayTypeKeySystem:
256 return replacedBy("canPlayType()'s 'keySystem' parameter", "'navigator.r equestMediaKeySystemAccess()'");
257
258 // Powerful features on insecure origins (https://goo.gl/rStTGz) 250 // Powerful features on insecure origins (https://goo.gl/rStTGz)
259 case UseCounter::DeviceMotionInsecureOrigin: 251 case UseCounter::DeviceMotionInsecureOrigin:
260 return "The devicemotion event is deprecated on insecure origins, and su pport will be removed in the future. You should consider switching your applicat ion to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more detail s."; 252 return "The devicemotion event is deprecated on insecure origins, and su pport will be removed in the future. You should consider switching your applicat ion to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more detail s.";
261 253
262 case UseCounter::DeviceOrientationInsecureOrigin: 254 case UseCounter::DeviceOrientationInsecureOrigin:
263 return "The deviceorientation event is deprecated on insecure origins, a nd support will be removed in the future. You should consider switching your app lication to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more d etails."; 255 return "The deviceorientation event is deprecated on insecure origins, a nd support will be removed in the future. You should consider switching your app lication to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more d etails.";
264 256
265 case UseCounter::DeviceOrientationAbsoluteInsecureOrigin: 257 case UseCounter::DeviceOrientationAbsoluteInsecureOrigin:
266 return "The deviceorientationabsolute event is deprecated on insecure or igins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz fo r more details."; 258 return "The deviceorientationabsolute event is deprecated on insecure or igins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz fo r more details.";
267 259
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 case UseCounter::BorderImageWithBorderStyleNone: 337 case UseCounter::BorderImageWithBorderStyleNone:
346 return "Elements using the 'border-image' CSS property with no 'border-s tyle' set should have no border, but currently do. Setting 'border-style' will b e required in M51, around June 2016. See https://www.chromestatus.com/features/5 542503914668032 for more details."; 338 return "Elements using the 'border-image' CSS property with no 'border-s tyle' set should have no border, but currently do. Setting 'border-style' will b e required in M51, around June 2016. See https://www.chromestatus.com/features/5 542503914668032 for more details.";
347 339
348 // Features that aren't deprecated don't have a deprecation message. 340 // Features that aren't deprecated don't have a deprecation message.
349 default: 341 default:
350 return String(); 342 return String();
351 } 343 }
352 } 344 }
353 345
354 } // namespace blink 346 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698