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

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

Issue 806993002: Removed deprecated navigator.webkitGetGamepads. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Missed one layout test expectations update 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/gamepad/Gamepad.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 /* 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
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
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
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/gamepad/Gamepad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698