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

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

Issue 359023002: Remove CSS Exclusions leftovers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 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/css/parser/CSSPropertyParser.cpp ('k') | Source/core/testing/InternalSettings.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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // case CSSPropertyWebkitFlowInto: return 340; 391 // case CSSPropertyWebkitFlowInto: return 340;
392 // case CSSPropertyWebkitFlowFrom: return 341; 392 // case CSSPropertyWebkitFlowFrom: return 341;
393 // case CSSPropertyWebkitRegionFragment: return 342; 393 // case CSSPropertyWebkitRegionFragment: return 342;
394 // case CSSPropertyWebkitRegionBreakAfter: return 343; 394 // case CSSPropertyWebkitRegionBreakAfter: return 343;
395 // case CSSPropertyWebkitRegionBreakBefore: return 344; 395 // case CSSPropertyWebkitRegionBreakBefore: return 344;
396 // case CSSPropertyWebkitRegionBreakInside: return 345; 396 // case CSSPropertyWebkitRegionBreakInside: return 345;
397 // case CSSPropertyShapeInside: return 346; 397 // case CSSPropertyShapeInside: return 346;
398 case CSSPropertyShapeOutside: return 347; 398 case CSSPropertyShapeOutside: return 347;
399 case CSSPropertyShapeMargin: return 348; 399 case CSSPropertyShapeMargin: return 348;
400 // case CSSPropertyShapePadding: return 349; 400 // case CSSPropertyShapePadding: return 349;
401 case CSSPropertyWebkitWrapFlow: return 350; 401 // case CSSPropertyWebkitWrapFlow: return 350;
402 case CSSPropertyWebkitWrapThrough: return 351; 402 // case CSSPropertyWebkitWrapThrough: return 351;
403 // CSSPropertyWebkitWrap was 352. 403 // CSSPropertyWebkitWrap was 352.
404 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS 404 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
405 case CSSPropertyWebkitTapHighlightColor: return 353; 405 case CSSPropertyWebkitTapHighlightColor: return 353;
406 #endif 406 #endif
407 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION 407 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION
408 case CSSPropertyWebkitAppRegion: return 354; 408 case CSSPropertyWebkitAppRegion: return 354;
409 #endif 409 #endif
410 case CSSPropertyClipPath: return 355; 410 case CSSPropertyClipPath: return 355;
411 case CSSPropertyClipRule: return 356; 411 case CSSPropertyClipRule: return 356;
412 case CSSPropertyMask: return 357; 412 case CSSPropertyMask: return 357;
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 789 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
790 { 790 {
791 // FIXME: We may want to handle stylesheets that have multiple owners 791 // FIXME: We may want to handle stylesheets that have multiple owners
792 // http://crbug.com/242125 792 // http://crbug.com/242125
793 if (sheetContents && sheetContents->hasSingleOwnerNode()) 793 if (sheetContents && sheetContents->hasSingleOwnerNode())
794 return getFrom(sheetContents->singleOwnerDocument()); 794 return getFrom(sheetContents->singleOwnerDocument());
795 return 0; 795 return 0;
796 } 796 }
797 797
798 } // namespace WebCore 798 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698