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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index efdc481dfc8899178b3e40a6bd80de5f78e87b46..649148db99fd2a6cd34cb07a9b2ca0bd7728d893 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -483,6 +483,13 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) {
case UseCounter::PaymentAddressCareOf:
return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328");
+ case UseCounter::VRDeprecatedFieldOfView:
+ return replacedBy("VREyeParameters.fieldOfView",
+ "projection matrices provided by VRFrameData");
+
+ case UseCounter::VRDeprecatedGetPose:
+ return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« 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