#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/views/frame/native_browser_frame.h"
#include "ui/views/widget/native_widget_aura.h"
class BrowserFrame;
class BrowserView;
class BrowserFrameAsh : public views::NativeWidgetAura,
public NativeBrowserFrame {
public:
static const char kWindowName[];
BrowserFrameAsh(BrowserFrame* browser_frame, BrowserView* browser_view);
BrowserView* browser_view() const { return browser_view_; }
protected:
virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
virtual bool UsesNativeSystemMenu() const OVERRIDE;
virtual int GetMinimizeButtonOffset() const OVERRIDE;
virtual ~BrowserFrameAsh();
private:
class WindowPropertyWatcher;
void SetWindowAutoManaged();
BrowserView* browser_view_;
DISALLOW_COPY_AND_ASSIGN(BrowserFrameAsh);
};
#endif