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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 class ImageResource; | 43 class ImageResource; |
44 class CSSStyleSheet; | 44 class CSSStyleSheet; |
45 class CSSValue; | 45 class CSSValue; |
46 class Document; | 46 class Document; |
47 class LocalFrame; | 47 class LocalFrame; |
48 class Page; | 48 class Page; |
49 class RenderObject; | 49 class RenderObject; |
50 class Resource; | 50 class Resource; |
51 class SharedBuffer; | 51 class SharedBuffer; |
52 class StylePropertySet; | 52 class StylePropertySet; |
53 class StyleRule; | |
54 class StyleRuleFontFace; | |
55 | 53 |
56 struct SerializedResource; | 54 struct SerializedResource; |
57 | 55 |
58 // This class is used to serialize a page contents back to text (typically HTML)
. | 56 // This class is used to serialize a page contents back to text (typically HTML)
. |
59 // It serializes all the page frames and retrieves resources such as images and
CSS stylesheets. | 57 // It serializes all the page frames and retrieves resources such as images and
CSS stylesheets. |
60 class PageSerializer { | 58 class PageSerializer { |
61 public: | 59 public: |
62 explicit PageSerializer(Vector<SerializedResource>*); | 60 explicit PageSerializer(Vector<SerializedResource>*); |
63 | 61 |
64 // Initiates the serialization of the frame's page. All serialized content a
nd retrieved | 62 // Initiates the serialization of the frame's page. All serialized content a
nd retrieved |
(...skipping 21 matching lines...) Expand all Loading... |
86 | 84 |
87 Vector<SerializedResource>* m_resources; | 85 Vector<SerializedResource>* m_resources; |
88 ListHashSet<KURL> m_resourceURLs; | 86 ListHashSet<KURL> m_resourceURLs; |
89 HashMap<LocalFrame*, KURL> m_blankFrameURLs; | 87 HashMap<LocalFrame*, KURL> m_blankFrameURLs; |
90 unsigned m_blankFrameCounter; | 88 unsigned m_blankFrameCounter; |
91 }; | 89 }; |
92 | 90 |
93 } | 91 } |
94 | 92 |
95 #endif | 93 #endif |
OLD | NEW |