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

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

Issue 213193010: Restore the HTMLVideoElement-specific prefixed fullscreen API behind a flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revive full-screen-iframe-legacy.html Created 6 years, 9 months 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/HTMLMediaElement.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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 648
649 case FileError: 649 case FileError:
650 return "FileError is deprecated. Please use the 'name' or 'message' attr ibutes of DOMError rather than 'code'."; 650 return "FileError is deprecated. Please use the 'name' or 'message' attr ibutes of DOMError rather than 'code'.";
651 651
652 case ShowModalDialog: 652 case ShowModalDialog:
653 return "Chromium is considering deprecating showModalDialog. Please use window.open and postMessage instead."; 653 return "Chromium is considering deprecating showModalDialog. Please use window.open and postMessage instead.";
654 654
655 case CSSStyleSheetInsertRuleOptionalArg: 655 case CSSStyleSheetInsertRuleOptionalArg:
656 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat ed. Please pass the index argument as well: insertRule(x, 0)."; 656 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat ed. Please pass the index argument as well: insertRule(x, 0).";
657 657
658 case PrefixedVideoSupportsFullscreen:
659 return "'HTMLVideoElement.webkitSupportsFullscreen' is deprecated. Its v alue is true if the video is loaded.";
660
661 case PrefixedVideoDisplayingFullscreen:
662 return "'HTMLVideoElement.webkitDisplayingFullscreen' is deprecated. Ple ase use the 'fullscreenchange' and 'webkitfullscreenchange' events instead.";
663
664 case PrefixedVideoEnterFullscreen:
665 return "'HTMLVideoElement.webkitEnterFullscreen()' is deprecated. Please use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste ad.";
666
667 case PrefixedVideoExitFullscreen:
668 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead.";
669
670 case PrefixedVideoEnterFullScreen:
671 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste ad.";
672
673 case PrefixedVideoExitFullScreen:
674 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead.";
675
658 case PrefixedMediaSourceOpen: 676 case PrefixedMediaSourceOpen:
659 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst ead."; 677 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst ead.";
660 678
661 case DOMImplementationCreateCSSStyleSheet: 679 case DOMImplementationCreateCSSStyleSheet:
662 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; 680 return "'DOMImplementation.createCSSStyleSheet()' is deprecated.";
663 681
664 case MediaErrorEncrypted: 682 case MediaErrorEncrypted:
665 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used."; 683 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used.";
666 684
667 case HTMLSourceElementMedia: 685 case HTMLSourceElementMedia:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 746 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
729 { 747 {
730 // FIXME: We may want to handle stylesheets that have multiple owners 748 // FIXME: We may want to handle stylesheets that have multiple owners
731 // http://crbug.com/242125 749 // http://crbug.com/242125
732 if (sheetContents && sheetContents->hasSingleOwnerNode()) 750 if (sheetContents && sheetContents->hasSingleOwnerNode())
733 return getFrom(sheetContents->singleOwnerDocument()); 751 return getFrom(sheetContents->singleOwnerDocument());
734 return 0; 752 return 0;
735 } 753 }
736 754
737 } // namespace WebCore 755 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698