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

Side by Side Diff: sky/engine/core/frame/UseCounter.cpp

Issue 701663002: Remove HTMLVideoElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
« no previous file with comments | « sky/engine/core/frame/UseCounter.h ('k') | sky/engine/core/html/HTMLImageLoader.cpp » ('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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 case ConsoleMarkTimeline: 151 case ConsoleMarkTimeline:
152 return "console.markTimeline is deprecated. Please use the console.timeS tamp instead."; 152 return "console.markTimeline is deprecated. Please use the console.timeS tamp instead.";
153 153
154 case FileError: 154 case FileError:
155 return "FileError is deprecated. Please use the 'name' or 'message' attr ibutes of DOMError rather than 'code'."; 155 return "FileError is deprecated. Please use the 'name' or 'message' attr ibutes of DOMError rather than 'code'.";
156 156
157 case CSSStyleSheetInsertRuleOptionalArg: 157 case CSSStyleSheetInsertRuleOptionalArg:
158 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat ed. Please pass the index argument as well: insertRule(x, 0)."; 158 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat ed. Please pass the index argument as well: insertRule(x, 0).";
159 159
160 case PrefixedVideoSupportsFullscreen:
161 return "'HTMLVideoElement.webkitSupportsFullscreen' is deprecated. Its v alue is true if the video is loaded.";
162
163 case PrefixedVideoDisplayingFullscreen:
164 return "'HTMLVideoElement.webkitDisplayingFullscreen' is deprecated. Ple ase use the 'fullscreenchange' and 'webkitfullscreenchange' events instead.";
165
166 case PrefixedVideoEnterFullscreen:
167 return "'HTMLVideoElement.webkitEnterFullscreen()' is deprecated. Please use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste ad.";
168
169 case PrefixedVideoExitFullscreen:
170 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead.";
171
172 case PrefixedVideoEnterFullScreen:
173 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste ad.";
174
175 case PrefixedVideoExitFullScreen:
176 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead.";
177
178 case MediaErrorEncrypted: 160 case MediaErrorEncrypted:
179 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used."; 161 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used.";
180 162
181 case PrefixedIndexedDB: 163 case PrefixedIndexedDB:
182 return replacedBy("webkitIndexedDB", "indexedDB"); 164 return replacedBy("webkitIndexedDB", "indexedDB");
183 165
184 case PrefixedIDBCursorConstructor: 166 case PrefixedIDBCursorConstructor:
185 return replacedBy("webkitIDBCursor", "IDBCursor"); 167 return replacedBy("webkitIDBCursor", "IDBCursor");
186 168
187 case PrefixedIDBDatabaseConstructor: 169 case PrefixedIDBDatabaseConstructor:
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 267 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
286 { 268 {
287 // FIXME: We may want to handle stylesheets that have multiple owners 269 // FIXME: We may want to handle stylesheets that have multiple owners
288 // http://crbug.com/242125 270 // http://crbug.com/242125
289 if (sheetContents && sheetContents->hasSingleOwnerNode()) 271 if (sheetContents && sheetContents->hasSingleOwnerNode())
290 return getFrom(sheetContents->singleOwnerDocument()); 272 return getFrom(sheetContents->singleOwnerDocument());
291 return 0; 273 return 0;
292 } 274 }
293 275
294 } // namespace blink 276 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/frame/UseCounter.h ('k') | sky/engine/core/html/HTMLImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698