OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/gfx/geometry/insets.h" | 9 #include "ui/gfx/geometry/insets.h" |
9 #include "ui/views/window/non_client_view.h" | 10 #include "ui/views/window/non_client_view.h" |
10 | 11 |
11 namespace extensions { | 12 namespace extensions { |
12 class NativeAppWindow; | 13 class NativeAppWindow; |
13 } | 14 } |
14 | 15 |
15 // A glass style app window frame view. | 16 // A glass style app window frame view. |
16 class GlassAppWindowFrameViewWin : public views::NonClientFrameView { | 17 class GlassAppWindowFrameViewWin : public views::NonClientFrameView { |
17 public: | 18 public: |
(...skipping 23 matching lines...) Expand all Loading... |
41 gfx::Size GetMinimumSize() const override; | 42 gfx::Size GetMinimumSize() const override; |
42 gfx::Size GetMaximumSize() const override; | 43 gfx::Size GetMaximumSize() const override; |
43 | 44 |
44 extensions::NativeAppWindow* window_; | 45 extensions::NativeAppWindow* window_; |
45 views::Widget* widget_; | 46 views::Widget* widget_; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(GlassAppWindowFrameViewWin); | 48 DISALLOW_COPY_AND_ASSIGN(GlassAppWindowFrameViewWin); |
48 }; | 49 }; |
49 | 50 |
50 #endif // CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ | 51 #endif // CHROME_BROWSER_UI_VIEWS_APPS_GLASS_APP_WINDOW_FRAME_VIEW_WIN_H_ |
OLD | NEW |