#ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
#define CHROME_RENDERER_PEPPER_PEPPER_FLASH_FULLSCREEN_HOST_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ppapi/host/resource_host.h"
namespace content {
class RendererPpapiHost;
}
class PepperFlashFullscreenHost : public ppapi::host::ResourceHost {
public:
PepperFlashFullscreenHost(content::RendererPpapiHost* host,
PP_Instance instance,
PP_Resource resource);
virtual ~PepperFlashFullscreenHost();
virtual int32_t OnResourceMessageReceived(
const IPC::Message& msg,
ppapi::host::HostMessageContext* context) OVERRIDE;
private:
int32_t OnSetFullscreen(ppapi::host::HostMessageContext* context,
bool fullscreen);
content::RendererPpapiHost* renderer_ppapi_host_;
DISALLOW_COPY_AND_ASSIGN(PepperFlashFullscreenHost);
};
#endif