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

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

Issue 1165013002: Deprecate the allowfullscreen exemption for <video> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 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/dom/Fullscreen.cpp ('k') | no next file » | 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 * Copyright (C) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 921
922 case CSSSelectorPseudoShadow: 922 case CSSSelectorPseudoShadow:
923 return "::shadow pseudo-element is deprecated. See https://www.chromesta tus.com/features/6750456638341120 for more details."; 923 return "::shadow pseudo-element is deprecated. See https://www.chromesta tus.com/features/6750456638341120 for more details.";
924 924
925 case PrefixedMouseEventMovementX: 925 case PrefixedMouseEventMovementX:
926 return replacedBy("webkitMovementX", "movementX"); 926 return replacedBy("webkitMovementX", "movementX");
927 927
928 case PrefixedMouseEventMovementY: 928 case PrefixedMouseEventMovementY:
929 return replacedBy("webkitMovementY", "movementY"); 929 return replacedBy("webkitMovementY", "movementY");
930 930
931 case VideoFullscreenAllowedExemption:
932 return "Entering fullscreen in an <iframe> with no allowfullscreen attri bute is deprecated and will stop working in M46, around October 2015. Please use the allowfullscreen attribute.";
933
931 // Features that aren't deprecated don't have a deprecation message. 934 // Features that aren't deprecated don't have a deprecation message.
932 default: 935 default:
933 return String(); 936 return String();
934 } 937 }
935 } 938 }
936 939
937 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 940 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
938 { 941 {
939 ASSERT(feature >= firstCSSProperty); 942 ASSERT(feature >= firstCSSProperty);
940 ASSERT(feature <= lastUnresolvedCSSProperty); 943 ASSERT(feature <= lastUnresolvedCSSProperty);
(...skipping 27 matching lines...) Expand all
968 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 971 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
969 { 972 {
970 // FIXME: We may want to handle stylesheets that have multiple owners 973 // FIXME: We may want to handle stylesheets that have multiple owners
971 // http://crbug.com/242125 974 // http://crbug.com/242125
972 if (sheetContents && sheetContents->hasSingleOwnerNode()) 975 if (sheetContents && sheetContents->hasSingleOwnerNode())
973 return getFrom(sheetContents->singleOwnerDocument()); 976 return getFrom(sheetContents->singleOwnerDocument());
974 return 0; 977 return 0;
975 } 978 }
976 979
977 } // namespace blink 980 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/dom/Fullscreen.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698