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

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

Issue 196173020: Remove deprecated getPresentationAttribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 9 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/svg/SVGElement.h » ('j') | 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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 648
649 case FileError: 649 case FileError:
650 return "FileError is deprecated. Please use the 'name' or 'message' attr ibutes of DOMError rather than 'code'."; 650 return "FileError is deprecated. Please use the 'name' or 'message' attr ibutes of DOMError rather than 'code'.";
651 651
652 case ShowModalDialog: 652 case ShowModalDialog:
653 return "Chromium is considering deprecating showModalDialog. Please use window.open and postMessage instead."; 653 return "Chromium is considering deprecating showModalDialog. Please use window.open and postMessage instead.";
654 654
655 case CSSStyleSheetInsertRuleOptionalArg: 655 case CSSStyleSheetInsertRuleOptionalArg:
656 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat ed. Please pass the index argument as well: insertRule(x, 0)."; 656 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat ed. Please pass the index argument as well: insertRule(x, 0).";
657 657
658 case SVGElementGetPresentationAttribute:
659 return "CSSValue and SVGElement.getPresentationAttribute are deprecated. Please use getPropertyValue and parse the return value instead.";
660
661 case PrefixedMediaSourceOpen: 658 case PrefixedMediaSourceOpen:
662 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst ead."; 659 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst ead.";
663 660
664 case DOMImplementationCreateCSSStyleSheet: 661 case DOMImplementationCreateCSSStyleSheet:
665 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; 662 return "'DOMImplementation.createCSSStyleSheet()' is deprecated.";
666 663
667 case MediaErrorEncrypted: 664 case MediaErrorEncrypted:
668 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used."; 665 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used.";
669 666
670 case HTMLSourceElementMedia: 667 case HTMLSourceElementMedia:
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 732 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
736 { 733 {
737 // FIXME: We may want to handle stylesheets that have multiple owners 734 // FIXME: We may want to handle stylesheets that have multiple owners
738 // http://crbug.com/242125 735 // http://crbug.com/242125
739 if (sheetContents && sheetContents->hasSingleOwnerNode()) 736 if (sheetContents && sheetContents->hasSingleOwnerNode())
740 return getFrom(sheetContents->singleOwnerDocument()); 737 return getFrom(sheetContents->singleOwnerDocument());
741 return 0; 738 return 0;
742 } 739 }
743 740
744 } // namespace WebCore 741 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/svg/SVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698