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

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

Issue 1707473002: Remove document.defaultCharset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 320
321 case UseCounter::V8SVGElement_OffsetWidth_AttributeGetter: 321 case UseCounter::V8SVGElement_OffsetWidth_AttributeGetter:
322 return willBeRemoved("'SVGElement.offsetWidth'", 50, "5724912467574784") ; 322 return willBeRemoved("'SVGElement.offsetWidth'", 50, "5724912467574784") ;
323 323
324 case UseCounter::V8SVGElement_OffsetHeight_AttributeGetter: 324 case UseCounter::V8SVGElement_OffsetHeight_AttributeGetter:
325 return willBeRemoved("'SVGElement.offsetHeight'", 50, "5724912467574784" ); 325 return willBeRemoved("'SVGElement.offsetHeight'", 50, "5724912467574784" );
326 326
327 case UseCounter::MediaStreamTrackGetSources: 327 case UseCounter::MediaStreamTrackGetSources:
328 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details."; 328 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details.";
329 329
330 case UseCounter::DocumentDefaultCharset:
331 return willBeRemoved("'Document.defaultCharset'", 50, "6217124578066432" );
332
333 case UseCounter::V8TouchEvent_InitTouchEvent_Method: 330 case UseCounter::V8TouchEvent_InitTouchEvent_Method:
334 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 53, "5730982598541312"); 331 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 53, "5730982598541312");
335 332
336 case UseCounter::RTCPeerConnectionCreateAnswerLegacyNoFailureCallback: 333 case UseCounter::RTCPeerConnectionCreateAnswerLegacyNoFailureCallback:
337 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"; 334 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";
338 335
339 case UseCounter::RTCPeerConnectionCreateOfferLegacyNoFailureCallback: 336 case UseCounter::RTCPeerConnectionCreateOfferLegacyNoFailureCallback:
340 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"; 337 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";
341 338
342 case UseCounter::ObjectObserve: 339 case UseCounter::ObjectObserve:
343 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); 340 return willBeRemoved("'Object.observe'", 50, "6147094632988672");
344 341
345 case UseCounter::SVGZoomEvent: 342 case UseCounter::SVGZoomEvent:
346 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); 343 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528");
347 344
348 // Features that aren't deprecated don't have a deprecation message. 345 // Features that aren't deprecated don't have a deprecation message.
349 default: 346 default:
350 return String(); 347 return String();
351 } 348 }
352 } 349 }
353 350
354 } // namespace blink 351 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.idl ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698