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

Side by Side Diff: sky/engine/core/css/parser/BisonCSSParser-in.cpp

Issue 689283003: Remove scroll corners and resizers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueScroll || valueID == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPagedX || valueID == CSSValueWebkitPagedY; 404 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueScroll || valueID == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPagedX || valueID == CSSValueWebkitPagedY;
405 case CSSPropertyPageBreakAfter: // auto | always | avoid | left | right 405 case CSSPropertyPageBreakAfter: // auto | always | avoid | left | right
406 case CSSPropertyPageBreakBefore: 406 case CSSPropertyPageBreakBefore:
407 case CSSPropertyPageBreakInside: // avoid | auto 407 case CSSPropertyPageBreakInside: // avoid | auto
408 case CSSPropertyPointerEvents: 408 case CSSPropertyPointerEvents:
409 // none | visiblePainted | visibleFill | visibleStroke | visible | 409 // none | visiblePainted | visibleFill | visibleStroke | visible |
410 // painted | fill | stroke | auto | all | bounding-box 410 // painted | fill | stroke | auto | all | bounding-box
411 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox); 411 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox);
412 case CSSPropertyPosition: // static | relative | absolute | fixed 412 case CSSPropertyPosition: // static | relative | absolute | fixed
413 return valueID == CSSValueStatic || valueID == CSSValueRelative || value ID == CSSValueAbsolute || valueID == CSSValueFixed; 413 return valueID == CSSValueStatic || valueID == CSSValueRelative || value ID == CSSValueAbsolute || valueID == CSSValueFixed;
414 case CSSPropertyResize: // none | both | horizontal | vertical | auto
415 return valueID == CSSValueNone || valueID == CSSValueBoth || valueID == CSSValueHorizontal || valueID == CSSValueVertical || valueID == CSSValueAuto;
416 case CSSPropertyScrollBehavior: // instant | smooth 414 case CSSPropertyScrollBehavior: // instant | smooth
417 ASSERT(RuntimeEnabledFeatures::cssomSmoothScrollEnabled()); 415 ASSERT(RuntimeEnabledFeatures::cssomSmoothScrollEnabled());
418 return valueID == CSSValueInstant || valueID == CSSValueSmooth; 416 return valueID == CSSValueInstant || valueID == CSSValueSmooth;
419 case CSSPropertySpeak: // none | normal | spell-out | digits | literal-punct uation | no-punctuation 417 case CSSPropertySpeak: // none | normal | spell-out | digits | literal-punct uation | no-punctuation
420 return valueID == CSSValueNone || valueID == CSSValueNormal || valueID = = CSSValueSpellOut || valueID == CSSValueDigits || valueID == CSSValueLiteralPun ctuation || valueID == CSSValueNoPunctuation; 418 return valueID == CSSValueNone || valueID == CSSValueNormal || valueID = = CSSValueSpellOut || valueID == CSSValueDigits || valueID == CSSValueLiteralPun ctuation || valueID == CSSValueNoPunctuation;
421 case CSSPropertyTableLayout: // auto | fixed 419 case CSSPropertyTableLayout: // auto | fixed
422 return valueID == CSSValueAuto || valueID == CSSValueFixed; 420 return valueID == CSSValueAuto || valueID == CSSValueFixed;
423 case CSSPropertyTextAlignLast: 421 case CSSPropertyTextAlignLast:
424 // auto | start | end | left | right | center | justify 422 // auto | start | end | left | right | center | justify
425 ASSERT(RuntimeEnabledFeatures::css3TextEnabled()); 423 ASSERT(RuntimeEnabledFeatures::css3TextEnabled());
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 case CSSPropertyObjectFit: 533 case CSSPropertyObjectFit:
536 case CSSPropertyOutlineStyle: 534 case CSSPropertyOutlineStyle:
537 case CSSPropertyOverflowWrap: 535 case CSSPropertyOverflowWrap:
538 case CSSPropertyOverflowX: 536 case CSSPropertyOverflowX:
539 case CSSPropertyOverflowY: 537 case CSSPropertyOverflowY:
540 case CSSPropertyPageBreakAfter: 538 case CSSPropertyPageBreakAfter:
541 case CSSPropertyPageBreakBefore: 539 case CSSPropertyPageBreakBefore:
542 case CSSPropertyPageBreakInside: 540 case CSSPropertyPageBreakInside:
543 case CSSPropertyPointerEvents: 541 case CSSPropertyPointerEvents:
544 case CSSPropertyPosition: 542 case CSSPropertyPosition:
545 case CSSPropertyResize:
546 case CSSPropertyScrollBehavior: 543 case CSSPropertyScrollBehavior:
547 case CSSPropertySpeak: 544 case CSSPropertySpeak:
548 case CSSPropertyTableLayout: 545 case CSSPropertyTableLayout:
549 case CSSPropertyTextAlignLast: 546 case CSSPropertyTextAlignLast:
550 case CSSPropertyTextDecorationStyle: 547 case CSSPropertyTextDecorationStyle:
551 case CSSPropertyTextJustify: 548 case CSSPropertyTextJustify:
552 case CSSPropertyTextOverflow: 549 case CSSPropertyTextOverflow:
553 case CSSPropertyTextRendering: 550 case CSSPropertyTextRendering:
554 case CSSPropertyTouchActionDelay: 551 case CSSPropertyTouchActionDelay:
555 case CSSPropertyUnicodeBidi: 552 case CSSPropertyUnicodeBidi:
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1847 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer. safeUserStringTokenOffset(), errorType); 1844 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer. safeUserStringTokenOffset(), errorType);
1848 } 1845 }
1849 1846
1850 void BisonCSSParser::startEndUnknownRule() 1847 void BisonCSSParser::startEndUnknownRule()
1851 { 1848 {
1852 if (m_observer) 1849 if (m_observer)
1853 m_observer->startEndUnknownRule(); 1850 m_observer->startEndUnknownRule();
1854 } 1851 }
1855 1852
1856 } 1853 }
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSProperties.in ('k') | sky/engine/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698