michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_dom_DocumentRendererChild michael@0: #define mozilla_dom_DocumentRendererChild michael@0: michael@0: #include "mozilla/ipc/PDocumentRendererChild.h" michael@0: #include "nsString.h" michael@0: #include "gfxContext.h" michael@0: michael@0: class nsIDOMWindow; michael@0: michael@0: namespace mozilla { michael@0: namespace ipc { michael@0: michael@0: class DocumentRendererChild : public PDocumentRendererChild michael@0: { michael@0: public: michael@0: DocumentRendererChild(); michael@0: virtual ~DocumentRendererChild(); michael@0: michael@0: bool RenderDocument(nsIDOMWindow *window, michael@0: const nsRect& documentRect, const gfx::Matrix& transform, michael@0: const nsString& bgcolor, michael@0: uint32_t renderFlags, bool flushLayout, michael@0: const nsIntSize& renderSize, nsCString& data); michael@0: michael@0: private: michael@0: michael@0: DISALLOW_EVIL_CONSTRUCTORS(DocumentRendererChild); michael@0: }; michael@0: michael@0: } michael@0: } michael@0: michael@0: #endif