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

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

Issue 149373004: [CSS Grid Layout] Implementation of the grid-template shorthand. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@grid-template-working
Patch Set: rebased and applied suggested changes. 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
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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 case CSSPropertyIsolation: return 436; 491 case CSSPropertyIsolation: return 436;
492 case CSSPropertyObjectPosition: return 437; 492 case CSSPropertyObjectPosition: return 437;
493 case CSSPropertyInternalCallback: return 438; 493 case CSSPropertyInternalCallback: return 438;
494 case CSSPropertyShapeImageThreshold: return 439; 494 case CSSPropertyShapeImageThreshold: return 439;
495 case CSSPropertyColumnFill: return 440; 495 case CSSPropertyColumnFill: return 440;
496 case CSSPropertyTextJustify: return 441; 496 case CSSPropertyTextJustify: return 441;
497 case CSSPropertyTouchActionDelay: return 442; 497 case CSSPropertyTouchActionDelay: return 442;
498 case CSSPropertyJustifySelf: return 443; 498 case CSSPropertyJustifySelf: return 443;
499 case CSSPropertyScrollBehavior: return 444; 499 case CSSPropertyScrollBehavior: return 444;
500 case CSSPropertyWillChange: return 445; 500 case CSSPropertyWillChange: return 445;
501 case CSSPropertyGridTemplate: return 446;
501 502
502 // Add new features above this line (don't change the assigned numbers of th e existing 503 // Add new features above this line (don't change the assigned numbers of th e existing
503 // items) and update maximumCSSSampleId() with the new maximum value. 504 // items) and update maximumCSSSampleId() with the new maximum value.
504 505
505 // Internal properties should not be counted. 506 // Internal properties should not be counted.
506 case CSSPropertyInternalMarqueeDirection: 507 case CSSPropertyInternalMarqueeDirection:
507 case CSSPropertyInternalMarqueeIncrement: 508 case CSSPropertyInternalMarqueeIncrement:
508 case CSSPropertyInternalMarqueeRepetition: 509 case CSSPropertyInternalMarqueeRepetition:
509 case CSSPropertyInternalMarqueeSpeed: 510 case CSSPropertyInternalMarqueeSpeed:
510 case CSSPropertyInternalMarqueeStyle: 511 case CSSPropertyInternalMarqueeStyle:
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 727 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
727 { 728 {
728 // FIXME: We may want to handle stylesheets that have multiple owners 729 // FIXME: We may want to handle stylesheets that have multiple owners
729 // http://crbug.com/242125 730 // http://crbug.com/242125
730 if (sheetContents && sheetContents->hasSingleOwnerNode()) 731 if (sheetContents && sheetContents->hasSingleOwnerNode())
731 return getFrom(sheetContents->singleOwnerDocument()); 732 return getFrom(sheetContents->singleOwnerDocument());
732 return 0; 733 return 0;
733 } 734 }
734 735
735 } // namespace WebCore 736 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698