| Index: trunk/public/web/WebPageSerializer.h
|
| ===================================================================
|
| --- trunk/public/web/WebPageSerializer.h (revision 162155)
|
| +++ trunk/public/web/WebPageSerializer.h (working copy)
|
| @@ -89,11 +89,29 @@
|
| // The parameter localDirectoryName is relative path of directory which
|
| // contain all saved auxiliary files included all sub frames and resources.
|
| BLINK_EXPORT static bool serialize(WebFrame*,
|
| - bool recursive,
|
| - WebPageSerializerClient*,
|
| - const WebVector<WebURL>& links,
|
| - const WebVector<WebString>& localPaths,
|
| - const WebString& localDirectoryName);
|
| + bool recursive,
|
| + WebPageSerializerClient*,
|
| + const WebVector<WebURL>& links,
|
| + const WebVector<WebString>& localPaths,
|
| + const WebString& localDirectoryName);
|
| +
|
| + // Retrieve all the resource for the passed view, including the main frame
|
| + // and sub-frames. Returns true if all resources were retrieved
|
| + // successfully.
|
| + BLINK_EXPORT static bool retrieveAllResources(WebView*,
|
| + const WebVector<WebCString>& supportedSchemes,
|
| + WebVector<WebURL>* resources,
|
| + WebVector<WebURL>* frames);
|
| +
|
| + // FIXME: The following are here for unit testing purposes. Consider
|
| + // changing the unit tests instead.
|
| +
|
| + // Generate the META for charset declaration.
|
| + BLINK_EXPORT static WebString generateMetaCharsetDeclaration(const WebString& charset);
|
| + // Generate the MOTW declaration.
|
| + BLINK_EXPORT static WebString generateMarkOfTheWebDeclaration(const WebURL&);
|
| + // Generate the default base tag declaration.
|
| + BLINK_EXPORT static WebString generateBaseTagDeclaration(const WebString& baseTarget);
|
| };
|
|
|
| } // namespace blink
|
|
|
| Property changes on: trunk/public/web/WebPageSerializer.h
|
| ___________________________________________________________________
|
| Modified: svn:eol-style
|
| - LF
|
| + native
|
|
|
|
|