| Index: chrome/browser/ui/views/extensions/app_window_views.h
|
| diff --git a/chrome/browser/ui/views/extensions/app_window_views.h b/chrome/browser/ui/views/extensions/app_window_views.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a70d25b933ff09afb9970ccea64e1bec28d59d41
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/extensions/app_window_views.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright (c) 2012 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_EXTENSIONS_APP_WINDOW_VIEWS_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_
|
| +
|
| +#include "chrome/browser/ui/views/extensions/app_base_window_views.h"
|
| +
|
| +// AppBaseWindowViews implementation for default app windows
|
| +// (app window type = "shell")
|
| +class AppWindowViews : public AppBaseWindowViews {
|
| + public:
|
| + AppWindowViews(ShellWindow* shell_window,
|
| + const ShellWindow::CreateParams& params);
|
| + virtual ~AppWindowViews();
|
| +
|
| + // WidgetDelegate implementation.
|
| + virtual views::NonClientFrameView* CreateNonClientFrameView(
|
| + views::Widget* widget) OVERRIDE;
|
| +
|
| + // AppBaseWindowViews implementation.
|
| + virtual void InitializeWindow(const gfx::Rect& initial_bounds) OVERRIDE;
|
| + virtual void OnViewWasResized() OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(AppWindowViews);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_
|
|
|