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

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

Issue 2619823003: Remove prefixed Resource Timing buffer management API (Closed)
Patch Set: Created 3 years, 11 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 case UseCounter::CSSDeepCombinator: 350 case UseCounter::CSSDeepCombinator:
351 return "/deep/ combinator is deprecated. See " 351 return "/deep/ combinator is deprecated. See "
352 "https://www.chromestatus.com/features/6750456638341120 for more " 352 "https://www.chromestatus.com/features/6750456638341120 for more "
353 "details."; 353 "details.";
354 354
355 case UseCounter::CSSSelectorPseudoShadow: 355 case UseCounter::CSSSelectorPseudoShadow:
356 return "::shadow pseudo-element is deprecated. See " 356 return "::shadow pseudo-element is deprecated. See "
357 "https://www.chromestatus.com/features/6750456638341120 for more " 357 "https://www.chromestatus.com/features/6750456638341120 for more "
358 "details."; 358 "details.";
359 359
360 case UseCounter::PrefixedPerformanceClearResourceTimings:
361 return replacedBy("'Performance.webkitClearResourceTimings'",
362 "'Performance.clearResourceTimings'");
363
364 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize:
365 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'",
366 "'Performance.setResourceTimingBufferSize'");
367
368 case UseCounter::PrefixedPerformanceResourceTimingBufferFull:
369 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'",
370 "'Performance.onresourcetimingbufferfull'");
371
372 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 360 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
373 return String::format( 361 return String::format(
374 "EME requires that contentType strings accepted by " 362 "EME requires that contentType strings accepted by "
375 "requestMediaKeySystemAccess() include codecs. Non-standard support " 363 "requestMediaKeySystemAccess() include codecs. Non-standard support "
376 "for contentType strings without codecs will be removed in %s. " 364 "for contentType strings without codecs will be removed in %s. "
377 "Please specify the desired codec(s) as part of the contentType.", 365 "Please specify the desired codec(s) as part of the contentType.",
378 milestoneString(M58)); 366 milestoneString(M58));
379 367
380 case UseCounter::EncryptedMediaCapabilityNotProvided: 368 case UseCounter::EncryptedMediaCapabilityNotProvided:
381 return String::format( 369 return String::format(
(...skipping 24 matching lines...) Expand all
406 "redirected response. This will result in an error in %s.", 394 "redirected response. This will result in an error in %s.",
407 milestoneString(M59)); 395 milestoneString(M59));
408 396
409 // Features that aren't deprecated don't have a deprecation message. 397 // Features that aren't deprecated don't have a deprecation message.
410 default: 398 default:
411 return String(); 399 return String();
412 } 400 }
413 } 401 }
414 402
415 } // namespace blink 403 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTypeNames.in ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698