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

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

Issue 1286973002: Deprecate enable-background property (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed failures Created 5 years, 4 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/css/parser/CSSPropertyParser.cpp ('k') | Source/core/svg/SVGAttributeNames.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 * 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 case CSSPropertyShapeMargin: return 348; 382 case CSSPropertyShapeMargin: return 348;
383 // case CSSPropertyShapePadding: return 349; 383 // case CSSPropertyShapePadding: return 349;
384 // case CSSPropertyWebkitWrapFlow: return 350; 384 // case CSSPropertyWebkitWrapFlow: return 350;
385 // case CSSPropertyWebkitWrapThrough: return 351; 385 // case CSSPropertyWebkitWrapThrough: return 351;
386 // CSSPropertyWebkitWrap was 352. 386 // CSSPropertyWebkitWrap was 352.
387 // 353 was CSSPropertyWebkitTapHighlightColor (duplicated due to #ifdef). 387 // 353 was CSSPropertyWebkitTapHighlightColor (duplicated due to #ifdef).
388 // 354 was CSSPropertyWebkitAppRegion (duplicated due to #ifdef). 388 // 354 was CSSPropertyWebkitAppRegion (duplicated due to #ifdef).
389 case CSSPropertyClipPath: return 355; 389 case CSSPropertyClipPath: return 355;
390 case CSSPropertyClipRule: return 356; 390 case CSSPropertyClipRule: return 356;
391 case CSSPropertyMask: return 357; 391 case CSSPropertyMask: return 357;
392 case CSSPropertyEnableBackground: return 358; 392 // CSSPropertyEnableBackground has been removed, was return 358;
393 case CSSPropertyFilter: return 359; 393 case CSSPropertyFilter: return 359;
394 case CSSPropertyFloodColor: return 360; 394 case CSSPropertyFloodColor: return 360;
395 case CSSPropertyFloodOpacity: return 361; 395 case CSSPropertyFloodOpacity: return 361;
396 case CSSPropertyLightingColor: return 362; 396 case CSSPropertyLightingColor: return 362;
397 case CSSPropertyStopColor: return 363; 397 case CSSPropertyStopColor: return 363;
398 case CSSPropertyStopOpacity: return 364; 398 case CSSPropertyStopOpacity: return 364;
399 case CSSPropertyColorInterpolation: return 365; 399 case CSSPropertyColorInterpolation: return 365;
400 case CSSPropertyColorInterpolationFilters: return 366; 400 case CSSPropertyColorInterpolationFilters: return 366;
401 // case CSSPropertyColorProfile: return 367; 401 // case CSSPropertyColorProfile: return 367;
402 case CSSPropertyColorRendering: return 368; 402 case CSSPropertyColorRendering: return 368;
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 1000 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
1001 { 1001 {
1002 // FIXME: We may want to handle stylesheets that have multiple owners 1002 // FIXME: We may want to handle stylesheets that have multiple owners
1003 // http://crbug.com/242125 1003 // http://crbug.com/242125
1004 if (sheetContents && sheetContents->hasSingleOwnerNode()) 1004 if (sheetContents && sheetContents->hasSingleOwnerNode())
1005 return getFrom(sheetContents->singleOwnerDocument()); 1005 return getFrom(sheetContents->singleOwnerDocument());
1006 return 0; 1006 return 0;
1007 } 1007 }
1008 1008
1009 } // namespace blink 1009 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/svg/SVGAttributeNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698