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

Side by Side Diff: sky/engine/core/css/CSSPrimitiveValueMappings.h

Issue 688213002: First pass at removing dead vertical writing mode code. (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
« no previous file with comments | « no previous file | sky/engine/core/css/CSSProperty.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 * 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 28 matching lines...) Expand all
39 #include "core/rendering/style/RenderStyleConstants.h" 39 #include "core/rendering/style/RenderStyleConstants.h"
40 #include "platform/Length.h" 40 #include "platform/Length.h"
41 #include "platform/fonts/FontDescription.h" 41 #include "platform/fonts/FontDescription.h"
42 #include "platform/fonts/FontSmoothingMode.h" 42 #include "platform/fonts/FontSmoothingMode.h"
43 #include "platform/fonts/TextRenderingMode.h" 43 #include "platform/fonts/TextRenderingMode.h"
44 #include "platform/graphics/GraphicsTypes.h" 44 #include "platform/graphics/GraphicsTypes.h"
45 #include "platform/graphics/Path.h" 45 #include "platform/graphics/Path.h"
46 #include "platform/scroll/ScrollableArea.h" 46 #include "platform/scroll/ScrollableArea.h"
47 #include "platform/text/TextDirection.h" 47 #include "platform/text/TextDirection.h"
48 #include "platform/text/UnicodeBidi.h" 48 #include "platform/text/UnicodeBidi.h"
49 #include "platform/text/WritingMode.h"
50 #include "wtf/MathExtras.h" 49 #include "wtf/MathExtras.h"
51 50
52 namespace blink { 51 namespace blink {
53 52
54 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i) 53 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i)
55 : CSSValue(PrimitiveClass) 54 : CSSValue(PrimitiveClass)
56 { 55 {
57 m_primitiveUnitType = CSS_NUMBER; 56 m_primitiveUnitType = CSS_NUMBER;
58 m_value.num = static_cast<double>(i); 57 m_value.num = static_cast<double>(i);
59 } 58 }
(...skipping 3760 matching lines...) Expand 10 before | Expand all | Expand 10 after
3820 default: 3819 default:
3821 break; 3820 break;
3822 } 3821 }
3823 ASSERT_NOT_REACHED(); 3822 ASSERT_NOT_REACHED();
3824 return ScrollBehaviorInstant; 3823 return ScrollBehaviorInstant;
3825 } 3824 }
3826 3825
3827 } 3826 }
3828 3827
3829 #endif 3828 #endif
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/css/CSSProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698