OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
11 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h" | 12 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h" |
12 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" | 13 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" |
13 #import "chrome/browser/ui/cocoa/extensions/media_gallery_list_entry_view.h" | 14 #import "chrome/browser/ui/cocoa/extensions/media_gallery_list_entry_view.h" |
14 | 15 |
15 @class ConstrainedWindowAlert; | 16 @class ConstrainedWindowAlert; |
16 @class MediaGalleriesCocoaController; | 17 @class MediaGalleriesCocoaController; |
17 @class NSString; | 18 @class NSString; |
18 | 19 |
19 class MediaGalleriesDialogBrowserTest; | 20 class MediaGalleriesDialogBrowserTest; |
20 class MediaGalleriesDialogTest; | 21 class MediaGalleriesDialogTest; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // Container view for the main dialog contents. | 84 // Container view for the main dialog contents. |
84 base::scoped_nsobject<NSBox> main_container_; | 85 base::scoped_nsobject<NSBox> main_container_; |
85 | 86 |
86 // An Objective-C class to route callbacks from Cocoa code. | 87 // An Objective-C class to route callbacks from Cocoa code. |
87 base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_; | 88 base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_; |
88 | 89 |
89 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa); | 90 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa); |
90 }; | 91 }; |
91 | 92 |
92 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ | 93 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ |
OLD | NEW |