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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2394703003: Add deprecation messages to deprecated parts of the WebVR API. (Closed)
Patch Set: Created 4 years, 2 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 return willBeRemoved("Web Audio autoplay (without user gesture) from cro ss-origin iframes", M55, "6406908126691328"); 393 return willBeRemoved("Web Audio autoplay (without user gesture) from cro ss-origin iframes", M55, "6406908126691328");
394 394
395 case UseCounter::ScriptInvalidTypeOrLanguage: 395 case UseCounter::ScriptInvalidTypeOrLanguage:
396 return willBeRemoved("Fetching scripts with an invalid type/language att ributes", M56, "5760718284521472"); 396 return willBeRemoved("Fetching scripts with an invalid type/language att ributes", M56, "5760718284521472");
397 397
398 // The PaymentAddress.careOf was deprecated and then will be removed in M56. 398 // The PaymentAddress.careOf was deprecated and then will be removed in M56.
399 // Please see: https://www.chromestatus.com/features/5728579069411328 399 // Please see: https://www.chromestatus.com/features/5728579069411328
400 case UseCounter::PaymentAddressCareOf: 400 case UseCounter::PaymentAddressCareOf:
401 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); 401 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328");
402 402
403 case UseCounter::VRDeprecatedFieldOfView:
404 return String::format("VREyeParameters.fieldOfView is deprecated and wil l be removed in %s. Prefer using the projection matrices provided by VRFrameDat a instead. See https://www.chromestatus.com/features/4532810371039232 for more details.", milestoneString(M57));
ddorwin 2016/10/05 21:32:43 WouldreplacedBy work? The chromestatus URL doesn'
billorr 2016/10/05 21:55:27 Sure - I can switch to that if we don't need the m
billorr 2016/10/05 22:47:55 Done.
405
406 case UseCounter::VRDeprecatedGetPose:
407 return String::format("VRDisplay.getPose() is deprecated and will be rem oved in %s. Prefer using VRDisplay.getFrameData() instead. See https://www.chr omestatus.com/features/4532810371039232 for more details.", milestoneString(M57) );
ddorwin 2016/10/05 21:32:43 ditto
billorr 2016/10/05 21:55:27 Acknowledged.
billorr 2016/10/05 22:47:55 Done.
408
403 // Features that aren't deprecated don't have a deprecation message. 409 // Features that aren't deprecated don't have a deprecation message.
404 default: 410 default:
405 return String(); 411 return String();
406 } 412 }
407 } 413 }
408 414
409 } // namespace blink 415 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | third_party/WebKit/Source/modules/vr/NavigatorVR.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698