blob: 43bc8a75f7ef8707192a40fa3bde969f5cfa6aa5 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H_
#define CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H_
#include "base/basictypes.h"
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
class BrowserFrame;
class BrowserView;
class ChromeNativeAppWindowViewsWin;
namespace wm {
class VisibilityController;
}
// AppWindowDesktopNativeWidgetAura is a DesktopNativeWidgetAura subclass that
// handles creating the right type of tree hosts for app windows on Windows.
class AppWindowDesktopNativeWidgetAuraWin
: public views::DesktopNativeWidgetAura {
public:
explicit AppWindowDesktopNativeWidgetAuraWin(
ChromeNativeAppWindowViewsWin* app_window);
protected:
virtual ~AppWindowDesktopNativeWidgetAuraWin();
// Overridden from views::DesktopNativeWidgetAura:
virtual void InitNativeWidget(
const views::Widget::InitParams& params) override;
private:
// Ownership managed by the views system.
ChromeNativeAppWindowViewsWin* app_window_;
DISALLOW_COPY_AND_ASSIGN(AppWindowDesktopNativeWidgetAuraWin);
};
#endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H_