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

Side by Side Diff: Source/core/page/PageSerializer.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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
« no previous file with comments | « Source/core/layout/svg/ReferenceFilterBuilder.cpp ('k') | Source/core/page/PageSerializer.cpp » ('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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Serializes the css rule (including any imported stylesheets), adding refe renced resources. 93 // Serializes the css rule (including any imported stylesheets), adding refe renced resources.
94 void serializeCSSRule(CSSRule*); 94 void serializeCSSRule(CSSRule*);
95 95
96 bool shouldAddURL(const KURL&); 96 bool shouldAddURL(const KURL&);
97 97
98 void addToResources(Resource *, PassRefPtr<SharedBuffer>, const KURL&); 98 void addToResources(Resource *, PassRefPtr<SharedBuffer>, const KURL&);
99 void addImageToResources(ImageResource*, LayoutObject*, const KURL&); 99 void addImageToResources(ImageResource*, LayoutObject*, const KURL&);
100 void addFontToResources(FontResource*); 100 void addFontToResources(FontResource*);
101 101
102 void retrieveResourcesForProperties(const StylePropertySet*, Document&); 102 void retrieveResourcesForProperties(const StylePropertySet*, Document&);
103 void retrieveResourcesForCSSValue(CSSValue*, Document&); 103 void retrieveResourcesForCSSValue(CSSValue, Document&);
104 104
105 Vector<SerializedResource>* m_resources; 105 Vector<SerializedResource>* m_resources;
106 ListHashSet<KURL> m_resourceURLs; 106 ListHashSet<KURL> m_resourceURLs;
107 107
108 using BlankFrameURLMap = WillBeHeapHashMap<RawPtrWillBeMember<LocalFrame>, K URL>; 108 using BlankFrameURLMap = WillBeHeapHashMap<RawPtrWillBeMember<LocalFrame>, K URL>;
109 BlankFrameURLMap m_blankFrameURLs; 109 BlankFrameURLMap m_blankFrameURLs;
110 HashMap<String, String> m_rewriteURLs; 110 HashMap<String, String> m_rewriteURLs;
111 String m_rewriteFolder; 111 String m_rewriteFolder;
112 unsigned m_blankFrameCounter; 112 unsigned m_blankFrameCounter;
113 113
114 OwnPtr<Delegate> m_delegate; 114 OwnPtr<Delegate> m_delegate;
115 }; 115 };
116 116
117 } // namespace blink 117 } // namespace blink
118 118
119 #endif // PageSerializer_h 119 #endif // PageSerializer_h
OLDNEW
« no previous file with comments | « Source/core/layout/svg/ReferenceFilterBuilder.cpp ('k') | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698