| OLD | NEW |
| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 "'navigator.webkitPersistentStorage'"); | 199 "'navigator.webkitPersistentStorage'"); |
| 200 | 200 |
| 201 case UseCounter::ConsoleMarkTimeline: | 201 case UseCounter::ConsoleMarkTimeline: |
| 202 return replacedBy("'console.markTimeline'", "'console.timeStamp'"); | 202 return replacedBy("'console.markTimeline'", "'console.timeStamp'"); |
| 203 | 203 |
| 204 case UseCounter::CSSStyleSheetInsertRuleOptionalArg: | 204 case UseCounter::CSSStyleSheetInsertRuleOptionalArg: |
| 205 return "Calling CSSStyleSheet.insertRule() with one argument is " | 205 return "Calling CSSStyleSheet.insertRule() with one argument is " |
| 206 "deprecated. Please pass the index argument as well: " | 206 "deprecated. Please pass the index argument as well: " |
| 207 "insertRule(x, 0)."; | 207 "insertRule(x, 0)."; |
| 208 | 208 |
| 209 case UseCounter::MapNameMatchingASCIICaseless: | |
| 210 case UseCounter::MapNameMatchingUnicodeLower: | |
| 211 return willBeRemoved("Case-insensitive matching for usemap attribute", | |
| 212 M58, "5760965337415680"); | |
| 213 | |
| 214 case UseCounter::PrefixedVideoSupportsFullscreen: | 209 case UseCounter::PrefixedVideoSupportsFullscreen: |
| 215 return replacedBy("'HTMLVideoElement.webkitSupportsFullscreen'", | 210 return replacedBy("'HTMLVideoElement.webkitSupportsFullscreen'", |
| 216 "'Document.fullscreenEnabled'"); | 211 "'Document.fullscreenEnabled'"); |
| 217 | 212 |
| 218 case UseCounter::PrefixedVideoDisplayingFullscreen: | 213 case UseCounter::PrefixedVideoDisplayingFullscreen: |
| 219 return replacedBy("'HTMLVideoElement.webkitDisplayingFullscreen'", | 214 return replacedBy("'HTMLVideoElement.webkitDisplayingFullscreen'", |
| 220 "'Document.fullscreenElement'"); | 215 "'Document.fullscreenElement'"); |
| 221 | 216 |
| 222 case UseCounter::PrefixedVideoEnterFullscreen: | 217 case UseCounter::PrefixedVideoEnterFullscreen: |
| 223 return replacedBy("'HTMLVideoElement.webkitEnterFullscreen()'", | 218 return replacedBy("'HTMLVideoElement.webkitEnterFullscreen()'", |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 "-internal-media-controls-text-track-list* selectors", M59, | 407 "-internal-media-controls-text-track-list* selectors", M59, |
| 413 "5661431349379072"); | 408 "5661431349379072"); |
| 414 | 409 |
| 415 // Features that aren't deprecated don't have a deprecation message. | 410 // Features that aren't deprecated don't have a deprecation message. |
| 416 default: | 411 default: |
| 417 return String(); | 412 return String(); |
| 418 } | 413 } |
| 419 } | 414 } |
| 420 | 415 |
| 421 } // namespace blink | 416 } // namespace blink |
| OLD | NEW |