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

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

Issue 1420303002: Remove support for intrinsic and min-intrinsic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 930
931 case PrefixedPerformanceResourceTimingBufferFull: 931 case PrefixedPerformanceResourceTimingBufferFull:
932 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull"); 932 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull");
933 933
934 case FetchAPIRequestContext: 934 case FetchAPIRequestContext:
935 return "Request.context is deprecated and will be removed in M46 (see: h ttps://www.chromestatus.com/feature/5534702526005248)."; 935 return "Request.context is deprecated and will be removed in M46 (see: h ttps://www.chromestatus.com/feature/5534702526005248).";
936 936
937 case HeaderValueNotMatchingRFC7230: 937 case HeaderValueNotMatchingRFC7230:
938 return "Header values not matching to RFC 7230, will be deprecated (see: https://www.chromestatus.com/feature/6457425448140800)."; 938 return "Header values not matching to RFC 7230, will be deprecated (see: https://www.chromestatus.com/feature/6457425448140800).";
939 939
940 case LegacyCSSValueIntrinsic:
941 return "The 'intrinsic' CSS keyword is deprecated and will be removed in M48, around January 2015. Use the standard 'max-content' keyword instead.";
942
943 case LegacyCSSValueMinIntrinsic:
944 return "The 'min-intrinsic' CSS keyword is deprecated and will be remove d in M48, around January 2015. Use the standard 'min-content' keyword instead.";
945
946 // Features that aren't deprecated don't have a deprecation message. 940 // Features that aren't deprecated don't have a deprecation message.
947 default: 941 default:
948 return String(); 942 return String();
949 } 943 }
950 } 944 }
951 945
952 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 946 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
953 { 947 {
954 ASSERT(feature >= firstCSSProperty); 948 ASSERT(feature >= firstCSSProperty);
955 ASSERT(feature <= lastUnresolvedCSSProperty); 949 ASSERT(feature <= lastUnresolvedCSSProperty);
(...skipping 27 matching lines...) Expand all
983 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 977 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
984 { 978 {
985 // FIXME: We may want to handle stylesheets that have multiple owners 979 // FIXME: We may want to handle stylesheets that have multiple owners
986 // https://crbug.com/242125 980 // https://crbug.com/242125
987 if (sheetContents && sheetContents->hasSingleOwnerNode()) 981 if (sheetContents && sheetContents->hasSingleOwnerNode())
988 return getFrom(sheetContents->singleOwnerDocument()); 982 return getFrom(sheetContents->singleOwnerDocument());
989 return 0; 983 return 0;
990 } 984 }
991 985
992 } // namespace blink 986 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698