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

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

Issue 1885713002: Remove the user counter for border-image elements with no border style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 case UseCounter::V8TouchEvent_InitTouchEvent_Method: 346 case UseCounter::V8TouchEvent_InitTouchEvent_Method:
347 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 53, "5730982598541312"); 347 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv ent constructor", 53, "5730982598541312");
348 348
349 case UseCounter::ObjectObserve: 349 case UseCounter::ObjectObserve:
350 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); 350 return willBeRemoved("'Object.observe'", 50, "6147094632988672");
351 351
352 case UseCounter::SVGZoomEvent: 352 case UseCounter::SVGZoomEvent:
353 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); 353 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528");
354 354
355 case UseCounter::BorderImageWithBorderStyleNone:
356 return "Elements using the 'border-image' CSS property with no 'border-s tyle' set should have no border, but currently do. Setting 'border-style' will b e required in M51, around May 2016. See https://www.chromestatus.com/features/55 42503914668032 for more details.";
357
358 case UseCounter::WebAnimationHyphenatedProperty: 355 case UseCounter::WebAnimationHyphenatedProperty:
359 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead."; 356 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead.";
360 357
361 case UseCounter::PresentationConnectionStateChangeEventListener: 358 case UseCounter::PresentationConnectionStateChangeEventListener:
362 return replacedWillBeRemoved("'PresentationConnection.onstateachange'", "'PresentationConnection.on{connect,close,terminate}'", 51, "5662456714100736"); 359 return replacedWillBeRemoved("'PresentationConnection.onstateachange'", "'PresentationConnection.on{connect,close,terminate}'", 51, "5662456714100736");
363 360
364 case UseCounter::HTMLKeygenElement: 361 case UseCounter::HTMLKeygenElement:
365 return willBeRemoved("The <keygen> element", 54, "5716060992962560"); 362 return willBeRemoved("The <keygen> element", 54, "5716060992962560");
366 363
367 case UseCounter::ResultsAttribute: 364 case UseCounter::ResultsAttribute:
368 return willBeRemoved("'results' attribute", 53, "5738199536107520"); 365 return willBeRemoved("'results' attribute", 53, "5738199536107520");
369 366
370 case UseCounter::TouchDragUserGestureUsedCrossOrigin: 367 case UseCounter::TouchDragUserGestureUsedCrossOrigin:
371 return willBeRemoved("Performing sensitive operations in iframes on touc h events which don't represent a tap gesture", 52, "https://www.chromestatus.com /features/5649871251963904"); 368 return willBeRemoved("Performing sensitive operations in iframes on touc h events which don't represent a tap gesture", 52, "https://www.chromestatus.com /features/5649871251963904");
372 369
373 // Features that aren't deprecated don't have a deprecation message. 370 // Features that aren't deprecated don't have a deprecation message.
374 default: 371 default:
375 return String(); 372 return String();
376 } 373 }
377 } 374 }
378 375
379 } // namespace blink 376 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698