| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // override the incorrect base URL and make sure we alway load correct local | 75 // override the incorrect base URL and make sure we alway load correct local |
| 76 // saved resource files. | 76 // saved resource files. |
| 77 | 77 |
| 78 #include "config.h" | 78 #include "config.h" |
| 79 #include "web/WebPageSerializerImpl.h" | 79 #include "web/WebPageSerializerImpl.h" |
| 80 | 80 |
| 81 #include "core/HTMLNames.h" | 81 #include "core/HTMLNames.h" |
| 82 #include "core/dom/Document.h" | 82 #include "core/dom/Document.h" |
| 83 #include "core/dom/DocumentType.h" | 83 #include "core/dom/DocumentType.h" |
| 84 #include "core/dom/Element.h" | 84 #include "core/dom/Element.h" |
| 85 #include "core/editing/Serialization.h" | 85 #include "core/editing/serializers/Serialization.h" |
| 86 #include "core/html/HTMLAllCollection.h" | 86 #include "core/html/HTMLAllCollection.h" |
| 87 #include "core/html/HTMLElement.h" | 87 #include "core/html/HTMLElement.h" |
| 88 #include "core/html/HTMLFormElement.h" | 88 #include "core/html/HTMLFormElement.h" |
| 89 #include "core/html/HTMLHtmlElement.h" | 89 #include "core/html/HTMLHtmlElement.h" |
| 90 #include "core/html/HTMLMetaElement.h" | 90 #include "core/html/HTMLMetaElement.h" |
| 91 #include "core/loader/DocumentLoader.h" | 91 #include "core/loader/DocumentLoader.h" |
| 92 #include "core/loader/FrameLoader.h" | 92 #include "core/loader/FrameLoader.h" |
| 93 #include "public/platform/WebVector.h" | 93 #include "public/platform/WebVector.h" |
| 94 #include "web/WebLocalFrameImpl.h" | 94 #include "web/WebLocalFrameImpl.h" |
| 95 #include "wtf/text/TextEncoding.h" | 95 #include "wtf/text/TextEncoding.h" |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 | 511 |
| 512 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p
aram, ForceFlush); | 512 encodeAndFlushBuffer(WebPageSerializerClient::CurrentFrameIsFinished, &p
aram, ForceFlush); |
| 513 } | 513 } |
| 514 | 514 |
| 515 ASSERT(m_dataBuffer.isEmpty()); | 515 ASSERT(m_dataBuffer.isEmpty()); |
| 516 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali
zerClient::AllFramesAreFinished); | 516 m_client->didSerializeDataForFrame(KURL(), WebCString("", 0), WebPageSeriali
zerClient::AllFramesAreFinished); |
| 517 return didSerialization; | 517 return didSerialization; |
| 518 } | 518 } |
| 519 | 519 |
| 520 } // namespace blink | 520 } // namespace blink |
| OLD | NEW |