Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 138 // Performance | 138 // Performance |
| 139 case PrefixedPerformanceTimeline: | 139 case PrefixedPerformanceTimeline: |
| 140 return "'window.performance.webkitGet*' methods have been deprecated. Pl ease use the unprefixed 'performance.get*' methods instead."; | 140 return "'window.performance.webkitGet*' methods have been deprecated. Pl ease use the unprefixed 'performance.get*' methods instead."; |
| 141 case PrefixedUserTiming: | 141 case PrefixedUserTiming: |
| 142 return "'window.performance.webkit*' methods have been deprecated. Pleas e use the unprefixed 'window.performance.*' methods instead."; | 142 return "'window.performance.webkit*' methods have been deprecated. Pleas e use the unprefixed 'window.performance.*' methods instead."; |
| 143 | 143 |
| 144 // Web Audio | 144 // Web Audio |
| 145 case WebAudioLooping: | 145 case WebAudioLooping: |
| 146 return "AudioBufferSourceNode 'looping' attribute is deprecated. Use 'l oop' instead."; | 146 return "AudioBufferSourceNode 'looping' attribute is deprecated. Use 'l oop' instead."; |
| 147 | 147 |
| 148 case DocumentClear: | |
| 149 return "document.clear() is deprecated."; | |
|
abarth-chromium
2013/05/07 20:24:46
Is there an alternative folks should use instead?
esprehn
2013/05/07 20:25:53
Nope, this method is a noop.
| |
| 150 | |
| 148 // Features that aren't deprecated don't have a deprecation message. | 151 // Features that aren't deprecated don't have a deprecation message. |
| 149 default: | 152 default: |
| 150 return String(); | 153 return String(); |
| 151 } | 154 } |
| 152 } | 155 } |
| 153 | 156 |
| 154 } // namespace WebCore | 157 } // namespace WebCore |
| OLD | NEW |