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

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

Issue 1915343003: Add CSS hyphens property behind the test flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-use UseCounter value for -webkit-hyphens and include change to histograms.xml Created 4 years, 8 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 * 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 case CSSPropertyGridTemplateRows: return 243; 285 case CSSPropertyGridTemplateRows: return 243;
286 case CSSPropertyGridColumnStart: return 244; 286 case CSSPropertyGridColumnStart: return 244;
287 case CSSPropertyGridColumnEnd: return 245; 287 case CSSPropertyGridColumnEnd: return 245;
288 case CSSPropertyGridRowStart: return 246; 288 case CSSPropertyGridRowStart: return 246;
289 case CSSPropertyGridRowEnd: return 247; 289 case CSSPropertyGridRowEnd: return 247;
290 case CSSPropertyGridColumn: return 248; 290 case CSSPropertyGridColumn: return 248;
291 case CSSPropertyGridRow: return 249; 291 case CSSPropertyGridRow: return 249;
292 case CSSPropertyGridAutoFlow: return 250; 292 case CSSPropertyGridAutoFlow: return 250;
293 case CSSPropertyWebkitHighlight: return 251; 293 case CSSPropertyWebkitHighlight: return 251;
294 case CSSPropertyWebkitHyphenateCharacter: return 252; 294 case CSSPropertyWebkitHyphenateCharacter: return 252;
295 case CSSPropertyHyphens: return 256;
295 // case CSSPropertyWebkitLineBoxContain: return 257; 296 // case CSSPropertyWebkitLineBoxContain: return 257;
296 // case CSSPropertyWebkitLineAlign: return 258; 297 // case CSSPropertyWebkitLineAlign: return 258;
297 case CSSPropertyWebkitLineBreak: return 259; 298 case CSSPropertyWebkitLineBreak: return 259;
298 case CSSPropertyWebkitLineClamp: return 260; 299 case CSSPropertyWebkitLineClamp: return 260;
299 // case CSSPropertyWebkitLineGrid: return 261; 300 // case CSSPropertyWebkitLineGrid: return 261;
300 // case CSSPropertyWebkitLineSnap: return 262; 301 // case CSSPropertyWebkitLineSnap: return 262;
301 case CSSPropertyWebkitLogicalWidth: return 263; 302 case CSSPropertyWebkitLogicalWidth: return 263;
302 case CSSPropertyWebkitLogicalHeight: return 264; 303 case CSSPropertyWebkitLogicalHeight: return 264;
303 case CSSPropertyWebkitMarginAfterCollapse: return 265; 304 case CSSPropertyWebkitMarginAfterCollapse: return 265;
304 case CSSPropertyWebkitMarginBeforeCollapse: return 266; 305 case CSSPropertyWebkitMarginBeforeCollapse: return 266;
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 783 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
783 { 784 {
784 // FIXME: We may want to handle stylesheets that have multiple owners 785 // FIXME: We may want to handle stylesheets that have multiple owners
785 // https://crbug.com/242125 786 // https://crbug.com/242125
786 if (sheetContents && sheetContents->hasSingleOwnerNode()) 787 if (sheetContents && sheetContents->hasSingleOwnerNode())
787 return getFrom(sheetContents->singleOwnerDocument()); 788 return getFrom(sheetContents->singleOwnerDocument());
788 return 0; 789 return 0;
789 } 790 }
790 791
791 } // namespace blink 792 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698