| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #include "core/dom/DocumentType.h" | 85 #include "core/dom/DocumentType.h" |
| 86 #include "core/dom/Element.h" | 86 #include "core/dom/Element.h" |
| 87 #include "core/editing/markup.h" | 87 #include "core/editing/markup.h" |
| 88 #include "core/html/HTMLAllCollection.h" | 88 #include "core/html/HTMLAllCollection.h" |
| 89 #include "core/html/HTMLElement.h" | 89 #include "core/html/HTMLElement.h" |
| 90 #include "core/html/HTMLFormElement.h" | 90 #include "core/html/HTMLFormElement.h" |
| 91 #include "core/html/HTMLHtmlElement.h" | 91 #include "core/html/HTMLHtmlElement.h" |
| 92 #include "core/html/HTMLMetaElement.h" | 92 #include "core/html/HTMLMetaElement.h" |
| 93 #include "core/loader/DocumentLoader.h" | 93 #include "core/loader/DocumentLoader.h" |
| 94 #include "core/loader/FrameLoader.h" | 94 #include "core/loader/FrameLoader.h" |
| 95 #include "public/platform/WebURL.h" | |
| 96 #include "public/platform/WebVector.h" | 95 #include "public/platform/WebVector.h" |
| 97 #include "weborigin/KURL.h" | 96 #include "weborigin/KURL.h" |
| 98 #include "wtf/text/TextEncoding.h" | 97 #include "wtf/text/TextEncoding.h" |
| 99 | 98 |
| 100 using namespace WebCore; | 99 using namespace WebCore; |
| 101 | 100 |
| 102 namespace blink { | 101 namespace blink { |
| 103 | 102 |
| 104 // Maximum length of data buffer which is used to temporary save generated | 103 // Maximum length of data buffer which is used to temporary save generated |
| 105 // html content data. This is a soft limit which might be passed if a very large | 104 // html content data. This is a soft limit which might be passed if a very large |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 | 519 |
| 521 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p
aram, ForceFlush); | 520 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p
aram, ForceFlush); |
| 522 } | 521 } |
| 523 | 522 |
| 524 ASSERT(m_dataBuffer.isEmpty()); | 523 ASSERT(m_dataBuffer.isEmpty()); |
| 525 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali
zerClient::AllFramesAreFinished); | 524 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali
zerClient::AllFramesAreFinished); |
| 526 return didSerialization; | 525 return didSerialization; |
| 527 } | 526 } |
| 528 | 527 |
| 529 } // namespace blink | 528 } // namespace blink |
| OLD | NEW |