| 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 OpenWebDatabaseSyncInWorker: | 739 case OpenWebDatabaseSyncInWorker: |
| 740 return "'openDatabaseSync' is deprecated. Please switch to Indexed Datab
ase API."; | 740 return "'openDatabaseSync' is deprecated. Please switch to Indexed Datab
ase API."; |
| 741 | 741 |
| 742 case EventSourceURL: | 742 case EventSourceURL: |
| 743 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in
stead."; | 743 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in
stead."; |
| 744 | 744 |
| 745 case WebSocketURL: | 745 case WebSocketURL: |
| 746 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea
d."; | 746 return "'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instea
d."; |
| 747 | 747 |
| 748 case HTMLTableElementVspace: |
| 749 return "The 'vspace' attribute on table is deprecated. Please use CSS in
stead."; |
| 750 |
| 751 case HTMLTableElementHspace: |
| 752 return "The 'hspace' attribute on table is deprecated. Please use CSS in
stead."; |
| 753 |
| 748 // Features that aren't deprecated don't have a deprecation message. | 754 // Features that aren't deprecated don't have a deprecation message. |
| 749 default: | 755 default: |
| 750 return String(); | 756 return String(); |
| 751 } | 757 } |
| 752 } | 758 } |
| 753 | 759 |
| 754 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 760 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 755 { | 761 { |
| 756 ASSERT(feature >= firstCSSProperty); | 762 ASSERT(feature >= firstCSSProperty); |
| 757 ASSERT(feature <= lastCSSProperty); | 763 ASSERT(feature <= lastCSSProperty); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 786 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 792 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 787 { | 793 { |
| 788 // FIXME: We may want to handle stylesheets that have multiple owners | 794 // FIXME: We may want to handle stylesheets that have multiple owners |
| 789 // http://crbug.com/242125 | 795 // http://crbug.com/242125 |
| 790 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 796 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 791 return getFrom(sheetContents->singleOwnerDocument()); | 797 return getFrom(sheetContents->singleOwnerDocument()); |
| 792 return 0; | 798 return 0; |
| 793 } | 799 } |
| 794 | 800 |
| 795 } // namespace blink | 801 } // namespace blink |
| OLD | NEW |