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

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

Issue 1149373003: Remove Range.compareNode() as it is not in the spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updated webexposed/global-interface-listing.html Created 5 years, 5 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/input/EventHandler.cpp » ('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 * Copyright (C) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 849
850 case PrefixedWindowURL: 850 case PrefixedWindowURL:
851 return replacedBy("webkitURL", "URL"); 851 return replacedBy("webkitURL", "URL");
852 852
853 case PrefixedAudioContext: 853 case PrefixedAudioContext:
854 return replacedBy("webkitAudioContext", "AudioContext"); 854 return replacedBy("webkitAudioContext", "AudioContext");
855 855
856 case PrefixedOfflineAudioContext: 856 case PrefixedOfflineAudioContext:
857 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); 857 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext");
858 858
859 case RangeCompareNode:
860 return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()" );
861
862 case RangeExpand: 859 case RangeExpand:
863 return replacedBy("Range.expand()", "Selection.modify()"); 860 return replacedBy("Range.expand()", "Selection.modify()");
864 861
865 case PrefixedMediaAddKey: 862 case PrefixedMediaAddKey:
866 case PrefixedMediaGenerateKeyRequest: 863 case PrefixedMediaGenerateKeyRequest:
867 case PrefixedMediaCancelKeyRequest: 864 case PrefixedMediaCancelKeyRequest:
868 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.reque stMediaKeySystemAccess()' instead."; 865 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.reque stMediaKeySystemAccess()' instead.";
869 866
870 case CanPlayTypeKeySystem: 867 case CanPlayTypeKeySystem:
871 return "canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK eySystemAccess()' instead."; 868 return "canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK eySystemAccess()' instead.";
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 984 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
988 { 985 {
989 // FIXME: We may want to handle stylesheets that have multiple owners 986 // FIXME: We may want to handle stylesheets that have multiple owners
990 // http://crbug.com/242125 987 // http://crbug.com/242125
991 if (sheetContents && sheetContents->hasSingleOwnerNode()) 988 if (sheetContents && sheetContents->hasSingleOwnerNode())
992 return getFrom(sheetContents->singleOwnerDocument()); 989 return getFrom(sheetContents->singleOwnerDocument());
993 return 0; 990 return 0;
994 } 991 }
995 992
996 } // namespace blink 993 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698