OLD | NEW |
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 void addToResources(const Resource&, PassRefPtr<const SharedBuffer>, const K
URL&); | 126 void addToResources(const Resource&, PassRefPtr<const SharedBuffer>, const K
URL&); |
127 void addImageToResources(ImageResource*, const KURL&); | 127 void addImageToResources(ImageResource*, const KURL&); |
128 void addFontToResources(FontResource*); | 128 void addFontToResources(FontResource*); |
129 | 129 |
130 void retrieveResourcesForProperties(const StylePropertySet*, Document&); | 130 void retrieveResourcesForProperties(const StylePropertySet*, Document&); |
131 void retrieveResourcesForCSSValue(const CSSValue&, Document&); | 131 void retrieveResourcesForCSSValue(const CSSValue&, Document&); |
132 | 132 |
133 Vector<SerializedResource>* m_resources; | 133 Vector<SerializedResource>* m_resources; |
134 HashSet<KURL> m_resourceURLs; | 134 HashSet<KURL> m_resourceURLs; |
135 | 135 |
| 136 bool m_isSerializingCss; |
| 137 |
136 Delegate& m_delegate; | 138 Delegate& m_delegate; |
137 }; | 139 }; |
138 | 140 |
139 } // namespace blink | 141 } // namespace blink |
140 | 142 |
141 #endif // FrameSerializer_h | 143 #endif // FrameSerializer_h |
OLD | NEW |