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

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

Issue 2333033002: Deprecation warnings can cite M57/M58/M59 (Closed)
Patch Set: expectations 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
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/doppler-deprecated-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/FrameHost.h" 10 #include "core/frame/FrameHost.h"
(...skipping 13 matching lines...) Expand all
24 return "M50, around April 2016"; 24 return "M50, around April 2016";
25 case 51: 25 case 51:
26 return "M51, around May 2016"; 26 return "M51, around May 2016";
27 case 52: 27 case 52:
28 return "M52, around July 2016"; 28 return "M52, around July 2016";
29 case 53: 29 case 53:
30 return "M53, around September 2016"; 30 return "M53, around September 2016";
31 case 54: 31 case 54:
32 return "M54, around October 2016"; 32 return "M54, around October 2016";
33 case 55: 33 case 55:
34 return "M55, around November 2016"; 34 return "M55, around December 2016";
35 case 56: 35 case 56:
36 return "M56, around January 2017"; 36 return "M56, around January 2017";
37 case 57:
38 return "M57, around March 2017";
39 case 58:
40 return "M58, around April 2017";
41 case 59:
42 return "M59, around June 2017";
37 } 43 }
38 44
39 ASSERT_NOT_REACHED(); 45 ASSERT_NOT_REACHED();
40 return nullptr; 46 return nullptr;
41 } 47 }
42 48
43 String replacedBy(const char* feature, const char* replacement) 49 String replacedBy(const char* feature, const char* replacement)
44 { 50 {
45 return String::format("%s is deprecated. Please use %s instead.", feature, r eplacement); 51 return String::format("%s is deprecated. Please use %s instead.", feature, r eplacement);
46 } 52 }
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 case UseCounter::ScriptInvalidTypeOrLanguage: 385 case UseCounter::ScriptInvalidTypeOrLanguage:
380 return String::format("Fetching scripts with an invalid type/language at tributes is deprecated and will be removed in %s. See https://www.chromestatus.c om/feature/5760718284521472 for more details.", milestoneString(56)); 386 return String::format("Fetching scripts with an invalid type/language at tributes is deprecated and will be removed in %s. See https://www.chromestatus.c om/feature/5760718284521472 for more details.", milestoneString(56));
381 387
382 // Features that aren't deprecated don't have a deprecation message. 388 // Features that aren't deprecated don't have a deprecation message.
383 default: 389 default:
384 return String(); 390 return String();
385 } 391 }
386 } 392 }
387 393
388 } // namespace blink 394 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/doppler-deprecated-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698