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/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 ExtensionInstallViewController* view_controller() const { | 50 ExtensionInstallViewController* view_controller() const { |
51 return view_controller_; | 51 return view_controller_; |
52 } | 52 } |
53 | 53 |
54 private: | 54 private: |
55 void OnPromptButtonClicked(ExtensionInstallPrompt::Result result, | 55 void OnPromptButtonClicked(ExtensionInstallPrompt::Result result, |
56 const char* decision_event); | 56 const char* decision_event); |
57 | 57 |
58 ExtensionInstallPrompt::DoneCallback done_callback_; | 58 ExtensionInstallPrompt::DoneCallback done_callback_; |
59 base::scoped_nsobject<ExtensionInstallViewController> view_controller_; | 59 base::scoped_nsobject<ExtensionInstallViewController> view_controller_; |
60 std::unique_ptr<ConstrainedWindowMac> constrained_window_; | 60 scoped_ptr<ConstrainedWindowMac> constrained_window_; |
61 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; | 61 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(ExtensionInstallDialogController); | 63 DISALLOW_COPY_AND_ASSIGN(ExtensionInstallDialogController); |
64 }; | 64 }; |
65 | 65 |
66 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE
R_H_ | 66 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE
R_H_ |
OLD | NEW |