OLD | NEW |
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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 | 738 |
739 case OverflowChangedEvent: | 739 case OverflowChangedEvent: |
740 return "The 'overflowchanged' event is deprecated and may be removed. Pl
ease do not use it."; | 740 return "The 'overflowchanged' event is deprecated and may be removed. Pl
ease do not use it."; |
741 | 741 |
742 case HTMLHeadElementProfile: | 742 case HTMLHeadElementProfile: |
743 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute
has no effect."; | 743 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute
has no effect."; |
744 | 744 |
745 case ElementSetPrefix: | 745 case ElementSetPrefix: |
746 return "Setting 'Element.prefix' is deprecated, as it is read-only per D
OM (http://dom.spec.whatwg.org/#element)."; | 746 return "Setting 'Element.prefix' is deprecated, as it is read-only per D
OM (http://dom.spec.whatwg.org/#element)."; |
747 | 747 |
| 748 case SyncXHRWithCredentials: |
| 749 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request
s is deprecated."; |
| 750 |
748 // Features that aren't deprecated don't have a deprecation message. | 751 // Features that aren't deprecated don't have a deprecation message. |
749 default: | 752 default: |
750 return String(); | 753 return String(); |
751 } | 754 } |
752 } | 755 } |
753 | 756 |
754 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 757 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
755 { | 758 { |
756 ASSERT(feature >= firstCSSProperty); | 759 ASSERT(feature >= firstCSSProperty); |
757 ASSERT(feature <= lastCSSProperty); | 760 ASSERT(feature <= lastCSSProperty); |
(...skipping 28 matching lines...) Expand all Loading... |
786 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 789 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
787 { | 790 { |
788 // FIXME: We may want to handle stylesheets that have multiple owners | 791 // FIXME: We may want to handle stylesheets that have multiple owners |
789 // http://crbug.com/242125 | 792 // http://crbug.com/242125 |
790 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 793 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
791 return getFrom(sheetContents->singleOwnerDocument()); | 794 return getFrom(sheetContents->singleOwnerDocument()); |
792 return 0; | 795 return 0; |
793 } | 796 } |
794 | 797 |
795 } // namespace WebCore | 798 } // namespace WebCore |
OLD | NEW |