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

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: Sync/Rebase 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 case UseCounter::ScriptInvalidTypeOrLanguage: 476 case UseCounter::ScriptInvalidTypeOrLanguage:
477 return willBeRemoved( 477 return willBeRemoved(
478 "Fetching scripts with an invalid type/language attributes", M56, 478 "Fetching scripts with an invalid type/language attributes", M56,
479 "5760718284521472"); 479 "5760718284521472");
480 480
481 // The PaymentAddress.careOf was deprecated and then will be removed in M56. 481 // The PaymentAddress.careOf was deprecated and then will be removed in M56.
482 // Please see: https://www.chromestatus.com/features/5728579069411328 482 // Please see: https://www.chromestatus.com/features/5728579069411328
483 case UseCounter::PaymentAddressCareOf: 483 case UseCounter::PaymentAddressCareOf:
484 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); 484 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328");
485 485
486 case UseCounter::VRDeprecatedFieldOfView:
487 return replacedBy("VREyeParameters.fieldOfView",
488 "projection matrices provided by VRFrameData");
489
490 case UseCounter::VRDeprecatedGetPose:
491 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
492
486 // Features that aren't deprecated don't have a deprecation message. 493 // Features that aren't deprecated don't have a deprecation message.
487 default: 494 default:
488 return String(); 495 return String();
489 } 496 }
490 } 497 }
491 498
492 } // namespace blink 499 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698