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_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 Loading... |
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_ |
OLD | NEW |