2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-03-24 03:47:18 -07:00
|
|
|
|
|
|
|
#ifndef mozilla_dom_DocumentRendererShmemChild
|
|
|
|
#define mozilla_dom_DocumentRendererShmemChild
|
|
|
|
|
|
|
|
#include "mozilla/ipc/PDocumentRendererShmemChild.h"
|
|
|
|
|
|
|
|
class nsIDOMWindow;
|
2010-07-16 23:59:36 -07:00
|
|
|
struct gfxMatrix;
|
2010-03-24 03:47:18 -07:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace ipc {
|
|
|
|
|
|
|
|
class DocumentRendererShmemChild : public PDocumentRendererShmemChild
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DocumentRendererShmemChild();
|
|
|
|
virtual ~DocumentRendererShmemChild();
|
|
|
|
|
2012-08-22 08:56:38 -07:00
|
|
|
bool RenderDocument(nsIDOMWindow *window, const int32_t& x,
|
|
|
|
const int32_t& y, const int32_t& w,
|
|
|
|
const int32_t& h, const nsString& aBGColor,
|
|
|
|
const uint32_t& flags, const bool& flush,
|
2010-03-24 03:47:18 -07:00
|
|
|
const gfxMatrix& aMatrix,
|
|
|
|
Shmem& data);
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
DISALLOW_EVIL_CONSTRUCTORS(DocumentRendererShmemChild);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|