#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
-namespace WebCore {
+namespace blink {
class Document;
class LocalFrame;
WTF_MAKE_NONCOPYABLE(DummyPageHolder);
WTF_MAKE_FAST_ALLOCATED;
public:
- static PassOwnPtr<DummyPageHolder> create(const IntSize& initialViewSize = IntSize());
+ static PassOwnPtr<DummyPageHolder> create(const IntSize& initialViewSize = IntSize(), Page::PageClients* = 0);
~DummyPageHolder();
Page& page() const;
Document& document() const;
private:
- explicit DummyPageHolder(const IntSize& initialViewSize);
+ explicit DummyPageHolder(const IntSize& initialViewSize, Page::PageClients*);
OwnPtrWillBePersistent<Page> m_page;
RefPtr<LocalFrame> m_frame;
EmptyFrameLoaderClient m_frameLoaderClient;
};
-} // namespace WebCore
+} // namespace blink
#endif // DummyPageHolder_h