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

Side by Side Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSParser-in.cpp ('k') | Source/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 23 matching lines...) Expand all
34 #include "core/css/CSSCalculationValue.h" 34 #include "core/css/CSSCalculationValue.h"
35 #include "core/css/CSSPrimitiveValue.h" 35 #include "core/css/CSSPrimitiveValue.h"
36 #include "core/css/CSSReflectionDirection.h" 36 #include "core/css/CSSReflectionDirection.h"
37 #include "core/platform/graphics/FontDescription.h" 37 #include "core/platform/graphics/FontDescription.h"
38 #include "core/platform/graphics/FontSmoothingMode.h" 38 #include "core/platform/graphics/FontSmoothingMode.h"
39 #include "core/platform/graphics/GraphicsTypes.h" 39 #include "core/platform/graphics/GraphicsTypes.h"
40 #include "core/platform/Length.h" 40 #include "core/platform/Length.h"
41 #include "core/platform/ThemeTypes.h" 41 #include "core/platform/ThemeTypes.h"
42 #include "core/platform/graphics/Path.h" 42 #include "core/platform/graphics/Path.h"
43 #include "core/platform/graphics/TextRenderingMode.h" 43 #include "core/platform/graphics/TextRenderingMode.h"
44 #include "core/platform/text/TextDirection.h"
45 #include "core/platform/text/UnicodeBidi.h" 44 #include "core/platform/text/UnicodeBidi.h"
46 #include "core/platform/text/WritingMode.h"
47 #include "core/rendering/style/LineClampValue.h" 45 #include "core/rendering/style/LineClampValue.h"
48 #include "core/rendering/style/RenderStyleConstants.h" 46 #include "core/rendering/style/RenderStyleConstants.h"
49 #include "core/rendering/style/SVGRenderStyleDefs.h" 47 #include "core/rendering/style/SVGRenderStyleDefs.h"
48 #include "platform/text/TextDirection.h"
49 #include "platform/text/WritingMode.h"
50 #include "wtf/MathExtras.h" 50 #include "wtf/MathExtras.h"
51 51
52 namespace WebCore { 52 namespace WebCore {
53 53
54 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i) 54 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(short i)
55 : CSSValue(PrimitiveClass) 55 : CSSValue(PrimitiveClass)
56 { 56 {
57 m_primitiveUnitType = CSS_NUMBER; 57 m_primitiveUnitType = CSS_NUMBER;
58 m_value.num = static_cast<double>(i); 58 m_value.num = static_cast<double>(i);
59 } 59 }
(...skipping 4792 matching lines...) Expand 10 before | Expand all | Expand 10 after
4852 break; 4852 break;
4853 } 4853 }
4854 4854
4855 ASSERT_NOT_REACHED(); 4855 ASSERT_NOT_REACHED();
4856 return IsolationAuto; 4856 return IsolationAuto;
4857 } 4857 }
4858 4858
4859 } 4859 }
4860 4860
4861 #endif 4861 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSParser-in.cpp ('k') | Source/core/css/CSSProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698