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

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

Issue 2881023002: Update the deprecation message of /deep/ and remove that of ::shadow (Closed)
Patch Set: Created 3 years, 7 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/shadow-dom/v0/closed-mode-deep-combinator-and-shadow-pseudo-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/LocalFrame.h" 10 #include "core/frame/LocalFrame.h"
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 "details.", 342 "details.",
343 milestoneString(M61)); 343 milestoneString(M61));
344 344
345 case UseCounter::kElementCreateShadowRootMultiple: 345 case UseCounter::kElementCreateShadowRootMultiple:
346 return "Calling Element.createShadowRoot() for an element which already " 346 return "Calling Element.createShadowRoot() for an element which already "
347 "hosts a shadow root is deprecated. See " 347 "hosts a shadow root is deprecated. See "
348 "https://www.chromestatus.com/features/4668884095336448 for more " 348 "https://www.chromestatus.com/features/4668884095336448 for more "
349 "details."; 349 "details.";
350 350
351 case UseCounter::kCSSDeepCombinator: 351 case UseCounter::kCSSDeepCombinator:
352 return String::Format( 352 return "/deep/ combinator is no longer supported in CSS dynamic profile. "
353 "/deep/ combinator is deprecated and will be a no-op in %s. See " 353 "It is now effectively no-op, acting as if it were a descendant "
354 "https://www.chromestatus.com/features/4964279606312960 for more " 354 "combinator. You should consider to remove it. See "
355 "details.", 355 "https://www.chromestatus.com/features/4964279606312960 for more "
356 milestoneString(M60)); 356 "details.";
357
358 case UseCounter::kCSSSelectorPseudoShadow:
359 return willBeRemoved("::shadow pseudo-element", M60, "6750456638341120");
360 357
361 case UseCounter::kVREyeParametersOffset: 358 case UseCounter::kVREyeParametersOffset:
362 return replacedBy("VREyeParameters.offset", 359 return replacedBy("VREyeParameters.offset",
363 "view matrices provided by VRFrameData"); 360 "view matrices provided by VRFrameData");
364 361
365 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: 362 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton:
366 return willBeRemoved( 363 return willBeRemoved(
367 "-internal-media-controls-overlay-cast-button selector", M61, 364 "-internal-media-controls-overlay-cast-button selector", M61,
368 "5714245488476160"); 365 "5714245488476160");
369 366
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, 411 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62,
415 "5638783282184192"); 412 "5638783282184192");
416 413
417 // Features that aren't deprecated don't have a deprecation message. 414 // Features that aren't deprecated don't have a deprecation message.
418 default: 415 default:
419 return String(); 416 return String();
420 } 417 }
421 } 418 }
422 419
423 } // namespace blink 420 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/shadow-dom/v0/closed-mode-deep-combinator-and-shadow-pseudo-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698