OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/views/window/native_frame_view.h" | 9 #include "ui/views/window/native_frame_view.h" |
9 | 10 |
10 namespace extensions { | 11 namespace extensions { |
11 class NativeAppWindow; | 12 class NativeAppWindow; |
12 } | 13 } |
13 | 14 |
14 class Widget; | 15 class Widget; |
15 | 16 |
16 // Provides metrics consistent with a native frame on Mac. The actual frame is | 17 // Provides metrics consistent with a native frame on Mac. The actual frame is |
17 // drawn by NSWindow. | 18 // drawn by NSWindow. |
(...skipping 10 matching lines...) Expand all Loading... |
28 | 29 |
29 private: | 30 private: |
30 // Weak. Owned by extensions::AppWindow (which manages our Widget via its | 31 // Weak. Owned by extensions::AppWindow (which manages our Widget via its |
31 // WebContents). | 32 // WebContents). |
32 extensions::NativeAppWindow* native_app_window_; | 33 extensions::NativeAppWindow* native_app_window_; |
33 | 34 |
34 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowFrameViewMac); | 35 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowFrameViewMac); |
35 }; | 36 }; |
36 | 37 |
37 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_ | 38 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_ |
OLD | NEW |