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

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

Issue 693603005: Remove lots of dead web/ classes. (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/public/platform/Platform.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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 case RangeDetach: 205 case RangeDetach:
206 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach)."; 206 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach).";
207 207
208 case HTMLHeadElementProfile: 208 case HTMLHeadElementProfile:
209 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute has no effect."; 209 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute has no effect.";
210 210
211 case ElementSetPrefix: 211 case ElementSetPrefix:
212 return "Setting 'Element.prefix' is deprecated, as it is read-only per D OM (http://dom.spec.whatwg.org/#element)."; 212 return "Setting 'Element.prefix' is deprecated, as it is read-only per D OM (http://dom.spec.whatwg.org/#element).";
213 213
214 case OpenWebDatabaseInWorker:
215 return "'openDatabase' in Workers is deprecated. Please switch to Indexe d Database API.";
216
217 case OpenWebDatabaseSyncInWorker:
218 return "'openDatabaseSync' is deprecated. Please switch to Indexed Datab ase API.";
219
220 case WebSocketURL: 214 case WebSocketURL:
221 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea d."; 215 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea d.";
222 216
223 case PictureSourceSrc: 217 case PictureSourceSrc:
224 return "<source src> with a <picture> parent is invalid and therefore ig nored. Please use <source srcset> instead."; 218 return "<source src> with a <picture> parent is invalid and therefore ig nored. Please use <source srcset> instead.";
225 219
226 // Features that aren't deprecated don't have a deprecation message. 220 // Features that aren't deprecated don't have a deprecation message.
227 default: 221 default:
228 return String(); 222 return String();
229 } 223 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 255 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
262 { 256 {
263 // FIXME: We may want to handle stylesheets that have multiple owners 257 // FIXME: We may want to handle stylesheets that have multiple owners
264 // http://crbug.com/242125 258 // http://crbug.com/242125
265 if (sheetContents && sheetContents->hasSingleOwnerNode()) 259 if (sheetContents && sheetContents->hasSingleOwnerNode())
266 return getFrom(sheetContents->singleOwnerDocument()); 260 return getFrom(sheetContents->singleOwnerDocument());
267 return 0; 261 return 0;
268 } 262 }
269 263
270 } // namespace blink 264 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/frame/UseCounter.h ('k') | sky/engine/public/platform/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698