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

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

Issue 2515653003: Deprecate legacy callers for HTMLEmbedElement and HTMLObjectElement (Closed)
Patch Set: Created 4 years, 1 month 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 | « third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp ('k') | no next file » | 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 "Please specify the desired codec(s) as part of the contentType.", 437 "Please specify the desired codec(s) as part of the contentType.",
438 milestoneString(M56)); 438 milestoneString(M56));
439 439
440 case UseCounter::VRDeprecatedFieldOfView: 440 case UseCounter::VRDeprecatedFieldOfView:
441 return replacedBy("VREyeParameters.fieldOfView", 441 return replacedBy("VREyeParameters.fieldOfView",
442 "projection matrices provided by VRFrameData"); 442 "projection matrices provided by VRFrameData");
443 443
444 case UseCounter::VRDeprecatedGetPose: 444 case UseCounter::VRDeprecatedGetPose:
445 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 445 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
446 446
447 case UseCounter::HTMLEmbedElementLegacyCall:
448 return willBeRemoved("HTMLEmbedElement legacy caller", M58,
449 "5715026367217664");
450
451 case UseCounter::HTMLObjectElementLegacyCall:
452 return willBeRemoved("HTMLObjectElement legacy caller", M58,
453 "5715026367217664");
454
447 // Features that aren't deprecated don't have a deprecation message. 455 // Features that aren't deprecated don't have a deprecation message.
448 default: 456 default:
449 return String(); 457 return String();
450 } 458 }
451 } 459 }
452 460
453 } // namespace blink 461 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698