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

Side by Side Diff: Source/core/frame/UseCounter.cpp

Issue 1148763005: Remove support for PushSubscription.subscriptionId. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/push_messaging/PushSubscription.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 883
884 case GetUserMediaInsecureOrigin: 884 case GetUserMediaInsecureOrigin:
885 return "getUserMedia() is deprecated on insecure origins, and support wi ll be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."; 885 return "getUserMedia() is deprecated on insecure origins, and support wi ll be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.";
886 886
887 case FullscreenInsecureOrigin: 887 case FullscreenInsecureOrigin:
888 return "requestFullscreen() is deprecated on insecure origins, and suppo rt will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details." ; 888 return "requestFullscreen() is deprecated on insecure origins, and suppo rt will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details." ;
889 889
890 case EncryptedMediaInsecureOrigin: 890 case EncryptedMediaInsecureOrigin:
891 return "requestMediaKeySystemAccess() is deprecated on insecure origins in the specification. Support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.g l/rStTGz for more details."; 891 return "requestMediaKeySystemAccess() is deprecated on insecure origins in the specification. Support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.g l/rStTGz for more details.";
892 892
893 case PushSubscriptionId:
894 return "'PushSubscription.subscriptionId' is deprecated and is now inclu ded in 'PushSubscription.endpoint'. It will be removed in Chrome 45, around Augu st 2015.";
895
896 case DocumentGetCSSCanvasContext: 893 case DocumentGetCSSCanvasContext:
897 return "The -webkit-canvas CSS feature is deprecated. Please use a posit ioned <canvas> element instead."; 894 return "The -webkit-canvas CSS feature is deprecated. Please use a posit ioned <canvas> element instead.";
898 895
899 case ElementCreateShadowRootMultiple: 896 case ElementCreateShadowRootMultiple:
900 return "Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/466 8884095336448 for more details."; 897 return "Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/466 8884095336448 for more details.";
901 898
902 case ElementCreateShadowRootMultipleWithUserAgentShadowRoot: 899 case ElementCreateShadowRootMultipleWithUserAgentShadowRoot:
903 return "Calling Element.createShadowRoot() for an element which already hosts a user-agent shadow root is deprecated. See https://www.chromestatus.com/f eatures/4668884095336448 for more details."; 900 return "Calling Element.createShadowRoot() for an element which already hosts a user-agent shadow root is deprecated. See https://www.chromestatus.com/f eatures/4668884095336448 for more details.";
904 901
905 // Features that aren't deprecated don't have a deprecation message. 902 // Features that aren't deprecated don't have a deprecation message.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 939 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
943 { 940 {
944 // FIXME: We may want to handle stylesheets that have multiple owners 941 // FIXME: We may want to handle stylesheets that have multiple owners
945 // http://crbug.com/242125 942 // http://crbug.com/242125
946 if (sheetContents && sheetContents->hasSingleOwnerNode()) 943 if (sheetContents && sheetContents->hasSingleOwnerNode())
947 return getFrom(sheetContents->singleOwnerDocument()); 944 return getFrom(sheetContents->singleOwnerDocument());
948 return 0; 945 return 0;
949 } 946 }
950 947
951 } // namespace blink 948 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/push_messaging/PushSubscription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698