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

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

Issue 184313004: Move all RefPtr's to CSSValue to oilpan transition types, except for the one in CSSCursorImageValue. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix comment Created 6 years, 9 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/resolver/AnimatedStyleBuilder.cpp ('k') | no next file » | 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) 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) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 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 24 matching lines...) Expand all
35 class CSSImageValue; 35 class CSSImageValue;
36 class CSSImageGeneratorValue; 36 class CSSImageGeneratorValue;
37 class CSSImageSetValue; 37 class CSSImageSetValue;
38 class CSSSVGDocumentValue; 38 class CSSSVGDocumentValue;
39 class CSSValue; 39 class CSSValue;
40 class FilterOperation; 40 class FilterOperation;
41 class StyleImage; 41 class StyleImage;
42 class TextLinkColors; 42 class TextLinkColors;
43 43
44 typedef WillBePersistentHeapHashMap<FilterOperation*, RefPtrWillBeMember<CSSSVGD ocumentValue> > PendingSVGDocumentMap; 44 typedef WillBePersistentHeapHashMap<FilterOperation*, RefPtrWillBeMember<CSSSVGD ocumentValue> > PendingSVGDocumentMap;
45 typedef HashMap<CSSPropertyID, RefPtr<CSSValue> > PendingImagePropertyMap; 45 typedef WillBePersistentHeapHashMap<CSSPropertyID, RefPtrWillBeMember<CSSValue> > PendingImagePropertyMap;
46 46
47 // Holds information about resources, requested by stylesheets. 47 // Holds information about resources, requested by stylesheets.
48 // Lifetime: per-element style resolve. 48 // Lifetime: per-element style resolve.
49 class ElementStyleResources { 49 class ElementStyleResources {
50 WTF_MAKE_NONCOPYABLE(ElementStyleResources); 50 WTF_MAKE_NONCOPYABLE(ElementStyleResources);
51 public: 51 public:
52 ElementStyleResources(); 52 ElementStyleResources();
53 53
54 PassRefPtr<StyleImage> styleImage(const TextLinkColors&, Color currentColor, CSSPropertyID, CSSValue*); 54 PassRefPtr<StyleImage> styleImage(const TextLinkColors&, Color currentColor, CSSPropertyID, CSSValue*);
55 55
(...skipping 12 matching lines...) Expand all
68 68
69 private: 69 private:
70 PendingImagePropertyMap m_pendingImageProperties; 70 PendingImagePropertyMap m_pendingImageProperties;
71 PendingSVGDocumentMap m_pendingSVGDocuments; 71 PendingSVGDocumentMap m_pendingSVGDocuments;
72 float m_deviceScaleFactor; 72 float m_deviceScaleFactor;
73 }; 73 };
74 74
75 } // namespace WebCore 75 } // namespace WebCore
76 76
77 #endif // ElementStyleResources_h 77 #endif // ElementStyleResources_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/AnimatedStyleBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698