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

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

Issue 1214633005: Remove CSS clients of ImageResource (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
(...skipping 28 matching lines...) Expand all
39 39
40 #include "gen/sky/core/CSSPropertyNames.h" 40 #include "gen/sky/core/CSSPropertyNames.h"
41 #include "gen/sky/core/CSSValueKeywords.h" 41 #include "gen/sky/core/CSSValueKeywords.h"
42 #include "gen/sky/core/StyleBuilderFunctions.h" 42 #include "gen/sky/core/StyleBuilderFunctions.h"
43 #include "gen/sky/core/StylePropertyShorthand.h" 43 #include "gen/sky/core/StylePropertyShorthand.h"
44 #include "sky/engine/core/css/BasicShapeFunctions.h" 44 #include "sky/engine/core/css/BasicShapeFunctions.h"
45 #include "sky/engine/core/css/CSSAspectRatioValue.h" 45 #include "sky/engine/core/css/CSSAspectRatioValue.h"
46 #include "sky/engine/core/css/CSSFontValue.h" 46 #include "sky/engine/core/css/CSSFontValue.h"
47 #include "sky/engine/core/css/CSSGradientValue.h" 47 #include "sky/engine/core/css/CSSGradientValue.h"
48 #include "sky/engine/core/css/CSSHelper.h" 48 #include "sky/engine/core/css/CSSHelper.h"
49 #include "sky/engine/core/css/CSSImageSetValue.h"
50 #include "sky/engine/core/css/CSSLineBoxContainValue.h" 49 #include "sky/engine/core/css/CSSLineBoxContainValue.h"
51 #include "sky/engine/core/css/CSSPrimitiveValueMappings.h" 50 #include "sky/engine/core/css/CSSPrimitiveValueMappings.h"
52 #include "sky/engine/core/css/CSSPropertyMetadata.h" 51 #include "sky/engine/core/css/CSSPropertyMetadata.h"
53 #include "sky/engine/core/css/Pair.h" 52 #include "sky/engine/core/css/Pair.h"
54 #include "sky/engine/core/css/StylePropertySet.h" 53 #include "sky/engine/core/css/StylePropertySet.h"
55 #include "sky/engine/core/css/StyleRule.h" 54 #include "sky/engine/core/css/StyleRule.h"
56 #include "sky/engine/core/css/parser/BisonCSSParser.h" 55 #include "sky/engine/core/css/parser/BisonCSSParser.h"
57 #include "sky/engine/core/css/resolver/ElementStyleResources.h" 56 #include "sky/engine/core/css/resolver/ElementStyleResources.h"
58 #include "sky/engine/core/css/resolver/FilterOperationResolver.h" 57 #include "sky/engine/core/css/resolver/FilterOperationResolver.h"
59 #include "sky/engine/core/css/resolver/FontBuilder.h" 58 #include "sky/engine/core/css/resolver/FontBuilder.h"
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 state.style()->setPerspective(perspectiveValue); 636 state.style()->setPerspective(perspectiveValue);
638 } 637 }
639 638
640 void StyleBuilderFunctions::applyValueCSSPropertyWebkitTextOrientation(StyleReso lverState& state, CSSValue* value) 639 void StyleBuilderFunctions::applyValueCSSPropertyWebkitTextOrientation(StyleReso lverState& state, CSSValue* value)
641 { 640 {
642 if (value->isPrimitiveValue()) 641 if (value->isPrimitiveValue())
643 state.setTextOrientation(*toCSSPrimitiveValue(value)); 642 state.setTextOrientation(*toCSSPrimitiveValue(value));
644 } 643 }
645 644
646 } // namespace blink 645 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/ElementStyleResources.cpp ('k') | sky/engine/core/css/resolver/StyleResourceLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698