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

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

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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"
11 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h" 11 #include "chrome/browser/media_galleries/media_galleries_dialog_controller.h"
12 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" 12 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h"
13 13
14 @class ConstrainedWindowAlert; 14 @class ConstrainedWindowAlert;
15 @class MediaGalleriesCocoaController; 15 @class MediaGalleriesCocoaController;
16 16
17 namespace chrome {
18
19 class MediaGalleriesDialogBrowserTest; 17 class MediaGalleriesDialogBrowserTest;
20 class MediaGalleriesDialogTest; 18 class MediaGalleriesDialogTest;
21 19
22 // This class displays an alert that can be used to grant permission for 20 // This class displays an alert that can be used to grant permission for
23 // extensions to access a gallery (media folders). 21 // extensions to access a gallery (media folders).
24 class MediaGalleriesDialogCocoa : public ConstrainedWindowMacDelegate, 22 class MediaGalleriesDialogCocoa : public ConstrainedWindowMacDelegate,
25 public MediaGalleriesDialog { 23 public MediaGalleriesDialog {
26 public: 24 public:
27 MediaGalleriesDialogCocoa( 25 MediaGalleriesDialogCocoa(
28 MediaGalleriesDialogController* controller, 26 MediaGalleriesDialogController* controller,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 85
88 // Container view for the main dialog contents. 86 // Container view for the main dialog contents.
89 base::scoped_nsobject<NSBox> accessory_; 87 base::scoped_nsobject<NSBox> accessory_;
90 88
91 // An Objective-C class to route callbacks from Cocoa code. 89 // An Objective-C class to route callbacks from Cocoa code.
92 base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_; 90 base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_;
93 91
94 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa); 92 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa);
95 }; 93 };
96 94
97 } // namespace chrome
98
99 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ 95 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698