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

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

Issue 295993006: Deprecate the overflowchanged event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update tests Created 6 years, 7 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | no next file » | 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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 case TreeWalkerExpandEntityReferences: 721 case TreeWalkerExpandEntityReferences:
722 return "'TreeWalker.expandEntityReferences' is deprecated and has been r emoved from DOM. It always returns false."; 722 return "'TreeWalker.expandEntityReferences' is deprecated and has been r emoved from DOM. It always returns false.";
723 723
724 case RangeDetach: 724 case RangeDetach:
725 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach)."; 725 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach).";
726 726
727 case DocumentImportNodeOptionalArgument: 727 case DocumentImportNodeOptionalArgument:
728 return "The behavior of importNode() with no boolean argument is about t o change from doing a deep clone to doing a shallow clone. " 728 return "The behavior of importNode() with no boolean argument is about t o change from doing a deep clone to doing a shallow clone. "
729 "Make sure to pass an explicit boolean argument to keep your current behavior."; 729 "Make sure to pass an explicit boolean argument to keep your current behavior.";
730 730
731 case OverflowChangedEvent:
732 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it.";
733
731 // Features that aren't deprecated don't have a deprecation message. 734 // Features that aren't deprecated don't have a deprecation message.
732 default: 735 default:
733 return String(); 736 return String();
734 } 737 }
735 } 738 }
736 739
737 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 740 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
738 { 741 {
739 ASSERT(feature >= firstCSSProperty); 742 ASSERT(feature >= firstCSSProperty);
740 ASSERT(feature <= lastCSSProperty); 743 ASSERT(feature <= lastCSSProperty);
(...skipping 28 matching lines...) Expand all
769 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 772 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
770 { 773 {
771 // FIXME: We may want to handle stylesheets that have multiple owners 774 // FIXME: We may want to handle stylesheets that have multiple owners
772 // http://crbug.com/242125 775 // http://crbug.com/242125
773 if (sheetContents && sheetContents->hasSingleOwnerNode()) 776 if (sheetContents && sheetContents->hasSingleOwnerNode())
774 return getFrom(sheetContents->singleOwnerDocument()); 777 return getFrom(sheetContents->singleOwnerDocument());
775 return 0; 778 return 0;
776 } 779 }
777 780
778 } // namespace WebCore 781 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698