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

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

Issue 2497583002: Remove webkitCancelRequestAnimationFrame (Closed)
Patch Set: Patch for landing try 2 Created 4 years, 1 month 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 M57, "5775330191081472"); 274 M57, "5775330191081472");
275 275
276 case UseCounter::PrefixedRequestAnimationFrame: 276 case UseCounter::PrefixedRequestAnimationFrame:
277 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the " 277 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the "
278 "standard 'requestAnimationFrame' instead."; 278 "standard 'requestAnimationFrame' instead.";
279 279
280 case UseCounter::PrefixedCancelAnimationFrame: 280 case UseCounter::PrefixedCancelAnimationFrame:
281 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the " 281 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the "
282 "standard 'cancelAnimationFrame' instead."; 282 "standard 'cancelAnimationFrame' instead.";
283 283
284 case UseCounter::PrefixedCancelRequestAnimationFrame:
285 return replacedWillBeRemoved("webkitCancelRequestAnimationFrame",
286 "cancelAnimationFrame", M57,
287 "5588435494502400");
288
289 case UseCounter::PictureSourceSrc: 284 case UseCounter::PictureSourceSrc:
290 return "<source src> with a <picture> parent is invalid and therefore " 285 return "<source src> with a <picture> parent is invalid and therefore "
291 "ignored. Please use <source srcset> instead."; 286 "ignored. Please use <source srcset> instead.";
292 287
293 case UseCounter::RadioNameMatchingASCIICaseless: 288 case UseCounter::RadioNameMatchingASCIICaseless:
294 case UseCounter::RadioNameMatchingCaseFolding: 289 case UseCounter::RadioNameMatchingCaseFolding:
295 return willBeRemoved( 290 return willBeRemoved(
296 "Case-insensitive matching for <input type=radio name=...>", M57, 291 "Case-insensitive matching for <input type=radio name=...>", M57,
297 "6165799291060224"); 292 "6165799291060224");
298 293
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 case UseCounter::VRDeprecatedGetPose: 439 case UseCounter::VRDeprecatedGetPose:
445 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 440 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
446 441
447 // Features that aren't deprecated don't have a deprecation message. 442 // Features that aren't deprecated don't have a deprecation message.
448 default: 443 default:
449 return String(); 444 return String();
450 } 445 }
451 } 446 }
452 447
453 } // namespace blink 448 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698