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

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

Issue 143323014: *** DO NOT LAND *** Attempt to understand Regions complexity Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/events/EventTargetFactory.in ('k') | Source/core/inspector/InspectorCSSAgent.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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 case CSSPropertyWebkitTransformOriginZ: return 330; 377 case CSSPropertyWebkitTransformOriginZ: return 330;
378 case CSSPropertyWebkitTransformStyle: return 331; 378 case CSSPropertyWebkitTransformStyle: return 331;
379 case CSSPropertyWebkitTransition: return 332; 379 case CSSPropertyWebkitTransition: return 332;
380 case CSSPropertyWebkitTransitionDelay: return 333; 380 case CSSPropertyWebkitTransitionDelay: return 333;
381 case CSSPropertyWebkitTransitionDuration: return 334; 381 case CSSPropertyWebkitTransitionDuration: return 334;
382 case CSSPropertyWebkitTransitionProperty: return 335; 382 case CSSPropertyWebkitTransitionProperty: return 335;
383 case CSSPropertyWebkitTransitionTimingFunction: return 336; 383 case CSSPropertyWebkitTransitionTimingFunction: return 336;
384 case CSSPropertyWebkitUserDrag: return 337; 384 case CSSPropertyWebkitUserDrag: return 337;
385 case CSSPropertyWebkitUserModify: return 338; 385 case CSSPropertyWebkitUserModify: return 338;
386 case CSSPropertyWebkitUserSelect: return 339; 386 case CSSPropertyWebkitUserSelect: return 339;
387 case CSSPropertyWebkitFlowInto: return 340; 387 // case CSSPropertyWebkitFlowInto: return 340;
388 case CSSPropertyWebkitFlowFrom: return 341; 388 // case CSSPropertyWebkitFlowFrom: return 341;
389 case CSSPropertyWebkitRegionFragment: return 342; 389 // case CSSPropertyWebkitRegionFragment: return 342;
390 case CSSPropertyWebkitRegionBreakAfter: return 343; 390 // case CSSPropertyWebkitRegionBreakAfter: return 343;
391 case CSSPropertyWebkitRegionBreakBefore: return 344; 391 // case CSSPropertyWebkitRegionBreakBefore: return 344;
392 case CSSPropertyWebkitRegionBreakInside: return 345; 392 // case CSSPropertyWebkitRegionBreakInside: return 345;
393 case CSSPropertyShapeInside: return 346; 393 case CSSPropertyShapeInside: return 346;
394 case CSSPropertyShapeOutside: return 347; 394 case CSSPropertyShapeOutside: return 347;
395 case CSSPropertyShapeMargin: return 348; 395 case CSSPropertyShapeMargin: return 348;
396 case CSSPropertyShapePadding: return 349; 396 case CSSPropertyShapePadding: return 349;
397 case CSSPropertyWebkitWrapFlow: return 350; 397 case CSSPropertyWebkitWrapFlow: return 350;
398 case CSSPropertyWebkitWrapThrough: return 351; 398 case CSSPropertyWebkitWrapThrough: return 351;
399 // CSSPropertyWebkitWrap was 352. 399 // CSSPropertyWebkitWrap was 352.
400 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS 400 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
401 case CSSPropertyWebkitTapHighlightColor: return 353; 401 case CSSPropertyWebkitTapHighlightColor: return 353;
402 #endif 402 #endif
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 737 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
738 { 738 {
739 // FIXME: We may want to handle stylesheets that have multiple owners 739 // FIXME: We may want to handle stylesheets that have multiple owners
740 // http://crbug.com/242125 740 // http://crbug.com/242125
741 if (sheetContents && sheetContents->hasSingleOwnerNode()) 741 if (sheetContents && sheetContents->hasSingleOwnerNode())
742 return getFrom(sheetContents->singleOwnerDocument()); 742 return getFrom(sheetContents->singleOwnerDocument());
743 return 0; 743 return 0;
744 } 744 }
745 745
746 } // namespace WebCore 746 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/events/EventTargetFactory.in ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698