Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 CGFloat CreateUnattachedCheckboxes( 67 CGFloat CreateUnattachedCheckboxes(
68 CGFloat y_pos, 68 CGFloat y_pos,
69 const MediaGalleriesDialogController::GalleryPermissionsVector& 69 const MediaGalleriesDialogController::GalleryPermissionsVector&
70 permissions); 70 permissions);
71 CGFloat CreateCheckboxSeparator(CGFloat y_pos); 71 CGFloat CreateCheckboxSeparator(CGFloat y_pos);
72 72
73 MediaGalleriesDialogController* controller_; // weak 73 MediaGalleriesDialogController* controller_; // weak
74 scoped_ptr<ConstrainedWindowMac> window_; 74 scoped_ptr<ConstrainedWindowMac> window_;
75 75
76 // The alert that the dialog is being displayed as. 76 // The alert that the dialog is being displayed as.
77 scoped_nsobject<ConstrainedWindowAlert> alert_; 77 base::scoped_nsobject<ConstrainedWindowAlert> alert_;
78 78
79 // True if the user has pressed accept. 79 // True if the user has pressed accept.
80 bool accepted_; 80 bool accepted_;
81 81
82 // List of checkboxes ordered from bottom to top. 82 // List of checkboxes ordered from bottom to top.
83 scoped_nsobject<NSMutableArray> checkboxes_; 83 base::scoped_nsobject<NSMutableArray> checkboxes_;
84 84
85 // Container view for checkboxes. 85 // Container view for checkboxes.
86 scoped_nsobject<NSView> checkbox_container_; 86 base::scoped_nsobject<NSView> checkbox_container_;
87 87
88 // Container view for the main dialog contents. 88 // Container view for the main dialog contents.
89 scoped_nsobject<NSBox> accessory_; 89 base::scoped_nsobject<NSBox> accessory_;
90 90
91 // An Objective-C class to route callbacks from Cocoa code. 91 // An Objective-C class to route callbacks from Cocoa code.
92 scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_; 92 base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa); 94 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa);
95 }; 95 };
96 96
97 } // namespace chrome 97 } // namespace chrome
98 98
99 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ 99 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698