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

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

Issue 799023002: Deprecate AudioListener attributes related to doppler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years 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/webaudio/AudioListener.idl » ('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 /* 2 /*
3 * Copyright (C) 2012 Google, Inc. All rights reserved. 3 * Copyright (C) 2012 Google, Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 805
806 case GetMatchedCSSRules: 806 case GetMatchedCSSRules:
807 return "'getMatchedCSSRules()' is deprecated. For more help, check https ://code.google.com/p/chromium/issues/detail?id=437569#c2"; 807 return "'getMatchedCSSRules()' is deprecated. For more help, check https ://code.google.com/p/chromium/issues/detail?id=437569#c2";
808 808
809 case DocumentSetCharset: 809 case DocumentSetCharset:
810 return "Setting 'Document.charset' is deprecated. Please use '<meta char set=\"UTF-8\">' instead."; 810 return "Setting 'Document.charset' is deprecated. Please use '<meta char set=\"UTF-8\">' instead.";
811 811
812 case PrefixedImageSmoothingEnabled: 812 case PrefixedImageSmoothingEnabled:
813 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled" , "CanvasRenderingContext2D.imageSmoothingEnabled"); 813 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled" , "CanvasRenderingContext2D.imageSmoothingEnabled");
814 814
815 case DeprecatedDopplerFactor:
816 return "dopplerFactor is deprecated and will be removed in M45 when all doppler effects are removed";
817 case DeprecatedSpeedOfSound:
818 return "speedOfSound is deprecated and will be removed in M45 when all d oppler effects are removed";
819 case DeprecatedSetVelocity:
820 return "setVelocity() is deprecated and will be removed in M45 when all doppler effects are removed";
821
815 // Features that aren't deprecated don't have a deprecation message. 822 // Features that aren't deprecated don't have a deprecation message.
816 default: 823 default:
817 return String(); 824 return String();
818 } 825 }
819 } 826 }
820 827
821 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 828 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
822 { 829 {
823 ASSERT(feature >= firstCSSProperty); 830 ASSERT(feature >= firstCSSProperty);
824 ASSERT(feature <= lastCSSProperty); 831 ASSERT(feature <= lastCSSProperty);
(...skipping 28 matching lines...) Expand all
853 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 860 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
854 { 861 {
855 // FIXME: We may want to handle stylesheets that have multiple owners 862 // FIXME: We may want to handle stylesheets that have multiple owners
856 // http://crbug.com/242125 863 // http://crbug.com/242125
857 if (sheetContents && sheetContents->hasSingleOwnerNode()) 864 if (sheetContents && sheetContents->hasSingleOwnerNode())
858 return getFrom(sheetContents->singleOwnerDocument()); 865 return getFrom(sheetContents->singleOwnerDocument());
859 return 0; 866 return 0;
860 } 867 }
861 868
862 } // namespace blink 869 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/webaudio/AudioListener.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698