| Index: chrome/browser/ui/views/apps/app_window_desktop_native_widget_aura_win.h
|
| diff --git a/chrome/browser/ui/views/apps/app_window_desktop_native_widget_aura_win.h b/chrome/browser/ui/views/apps/app_window_desktop_native_widget_aura_win.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c6c4792e09c537e2103e69724719075f443a426b
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/apps/app_window_desktop_native_widget_aura_win.h
|
| @@ -0,0 +1,44 @@
|
| +// 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 AppWindowDesktopWindowTreeHostWin;
|
| +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_;
|
| + // Owned by the RootWindow.
|
| + AppWindowDesktopWindowTreeHostWin* app_window_desktop_window_tree_host_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AppWindowDesktopNativeWidgetAuraWin);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_NATIVE_WIDGET_AURA_WIN_H_
|
|
|