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

Side by Side Diff: Source/core/css/resolver/CSSToStyleMap.h

Issue 302643002: Remove zoom special casing of SVG when computing border-widths (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove method on CSSToStyleMap rendered unnecessary Created 6 years, 7 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 static CSSTransitionData::TransitionProperty mapAnimationProperty(CSSValue*) ; 73 static CSSTransitionData::TransitionProperty mapAnimationProperty(CSSValue*) ;
74 static PassRefPtr<TimingFunction> mapAnimationTimingFunction(CSSValue*, bool allowStepMiddle = false); 74 static PassRefPtr<TimingFunction> mapAnimationTimingFunction(CSSValue*, bool allowStepMiddle = false);
75 75
76 void mapNinePieceImage(RenderStyle* mutableStyle, CSSPropertyID, CSSValue*, NinePieceImage&); 76 void mapNinePieceImage(RenderStyle* mutableStyle, CSSPropertyID, CSSValue*, NinePieceImage&);
77 void mapNinePieceImageSlice(CSSValue*, NinePieceImage&) const; 77 void mapNinePieceImageSlice(CSSValue*, NinePieceImage&) const;
78 BorderImageLengthBox mapNinePieceImageQuad(CSSValue*) const; 78 BorderImageLengthBox mapNinePieceImageQuad(CSSValue*) const;
79 void mapNinePieceImageRepeat(CSSValue*, NinePieceImage&) const; 79 void mapNinePieceImageRepeat(CSSValue*, NinePieceImage&) const;
80 80
81 private: 81 private:
82 const CSSToLengthConversionData& cssToLengthConversionData() const; 82 const CSSToLengthConversionData& cssToLengthConversionData() const;
83 bool useSVGZoomRules() const;
84 83
85 PassRefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue*); 84 PassRefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue*);
86 85
87 // FIXME: Consider passing a StyleResolverState (or ElementResolveState) 86 // FIXME: Consider passing a StyleResolverState (or ElementResolveState)
88 // as an argument instead of caching it on this object. 87 // as an argument instead of caching it on this object.
89 const StyleResolverState& m_state; 88 const StyleResolverState& m_state;
90 ElementStyleResources& m_elementStyleResources; 89 ElementStyleResources& m_elementStyleResources;
91 }; 90 };
92 91
93 } 92 }
94 93
95 #endif 94 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/border-image-widths-on-svg-with-zoom-expected.html ('k') | Source/core/css/resolver/CSSToStyleMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698