OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>. | 2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>. |
3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
5 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> | 5 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 case CSSValueBorder: | 629 case CSSValueBorder: |
630 case CSSValueBorderBox: | 630 case CSSValueBorderBox: |
631 return BorderFillBox; | 631 return BorderFillBox; |
632 case CSSValuePadding: | 632 case CSSValuePadding: |
633 case CSSValuePaddingBox: | 633 case CSSValuePaddingBox: |
634 return PaddingFillBox; | 634 return PaddingFillBox; |
635 case CSSValueContent: | 635 case CSSValueContent: |
636 case CSSValueContentBox: | 636 case CSSValueContentBox: |
637 return ContentFillBox; | 637 return ContentFillBox; |
638 case CSSValueText: | 638 case CSSValueText: |
639 case CSSValueWebkitText: | |
640 return TextFillBox; | 639 return TextFillBox; |
641 default: | 640 default: |
642 break; | 641 break; |
643 } | 642 } |
644 | 643 |
645 ASSERT_NOT_REACHED(); | 644 ASSERT_NOT_REACHED(); |
646 return BorderFillBox; | 645 return BorderFillBox; |
647 } | 646 } |
648 | 647 |
649 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EFillRepeat e) | 648 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EFillRepeat e) |
(...skipping 3977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4627 default: | 4626 default: |
4628 break; | 4627 break; |
4629 } | 4628 } |
4630 ASSERT_NOT_REACHED(); | 4629 ASSERT_NOT_REACHED(); |
4631 return ContainsNone; | 4630 return ContainsNone; |
4632 } | 4631 } |
4633 | 4632 |
4634 } // namespace blink | 4633 } // namespace blink |
4635 | 4634 |
4636 #endif | 4635 #endif |
OLD | NEW |