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

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

Issue 724573004: Remove MediaError.MEDIA_ERR_ENCRYPTED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/core/html/MediaError.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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 705
706 case PrefixedVideoExitFullscreen: 706 case PrefixedVideoExitFullscreen:
707 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; 707 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead.";
708 708
709 case PrefixedVideoEnterFullScreen: 709 case PrefixedVideoEnterFullScreen:
710 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste ad."; 710 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste ad.";
711 711
712 case PrefixedVideoExitFullScreen: 712 case PrefixedVideoExitFullScreen:
713 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; 713 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead.";
714 714
715 case MediaErrorEncrypted:
716 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used.";
717
718 case PrefixedGamepad: 715 case PrefixedGamepad:
719 return replacedBy("navigator.webkitGetGamepads", "navigator.getGamepads" ); 716 return replacedBy("navigator.webkitGetGamepads", "navigator.getGamepads" );
720 717
721 case PrefixedIndexedDB: 718 case PrefixedIndexedDB:
722 return replacedBy("webkitIndexedDB", "indexedDB"); 719 return replacedBy("webkitIndexedDB", "indexedDB");
723 720
724 case PrefixedIDBCursorConstructor: 721 case PrefixedIDBCursorConstructor:
725 return replacedBy("webkitIDBCursor", "IDBCursor"); 722 return replacedBy("webkitIDBCursor", "IDBCursor");
726 723
727 case PrefixedIDBDatabaseConstructor: 724 case PrefixedIDBDatabaseConstructor:
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 846 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
850 { 847 {
851 // FIXME: We may want to handle stylesheets that have multiple owners 848 // FIXME: We may want to handle stylesheets that have multiple owners
852 // http://crbug.com/242125 849 // http://crbug.com/242125
853 if (sheetContents && sheetContents->hasSingleOwnerNode()) 850 if (sheetContents && sheetContents->hasSingleOwnerNode())
854 return getFrom(sheetContents->singleOwnerDocument()); 851 return getFrom(sheetContents->singleOwnerDocument());
855 return 0; 852 return 0;
856 } 853 }
857 854
858 } // namespace blink 855 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/html/MediaError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698