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

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

Issue 2777903008: Removed deprecated WebVR functionality (Closed)
Patch Set: Another test re-baseline Created 3 years, 8 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/LocalFrame.h" 10 #include "core/frame/LocalFrame.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 case UseCounter::CSSDeepCombinator: 364 case UseCounter::CSSDeepCombinator:
365 return String::format( 365 return String::format(
366 "/deep/ combinator is deprecated and will be a no-op in %s. See " 366 "/deep/ combinator is deprecated and will be a no-op in %s. See "
367 "https://www.chromestatus.com/features/4964279606312960 for more " 367 "https://www.chromestatus.com/features/4964279606312960 for more "
368 "details.", 368 "details.",
369 milestoneString(M60)); 369 milestoneString(M60));
370 370
371 case UseCounter::CSSSelectorPseudoShadow: 371 case UseCounter::CSSSelectorPseudoShadow:
372 return willBeRemoved("::shadow pseudo-element", M60, "6750456638341120"); 372 return willBeRemoved("::shadow pseudo-element", M60, "6750456638341120");
373 373
374 case UseCounter::VRDeprecatedFieldOfView: 374 case UseCounter::VREyeParametersOffset:
375 return replacedBy("VREyeParameters.fieldOfView", 375 return replacedBy("VREyeParameters.offset",
376 "projection matrices provided by VRFrameData"); 376 "view matrices provided by VRFrameData");
377
378 case UseCounter::VRDeprecatedGetPose:
379 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
380 377
381 case UseCounter:: 378 case UseCounter::
382 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse: 379 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse:
383 return String::format( 380 return String::format(
384 "The service worker responded to the navigation request with a " 381 "The service worker responded to the navigation request with a "
385 "redirected response. This will result in an error in %s.", 382 "redirected response. This will result in an error in %s.",
386 milestoneString(M59)); 383 milestoneString(M59));
387 384
388 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton: 385 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton:
389 return willBeRemoved( 386 return willBeRemoved(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 "the 'script-src' directive for Workers", 424 "the 'script-src' directive for Workers",
428 M60, "5922594955984896"); 425 M60, "5922594955984896");
429 426
430 // Features that aren't deprecated don't have a deprecation message. 427 // Features that aren't deprecated don't have a deprecation message.
431 default: 428 default:
432 return String(); 429 return String();
433 } 430 }
434 } 431 }
435 432
436 } // namespace blink 433 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698