OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_ |
| 7 |
| 8 #include "chrome/browser/ui/views/extensions/app_base_window_views.h" |
| 9 |
| 10 // AppBaseWindowViews implementation for default app windows |
| 11 // (app window type = "shell") |
| 12 class AppWindowViews : public AppBaseWindowViews { |
| 13 public: |
| 14 AppWindowViews(ShellWindow* shell_window, |
| 15 const ShellWindow::CreateParams& params); |
| 16 virtual ~AppWindowViews(); |
| 17 |
| 18 // WidgetDelegate implementation. |
| 19 virtual views::NonClientFrameView* CreateNonClientFrameView( |
| 20 views::Widget* widget) OVERRIDE; |
| 21 |
| 22 // AppBaseWindowViews implementation. |
| 23 virtual void InitializeWindow(const gfx::Rect& initial_bounds) OVERRIDE; |
| 24 virtual void OnViewWasResized() OVERRIDE; |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(AppWindowViews); |
| 28 }; |
| 29 |
| 30 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_APP_WINDOW_VIEWS_H_ |
OLD | NEW |