#ifndef CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_
#define CHROME_RENDERER_CHROME_RENDER_FRAME_OBSERVER_H_
#include "content/public/renderer/render_frame_observer.h"
namespace gfx {
class Size;
}
class ChromeRenderFrameObserver : public content::RenderFrameObserver {
public:
explicit ChromeRenderFrameObserver(content::RenderFrame* render_frame);
virtual ~ChromeRenderFrameObserver();
private:
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
void OnSetIsPrerendering(bool is_prerendering);
void OnRequestThumbnailForContextNode(
int thumbnail_min_area_pixels,
const gfx::Size& thumbnail_max_size_pixels);
void OnPrintNodeUnderContextMenu();
DISALLOW_COPY_AND_ASSIGN(ChromeRenderFrameObserver);
};
#endif