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

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

Issue 2171863002: Change initTouchEvent removal warning to M54 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash-expected.txt ('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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: 332 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize:
333 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", "'P erformance.setResourceTimingBufferSize'"); 333 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", "'P erformance.setResourceTimingBufferSize'");
334 334
335 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: 335 case UseCounter::PrefixedPerformanceResourceTimingBufferFull:
336 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", "'Pe rformance.onresourcetimingbufferfull'"); 336 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", "'Pe rformance.onresourcetimingbufferfull'");
337 337
338 case UseCounter::MediaStreamTrackGetSources: 338 case UseCounter::MediaStreamTrackGetSources:
339 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details."; 339 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details.";
340 340
341 case UseCounter::V8TouchEvent_InitTouchEvent_Method: 341 case UseCounter::V8TouchEvent_InitTouchEvent_Method:
342 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 53, "5730982598541312"); 342 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 54, "5730982598541312");
343 343
344 case UseCounter::ObjectObserve: 344 case UseCounter::ObjectObserve:
345 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); 345 return willBeRemoved("'Object.observe'", 50, "6147094632988672");
346 346
347 case UseCounter::SVGZoomEvent: 347 case UseCounter::SVGZoomEvent:
348 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); 348 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528");
349 349
350 case UseCounter::WebAnimationHyphenatedProperty: 350 case UseCounter::WebAnimationHyphenatedProperty:
351 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead."; 351 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead.";
352 352
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 case UseCounter::TouchEndDuringScrollUserGestureUtilized: 386 case UseCounter::TouchEndDuringScrollUserGestureUtilized:
387 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904"); 387 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904");
388 388
389 // Features that aren't deprecated don't have a deprecation message. 389 // Features that aren't deprecated don't have a deprecation message.
390 default: 390 default:
391 return String(); 391 return String();
392 } 392 }
393 } 393 }
394 394
395 } // namespace blink 395 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698