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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.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_EXTENSION_INSTALL_DIALOG_CONTROLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #include "chrome/browser/extensions/extension_install_prompt.h" 11 #include "chrome/browser/extensions/extension_install_prompt.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 namespace content { 14 namespace content {
15 class PageNavigator; 15 class PageNavigator;
16 class WebContents; 16 class WebContents;
17 } 17 }
18 18
19 @class ExtensionInstallViewController; 19 @class ExtensionInstallViewController;
20 20
(...skipping 18 matching lines...) Expand all
39 39
40 ConstrainedWindowMac* constrained_window() const { 40 ConstrainedWindowMac* constrained_window() const {
41 return constrained_window_.get(); 41 return constrained_window_.get();
42 } 42 }
43 ExtensionInstallViewController* view_controller() const { 43 ExtensionInstallViewController* view_controller() const {
44 return view_controller_; 44 return view_controller_;
45 } 45 }
46 46
47 private: 47 private:
48 ExtensionInstallPrompt::Delegate* delegate_; 48 ExtensionInstallPrompt::Delegate* delegate_;
49 scoped_nsobject<ExtensionInstallViewController> view_controller_; 49 base::scoped_nsobject<ExtensionInstallViewController> view_controller_;
50 scoped_ptr<ConstrainedWindowMac> constrained_window_; 50 scoped_ptr<ConstrainedWindowMac> constrained_window_;
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE R_H_ 53 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698