#ifndef CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_
#define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_VIEW_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "content/public/browser/web_contents_delegate.h"
#include "ui/views/view.h"
class Profile;
namespace content {
class BrowserContext;
}
namespace views {
class WebView;
}
namespace chromeos {
class FirstRunActor;
class FirstRunView : public views::View,
public content::WebContentsDelegate {
public:
FirstRunView();
void Init(content::BrowserContext* context);
FirstRunActor* GetActor();
virtual void Layout() OVERRIDE;
virtual void RequestFocus() OVERRIDE;
content::WebContents* GetWebContents();
private:
virtual bool HandleContextMenu(
const content::ContextMenuParams& params) OVERRIDE;
virtual bool PreHandleGestureEvent(
content::WebContents* source,
const blink::WebGestureEvent& event) OVERRIDE;
views::WebView* web_view_;
DISALLOW_COPY_AND_ASSIGN(FirstRunView);
};
}
#endif