#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_WEB_VIEW_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/views/controls/webview/webview.h"
class StatusBubbleViews;
class ContentsWebView : public views::WebView {
public:
explicit ContentsWebView(content::BrowserContext* browser_context);
virtual ~ContentsWebView();
void SetStatusBubble(StatusBubbleViews* status_bubble);
virtual bool NeedsNotificationWhenVisibleBoundsChange() const OVERRIDE;
virtual void OnVisibleBoundsChanged() OVERRIDE;
virtual void ViewHierarchyChanged(const ViewHierarchyChangedDetails& details)
OVERRIDE;
virtual void OnThemeChanged() OVERRIDE;
private:
StatusBubbleViews* status_bubble_;
DISALLOW_COPY_AND_ASSIGN(ContentsWebView);
};
#endif