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

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

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 9 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/resolver/StyleResourceLoader.cpp ('k') | Source/core/rendering/LayoutState.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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 case CSSPropertyWebkitTransitionTimingFunction: return 336; 385 case CSSPropertyWebkitTransitionTimingFunction: return 336;
386 case CSSPropertyWebkitUserDrag: return 337; 386 case CSSPropertyWebkitUserDrag: return 337;
387 case CSSPropertyWebkitUserModify: return 338; 387 case CSSPropertyWebkitUserModify: return 338;
388 case CSSPropertyWebkitUserSelect: return 339; 388 case CSSPropertyWebkitUserSelect: return 339;
389 // case CSSPropertyWebkitFlowInto: return 340; 389 // case CSSPropertyWebkitFlowInto: return 340;
390 // case CSSPropertyWebkitFlowFrom: return 341; 390 // case CSSPropertyWebkitFlowFrom: return 341;
391 // case CSSPropertyWebkitRegionFragment: return 342; 391 // case CSSPropertyWebkitRegionFragment: return 342;
392 // case CSSPropertyWebkitRegionBreakAfter: return 343; 392 // case CSSPropertyWebkitRegionBreakAfter: return 343;
393 // case CSSPropertyWebkitRegionBreakBefore: return 344; 393 // case CSSPropertyWebkitRegionBreakBefore: return 344;
394 // case CSSPropertyWebkitRegionBreakInside: return 345; 394 // case CSSPropertyWebkitRegionBreakInside: return 345;
395 case CSSPropertyShapeInside: return 346; 395 // case CSSPropertyShapeInside: return 346;
396 case CSSPropertyShapeOutside: return 347; 396 case CSSPropertyShapeOutside: return 347;
397 case CSSPropertyShapeMargin: return 348; 397 case CSSPropertyShapeMargin: return 348;
398 case CSSPropertyShapePadding: return 349; 398 case CSSPropertyShapePadding: return 349;
399 case CSSPropertyWebkitWrapFlow: return 350; 399 case CSSPropertyWebkitWrapFlow: return 350;
400 case CSSPropertyWebkitWrapThrough: return 351; 400 case CSSPropertyWebkitWrapThrough: return 351;
401 // CSSPropertyWebkitWrap was 352. 401 // CSSPropertyWebkitWrap was 352.
402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS 402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
403 case CSSPropertyWebkitTapHighlightColor: return 353; 403 case CSSPropertyWebkitTapHighlightColor: return 353;
404 #endif 404 #endif
405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION 405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 735 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
736 { 736 {
737 // FIXME: We may want to handle stylesheets that have multiple owners 737 // FIXME: We may want to handle stylesheets that have multiple owners
738 // http://crbug.com/242125 738 // http://crbug.com/242125
739 if (sheetContents && sheetContents->hasSingleOwnerNode()) 739 if (sheetContents && sheetContents->hasSingleOwnerNode())
740 return getFrom(sheetContents->singleOwnerDocument()); 740 return getFrom(sheetContents->singleOwnerDocument());
741 return 0; 741 return 0;
742 } 742 }
743 743
744 } // namespace WebCore 744 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResourceLoader.cpp ('k') | Source/core/rendering/LayoutState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698