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

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

Issue 2709613009: [WebCrypto] Use Deprecation instead of UseCounter (Closed)
Patch Set: rebased Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp » ('j') | 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 416
417 case UseCounter::CSSZoomDocument: 417 case UseCounter::CSSZoomDocument:
418 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); 418 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560");
419 419
420 case UseCounter::SelectionAddRangeIntersect: 420 case UseCounter::SelectionAddRangeIntersect:
421 return "The behavior that Selection.addRange() merges existing Range and " 421 return "The behavior that Selection.addRange() merges existing Range and "
422 "the specified Range was removed. See " 422 "the specified Range was removed. See "
423 "https://www.chromestatus.com/features/6680566019653632 for more " 423 "https://www.chromestatus.com/features/6680566019653632 for more "
424 "details."; 424 "details.";
425 425
426 case UseCounter::SubtleCryptoOnlyStrictSecureContextCheckFailed:
427 return String::format(
428 "Web Crypto API usage inside secure frames with non-secure ancestors "
429 "is deprecated. The API will no longer be exposed in these contexts "
430 "as of %s. See https://www.chromestatus.com/features/5030265697075200"
431 " for more details.", milestoneString(M59));
432
426 // Features that aren't deprecated don't have a deprecation message. 433 // Features that aren't deprecated don't have a deprecation message.
427 default: 434 default:
428 return String(); 435 return String();
429 } 436 }
430 } 437 }
431 438
432 } // namespace blink 439 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698