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

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

Issue 690033002: Remove HTMLHeadElement.profile (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/frame/UseCounter.h ('k') | Source/core/html/HTMLAttributeNames.in » ('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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 764
765 case TreeWalkerExpandEntityReferences: 765 case TreeWalkerExpandEntityReferences:
766 return "'TreeWalker.expandEntityReferences' is deprecated and has been r emoved from DOM. It always returns false."; 766 return "'TreeWalker.expandEntityReferences' is deprecated and has been r emoved from DOM. It always returns false.";
767 767
768 case RangeDetach: 768 case RangeDetach:
769 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach)."; 769 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach).";
770 770
771 case OverflowChangedEvent: 771 case OverflowChangedEvent:
772 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it."; 772 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it.";
773 773
774 case HTMLHeadElementProfile:
775 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute has no effect.";
776
777 case ElementSetPrefix: 774 case ElementSetPrefix:
778 return "Setting 'Element.prefix' is deprecated, as it is read-only per D OM (http://dom.spec.whatwg.org/#element)."; 775 return "Setting 'Element.prefix' is deprecated, as it is read-only per D OM (http://dom.spec.whatwg.org/#element).";
779 776
780 case SyncXHRWithCredentials: 777 case SyncXHRWithCredentials:
781 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request s is deprecated."; 778 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request s is deprecated.";
782 779
783 case EventSourceURL: 780 case EventSourceURL:
784 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in stead."; 781 return "'EventSource.URL' is deprecated. Please use 'EventSource.url' in stead.";
785 782
786 case WebSocketURL: 783 case WebSocketURL:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 845 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
849 { 846 {
850 // FIXME: We may want to handle stylesheets that have multiple owners 847 // FIXME: We may want to handle stylesheets that have multiple owners
851 // http://crbug.com/242125 848 // http://crbug.com/242125
852 if (sheetContents && sheetContents->hasSingleOwnerNode()) 849 if (sheetContents && sheetContents->hasSingleOwnerNode())
853 return getFrom(sheetContents->singleOwnerDocument()); 850 return getFrom(sheetContents->singleOwnerDocument());
854 return 0; 851 return 0;
855 } 852 }
856 853
857 } // namespace blink 854 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/html/HTMLAttributeNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698