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

Side by Side Diff: sky/engine/core/css/resolver/CSSToStyleMap.cpp

Issue 746023002: Make absolute and sort all Sky headers (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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
11 * 11 *
12 * This library is free software; you can redistribute it and/or 12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Library General Public 13 * modify it under the terms of the GNU Library General Public
14 * License as published by the Free Software Foundation; either 14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version. 15 * version 2 of the License, or (at your option) any later version.
16 * 16 *
17 * This library is distributed in the hope that it will be useful, 17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details. 20 * Library General Public License for more details.
21 * 21 *
22 * You should have received a copy of the GNU Library General Public License 22 * You should have received a copy of the GNU Library General Public License
23 * along with this library; see the file COPYING.LIB. If not, write to 23 * along with this library; see the file COPYING.LIB. If not, write to
24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 * Boston, MA 02110-1301, USA. 25 * Boston, MA 02110-1301, USA.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "sky/engine/config.h"
29 #include "core/css/resolver/CSSToStyleMap.h" 29 #include "sky/engine/core/css/resolver/CSSToStyleMap.h"
30 30
31 #include "gen/sky/core/CSSValueKeywords.h" 31 #include "gen/sky/core/CSSValueKeywords.h"
32 #include "core/animation/css/CSSAnimationData.h" 32 #include "sky/engine/core/animation/css/CSSAnimationData.h"
33 #include "core/css/CSSBorderImageSliceValue.h" 33 #include "sky/engine/core/css/CSSBorderImageSliceValue.h"
34 #include "core/css/CSSPrimitiveValue.h" 34 #include "sky/engine/core/css/CSSPrimitiveValue.h"
35 #include "core/css/CSSPrimitiveValueMappings.h" 35 #include "sky/engine/core/css/CSSPrimitiveValueMappings.h"
36 #include "core/css/CSSTimingFunctionValue.h" 36 #include "sky/engine/core/css/CSSTimingFunctionValue.h"
37 #include "core/css/Pair.h" 37 #include "sky/engine/core/css/Pair.h"
38 #include "core/css/Rect.h" 38 #include "sky/engine/core/css/Rect.h"
39 #include "core/css/resolver/StyleResolverState.h" 39 #include "sky/engine/core/css/resolver/StyleResolverState.h"
40 #include "core/rendering/style/BorderImageLengthBox.h" 40 #include "sky/engine/core/rendering/style/BorderImageLengthBox.h"
41 #include "core/rendering/style/FillLayer.h" 41 #include "sky/engine/core/rendering/style/FillLayer.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 const CSSToLengthConversionData& CSSToStyleMap::cssToLengthConversionData() cons t 45 const CSSToLengthConversionData& CSSToStyleMap::cssToLengthConversionData() cons t
46 { 46 {
47 return m_state.cssToLengthConversionData(); 47 return m_state.cssToLengthConversionData();
48 } 48 }
49 49
50 PassRefPtr<StyleImage> CSSToStyleMap::styleImage(CSSPropertyID propertyId, CSSVa lue* value) 50 PassRefPtr<StyleImage> CSSToStyleMap::styleImage(CSSPropertyID propertyId, CSSVa lue* value)
51 { 51 {
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 verticalRule = SpaceImageRule; 594 verticalRule = SpaceImageRule;
595 break; 595 break;
596 default: // CSSValueRepeat 596 default: // CSSValueRepeat
597 verticalRule = RepeatImageRule; 597 verticalRule = RepeatImageRule;
598 break; 598 break;
599 } 599 }
600 image.setVerticalRule(verticalRule); 600 image.setVerticalRule(verticalRule);
601 } 601 }
602 602
603 }; 603 };
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/CSSToStyleMap.h ('k') | sky/engine/core/css/resolver/ElementResolveContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698