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

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

Issue 1691883003: Deprecate SVGZoomEvent and SVGZoomEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update -expected files with deprecation messages and rename counter to SVGZoomEvent Created 4 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 339
340 case UseCounter::RTCPeerConnectionCreateAnswerLegacyNoFailureCallback: 340 case UseCounter::RTCPeerConnectionCreateAnswerLegacyNoFailureCallback:
341 return "RTCPeerConnection.CreateAnswer without a failure callback is dep recated. The failure callback will be a required parameter in M50. See https://w ww.chromestatus.com/feature/5663288008376320 for more details"; 341 return "RTCPeerConnection.CreateAnswer without a failure callback is dep recated. The failure callback will be a required parameter in M50. See https://w ww.chromestatus.com/feature/5663288008376320 for more details";
342 342
343 case UseCounter::RTCPeerConnectionCreateOfferLegacyNoFailureCallback: 343 case UseCounter::RTCPeerConnectionCreateOfferLegacyNoFailureCallback:
344 return "RTCPeerConnection.CreateOffer without a failure callback is depr ecated. The failure callback will be a required parameter in M50. See https://ww w.chromestatus.com/feature/5663288008376320 for more details"; 344 return "RTCPeerConnection.CreateOffer without a failure callback is depr ecated. The failure callback will be a required parameter in M50. See https://ww w.chromestatus.com/feature/5663288008376320 for more details";
345 345
346 case UseCounter::ObjectObserve: 346 case UseCounter::ObjectObserve:
347 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); 347 return willBeRemoved("'Object.observe'", 50, "6147094632988672");
348 348
349 case UseCounter::SVGZoomEvent:
350 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528");
351
349 // Features that aren't deprecated don't have a deprecation message. 352 // Features that aren't deprecated don't have a deprecation message.
350 default: 353 default:
351 return String(); 354 return String();
352 } 355 }
353 } 356 }
354 357
355 } // namespace blink 358 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698