| OLD | NEW |
| 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 | 709 |
| 710 case PrefixedVideoExitFullscreen: | 710 case PrefixedVideoExitFullscreen: |
| 711 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; | 711 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; |
| 712 | 712 |
| 713 case PrefixedVideoEnterFullScreen: | 713 case PrefixedVideoEnterFullScreen: |
| 714 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; | 714 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; |
| 715 | 715 |
| 716 case PrefixedVideoExitFullScreen: | 716 case PrefixedVideoExitFullScreen: |
| 717 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; | 717 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; |
| 718 | 718 |
| 719 case PrefixedGamepad: | |
| 720 return replacedBy("navigator.webkitGetGamepads", "navigator.getGamepads"
); | |
| 721 | |
| 722 case PrefixedIndexedDB: | 719 case PrefixedIndexedDB: |
| 723 return replacedBy("webkitIndexedDB", "indexedDB"); | 720 return replacedBy("webkitIndexedDB", "indexedDB"); |
| 724 | 721 |
| 725 case PrefixedIDBCursorConstructor: | 722 case PrefixedIDBCursorConstructor: |
| 726 return replacedBy("webkitIDBCursor", "IDBCursor"); | 723 return replacedBy("webkitIDBCursor", "IDBCursor"); |
| 727 | 724 |
| 728 case PrefixedIDBDatabaseConstructor: | 725 case PrefixedIDBDatabaseConstructor: |
| 729 return replacedBy("webkitIDBDatabase", "IDBDatabase"); | 726 return replacedBy("webkitIDBDatabase", "IDBDatabase"); |
| 730 | 727 |
| 731 case PrefixedIDBFactoryConstructor: | 728 case PrefixedIDBFactoryConstructor: |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 847 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 851 { | 848 { |
| 852 // FIXME: We may want to handle stylesheets that have multiple owners | 849 // FIXME: We may want to handle stylesheets that have multiple owners |
| 853 // http://crbug.com/242125 | 850 // http://crbug.com/242125 |
| 854 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 851 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 855 return getFrom(sheetContents->singleOwnerDocument()); | 852 return getFrom(sheetContents->singleOwnerDocument()); |
| 856 return 0; | 853 return 0; |
| 857 } | 854 } |
| 858 | 855 |
| 859 } // namespace blink | 856 } // namespace blink |
| OLD | NEW |