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

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

Issue 2126593002: Remove Object.observe UseCounter and deprecation warning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: 337 case UseCounter::PrefixedPerformanceResourceTimingBufferFull:
338 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", "'Pe rformance.onresourcetimingbufferfull'"); 338 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", "'Pe rformance.onresourcetimingbufferfull'");
339 339
340 case UseCounter::MediaStreamTrackGetSources: 340 case UseCounter::MediaStreamTrackGetSources:
341 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details."; 341 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details.";
342 342
343 case UseCounter::V8TouchEvent_InitTouchEvent_Method: 343 case UseCounter::V8TouchEvent_InitTouchEvent_Method:
344 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 53, "5730982598541312"); 344 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 53, "5730982598541312");
345 345
346 case UseCounter::ObjectObserve:
347 return willBeRemoved("'Object.observe'", 50, "6147094632988672");
348
349 case UseCounter::SVGZoomEvent: 346 case UseCounter::SVGZoomEvent:
350 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); 347 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528");
351 348
352 case UseCounter::WebAnimationHyphenatedProperty: 349 case UseCounter::WebAnimationHyphenatedProperty:
353 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead."; 350 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead.";
354 351
355 case UseCounter::HTMLKeygenElement: 352 case UseCounter::HTMLKeygenElement:
356 return willBeRemoved("The <keygen> element", 54, "5716060992962560"); 353 return willBeRemoved("The <keygen> element", 54, "5716060992962560");
357 354
358 case UseCounter::WebAnimationsEasingAsFunctionLinear: 355 case UseCounter::WebAnimationsEasingAsFunctionLinear:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 case UseCounter::MIDIMessageEventReceivedTime: 388 case UseCounter::MIDIMessageEventReceivedTime:
392 return willBeRemoved("MIDIMessageEvent.receivedTime", 56, "5665772797952 000"); 389 return willBeRemoved("MIDIMessageEvent.receivedTime", 56, "5665772797952 000");
393 390
394 // Features that aren't deprecated don't have a deprecation message. 391 // Features that aren't deprecated don't have a deprecation message.
395 default: 392 default:
396 return String(); 393 return String();
397 } 394 }
398 } 395 }
399 396
400 } // namespace blink 397 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698