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

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

Issue 2128973002: Remove prefixed imageSmoothingEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase master Created 4 years, 3 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 case UseCounter::ConsoleTimelineEnd: 257 case UseCounter::ConsoleTimelineEnd:
258 return replacedBy("'console.timelineEnd'", "'console.timeEnd'"); 258 return replacedBy("'console.timelineEnd'", "'console.timeEnd'");
259 259
260 case UseCounter::XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: 260 case UseCounter::XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
261 return "Synchronous XMLHttpRequest on the main thread is deprecated beca use of its detrimental effects to the end user's experience. For more help, chec k https://xhr.spec.whatwg.org/."; 261 return "Synchronous XMLHttpRequest on the main thread is deprecated beca use of its detrimental effects to the end user's experience. For more help, chec k https://xhr.spec.whatwg.org/.";
262 262
263 case UseCounter::GetMatchedCSSRules: 263 case UseCounter::GetMatchedCSSRules:
264 return "'getMatchedCSSRules()' is deprecated. For more help, check https ://code.google.com/p/chromium/issues/detail?id=437569#c2"; 264 return "'getMatchedCSSRules()' is deprecated. For more help, check https ://code.google.com/p/chromium/issues/detail?id=437569#c2";
265 265
266 case UseCounter::PrefixedImageSmoothingEnabled:
267 return replacedWillBeRemoved("'CanvasRenderingContext2D.webkitImageSmoot hingEnabled'", "'CanvasRenderingContext2D.imageSmoothingEnabled'", 55, "56398492 47768576");
268
269 case UseCounter::AudioListenerDopplerFactor: 266 case UseCounter::AudioListenerDopplerFactor:
270 return dopplerWillBeRemoved("'AudioListener.dopplerFactor'", 55, "523892 6818148352"); 267 return dopplerWillBeRemoved("'AudioListener.dopplerFactor'", 55, "523892 6818148352");
271 268
272 case UseCounter::AudioListenerSpeedOfSound: 269 case UseCounter::AudioListenerSpeedOfSound:
273 return dopplerWillBeRemoved("'AudioListener.speedOfSound'", 55, "5238926 818148352"); 270 return dopplerWillBeRemoved("'AudioListener.speedOfSound'", 55, "5238926 818148352");
274 271
275 case UseCounter::AudioListenerSetVelocity: 272 case UseCounter::AudioListenerSetVelocity:
276 return dopplerWillBeRemoved("'AudioListener.setVelocity()'", 55, "523892 6818148352"); 273 return dopplerWillBeRemoved("'AudioListener.setVelocity()'", 55, "523892 6818148352");
277 274
278 case UseCounter::PannerNodeSetVelocity: 275 case UseCounter::PannerNodeSetVelocity:
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 case UseCounter::NavigatorPointerEnabled: 381 case UseCounter::NavigatorPointerEnabled:
385 return "Navigator.pointerEnabled is a non-standard API added for experim ents only. It will be removed in near future."; 382 return "Navigator.pointerEnabled is a non-standard API added for experim ents only. It will be removed in near future.";
386 383
387 // Features that aren't deprecated don't have a deprecation message. 384 // Features that aren't deprecated don't have a deprecation message.
388 default: 385 default:
389 return String(); 386 return String();
390 } 387 }
391 } 388 }
392 389
393 } // namespace blink 390 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698