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

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

Issue 163103002: Mark the x-webkit-speech input element attribute as deprecated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Trying to fix CRLF issue Created 6 years, 10 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 705
706 case PrefixedGetImageDataHD: 706 case PrefixedGetImageDataHD:
707 return "'CanvasRenderingContext2D.webkitGetImageDataHD' is deprecated. P lease use getImageData instead."; 707 return "'CanvasRenderingContext2D.webkitGetImageDataHD' is deprecated. P lease use getImageData instead.";
708 708
709 case PrefixedPutImageDataHD: 709 case PrefixedPutImageDataHD:
710 return "'CanvasRenderingContext2D.webkitPutImageDataHD' is deprecated. P lease use putImageData instead."; 710 return "'CanvasRenderingContext2D.webkitPutImageDataHD' is deprecated. P lease use putImageData instead.";
711 711
712 case ShadowRootApplyAuthorStyles: 712 case ShadowRootApplyAuthorStyles:
713 return "'ShadowRoot.applyAuthorStyles' is deprecated."; 713 return "'ShadowRoot.applyAuthorStyles' is deprecated.";
714 714
715 case PrefixedSpeechAttribute:
716 return "The 'x-webkit-speech' input field attribute is deprecated. Pleas e use the JavaScript API instead.";
717
715 // Features that aren't deprecated don't have a deprecation message. 718 // Features that aren't deprecated don't have a deprecation message.
716 default: 719 default:
717 return String(); 720 return String();
718 } 721 }
719 } 722 }
720 723
721 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 724 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
722 { 725 {
723 ASSERT(feature >= firstCSSProperty); 726 ASSERT(feature >= firstCSSProperty);
724 ASSERT(feature <= lastCSSProperty); 727 ASSERT(feature <= lastCSSProperty);
(...skipping 28 matching lines...) Expand all
753 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 756 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
754 { 757 {
755 // FIXME: We may want to handle stylesheets that have multiple owners 758 // FIXME: We may want to handle stylesheets that have multiple owners
756 // http://crbug.com/242125 759 // http://crbug.com/242125
757 if (sheetContents && sheetContents->hasSingleOwnerNode()) 760 if (sheetContents && sheetContents->hasSingleOwnerNode())
758 return getFrom(sheetContents->singleOwnerDocument()); 761 return getFrom(sheetContents->singleOwnerDocument());
759 return 0; 762 return 0;
760 } 763 }
761 764
762 } // namespace WebCore 765 } // namespace WebCore
OLDNEW
« no previous file with comments | « LayoutTests/platform/mac/fast/speech/speech-bidi-rendering-expected.txt ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698