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

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

Issue 698123002: Remove more API from Node and ContainerNode. (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/web/WebNode.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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 case PrefixedCancelRequestAnimationFrame: 214 case PrefixedCancelRequestAnimationFrame:
215 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead."; 215 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead.";
216 216
217 case DocumentCreateAttributeNS: 217 case DocumentCreateAttributeNS:
218 return "'Document.createAttributeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom)."; 218 return "'Document.createAttributeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).";
219 219
220 case AttributeOwnerElement: 220 case AttributeOwnerElement:
221 return "'Attr.ownerElement' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom)."; 221 return "'Attr.ownerElement' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).";
222 222
223 case AttrNodeValue:
224 return replacedBy("Attr.nodeValue", "value");
225
226 case AttrTextContent: 223 case AttrTextContent:
227 return replacedBy("Attr.textContent", "value"); 224 return replacedBy("Attr.textContent", "value");
228 225
229 case RangeDetach: 226 case RangeDetach:
230 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach)."; 227 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach).";
231 228
232 case HTMLHeadElementProfile: 229 case HTMLHeadElementProfile:
233 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute has no effect."; 230 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute has no effect.";
234 231
235 case ElementSetPrefix: 232 case ElementSetPrefix:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 282 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
286 { 283 {
287 // FIXME: We may want to handle stylesheets that have multiple owners 284 // FIXME: We may want to handle stylesheets that have multiple owners
288 // http://crbug.com/242125 285 // http://crbug.com/242125
289 if (sheetContents && sheetContents->hasSingleOwnerNode()) 286 if (sheetContents && sheetContents->hasSingleOwnerNode())
290 return getFrom(sheetContents->singleOwnerDocument()); 287 return getFrom(sheetContents->singleOwnerDocument());
291 return 0; 288 return 0;
292 } 289 }
293 290
294 } // namespace blink 291 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/frame/UseCounter.h ('k') | sky/engine/public/web/WebNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698