| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 namespace WTF{ | 47 namespace WTF{ |
| 48 class TextEncoding; | 48 class TextEncoding; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace WebCore { | 51 namespace WebCore { |
| 52 class Document; | 52 class Document; |
| 53 class Element; | 53 class Element; |
| 54 class Node; | 54 class Node; |
| 55 } | 55 } |
| 56 | 56 |
| 57 namespace WebKit { | 57 namespace blink { |
| 58 class WebFrameImpl; | 58 class WebFrameImpl; |
| 59 | 59 |
| 60 // Get html data by serializing all frames of current page with lists | 60 // Get html data by serializing all frames of current page with lists |
| 61 // which contain all resource links that have local copy. | 61 // which contain all resource links that have local copy. |
| 62 // contain all saved auxiliary files included all sub frames and resources. | 62 // contain all saved auxiliary files included all sub frames and resources. |
| 63 // This function will find out all frames and serialize them to HTML data. | 63 // This function will find out all frames and serialize them to HTML data. |
| 64 // We have a data buffer to temporary saving generated html data. We will | 64 // We have a data buffer to temporary saving generated html data. We will |
| 65 // sequentially call WebViewDelegate::SendSerializedHtmlData once the data | 65 // sequentially call WebViewDelegate::SendSerializedHtmlData once the data |
| 66 // buffer is full. See comments of WebViewDelegate::SendSerializedHtmlData | 66 // buffer is full. See comments of WebViewDelegate::SendSerializedHtmlData |
| 67 // for getting more information. | 67 // for getting more information. |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 void openTagToString(WebCore::Element*, | 180 void openTagToString(WebCore::Element*, |
| 181 SerializeDomParam* param); | 181 SerializeDomParam* param); |
| 182 // Serialize end tag of an specified element. | 182 // Serialize end tag of an specified element. |
| 183 void endTagToString(WebCore::Element*, | 183 void endTagToString(WebCore::Element*, |
| 184 SerializeDomParam* param); | 184 SerializeDomParam* param); |
| 185 // Build content for a specified node | 185 // Build content for a specified node |
| 186 void buildContentForNode(WebCore::Node*, | 186 void buildContentForNode(WebCore::Node*, |
| 187 SerializeDomParam* param); | 187 SerializeDomParam* param); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace WebKit | 190 } // namespace blink |
| 191 | 191 |
| 192 #endif | 192 #endif |
| OLD | NEW |