| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef WebPageSerializer_h | 31 #ifndef WebPageSerializer_h |
| 32 #define WebPageSerializer_h | 32 #define WebPageSerializer_h |
| 33 | 33 |
| 34 #include "../platform/WebCString.h" | 34 #include "../platform/WebCString.h" |
| 35 #include "../platform/WebCommon.h" | 35 #include "../platform/WebCommon.h" |
| 36 #include "../platform/WebURL.h" | 36 #include "../platform/WebURL.h" |
| 37 #include "WebFrame.h" | 37 #include "WebFrame.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 |
| 40 class WebPageSerializerClient; | 41 class WebPageSerializerClient; |
| 41 class WebString; | 42 class WebString; |
| 42 class WebView; | 43 class WebView; |
| 43 template <typename T> class WebVector; | 44 template <typename T> class WebVector; |
| 44 | 45 |
| 45 // Get html data by serializing all frames of current page with lists | 46 // Get html data by serializing all frames of current page with lists |
| 46 // which contain all resource links that have local copy. | 47 // which contain all resource links that have local copy. |
| 47 class WebPageSerializer { | 48 class WebPageSerializer { |
| 48 public: | 49 public: |
| 49 struct Resource { | 50 struct Resource { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 BLINK_EXPORT static WebString generateMetaCharsetDeclaration(const WebString
& charset); | 112 BLINK_EXPORT static WebString generateMetaCharsetDeclaration(const WebString
& charset); |
| 112 // Generate the MOTW declaration. | 113 // Generate the MOTW declaration. |
| 113 BLINK_EXPORT static WebString generateMarkOfTheWebDeclaration(const WebURL&)
; | 114 BLINK_EXPORT static WebString generateMarkOfTheWebDeclaration(const WebURL&)
; |
| 114 // Generate the default base tag declaration. | 115 // Generate the default base tag declaration. |
| 115 BLINK_EXPORT static WebString generateBaseTagDeclaration(const WebString& ba
seTarget); | 116 BLINK_EXPORT static WebString generateBaseTagDeclaration(const WebString& ba
seTarget); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace blink | 119 } // namespace blink |
| 119 | 120 |
| 120 #endif | 121 #endif |
| OLD | NEW |