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

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

Issue 236813004: Deprecate HTMLHtmlElement.manifest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test expectations Created 6 years, 8 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
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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 703
704 case PrefixedRequestAnimationFrame: 704 case PrefixedRequestAnimationFrame:
705 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead."; 705 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.";
706 706
707 case PrefixedCancelAnimationFrame: 707 case PrefixedCancelAnimationFrame:
708 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead."; 708 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.";
709 709
710 case PrefixedCancelRequestAnimationFrame: 710 case PrefixedCancelRequestAnimationFrame:
711 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead."; 711 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead.";
712 712
713 case HTMLHtmlElementManifest:
714 return "'HTMLHtmlElement.manifest' is deprecated. The manifest attribute only has an effect during the early stages of document load.";
715
713 // Features that aren't deprecated don't have a deprecation message. 716 // Features that aren't deprecated don't have a deprecation message.
714 default: 717 default:
715 return String(); 718 return String();
716 } 719 }
717 } 720 }
718 721
719 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 722 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
720 { 723 {
721 ASSERT(feature >= firstCSSProperty); 724 ASSERT(feature >= firstCSSProperty);
722 ASSERT(feature <= lastCSSProperty); 725 ASSERT(feature <= lastCSSProperty);
(...skipping 28 matching lines...) Expand all
751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 754 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
752 { 755 {
753 // FIXME: We may want to handle stylesheets that have multiple owners 756 // FIXME: We may want to handle stylesheets that have multiple owners
754 // http://crbug.com/242125 757 // http://crbug.com/242125
755 if (sheetContents && sheetContents->hasSingleOwnerNode()) 758 if (sheetContents && sheetContents->hasSingleOwnerNode())
756 return getFrom(sheetContents->singleOwnerDocument()); 759 return getFrom(sheetContents->singleOwnerDocument());
757 return 0; 760 return 0;
758 } 761 }
759 762
760 } // namespace WebCore 763 } // namespace WebCore
OLDNEW
« no previous file with comments | « LayoutTests/inspector/console/console-command-copy-expected.txt ('k') | Source/core/html/HTMLHtmlElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698