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

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

Issue 2493343002: Remove legacy callers for HTMLEmbedElement and HTMLObjectElement (Closed)
Patch Set: fix another test Created 3 years, 10 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 "https://www.chromestatus.com/features/6750456638341120 for more " 375 "https://www.chromestatus.com/features/6750456638341120 for more "
376 "details."; 376 "details.";
377 377
378 case UseCounter::VRDeprecatedFieldOfView: 378 case UseCounter::VRDeprecatedFieldOfView:
379 return replacedBy("VREyeParameters.fieldOfView", 379 return replacedBy("VREyeParameters.fieldOfView",
380 "projection matrices provided by VRFrameData"); 380 "projection matrices provided by VRFrameData");
381 381
382 case UseCounter::VRDeprecatedGetPose: 382 case UseCounter::VRDeprecatedGetPose:
383 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 383 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
384 384
385 case UseCounter::HTMLEmbedElementLegacyCall:
386 return willBeRemoved("HTMLEmbedElement legacy caller", M58,
387 "5715026367217664");
388
389 case UseCounter::HTMLObjectElementLegacyCall:
390 return willBeRemoved("HTMLObjectElement legacy caller", M58,
391 "5715026367217664");
392 case UseCounter:: 385 case UseCounter::
393 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse: 386 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse:
394 return String::format( 387 return String::format(
395 "The service worker responded to the navigation request with a " 388 "The service worker responded to the navigation request with a "
396 "redirected response. This will result in an error in %s.", 389 "redirected response. This will result in an error in %s.",
397 milestoneString(M59)); 390 milestoneString(M59));
398 391
399 case UseCounter::CSSSelectorInternalMediaControlsCastButton: 392 case UseCounter::CSSSelectorInternalMediaControlsCastButton:
400 return willBeRemoved("-internal-media-controls-cast-button selector", M59, 393 return willBeRemoved("-internal-media-controls-cast-button selector", M59,
401 "5734009183141888"); 394 "5734009183141888");
(...skipping 12 matching lines...) Expand all
414 "-internal-media-controls-text-track-list* selectors", M59, 407 "-internal-media-controls-text-track-list* selectors", M59,
415 "5661431349379072"); 408 "5661431349379072");
416 409
417 // Features that aren't deprecated don't have a deprecation message. 410 // Features that aren't deprecated don't have a deprecation message.
418 default: 411 default:
419 return String(); 412 return String();
420 } 413 }
421 } 414 }
422 415
423 } // namespace blink 416 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698