| Index: chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| diff --git a/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h b/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| index b3001805eb0b48de88ce713bbccc603a89c1fe68..98c9b09421233b851f0d4ef591464a6bfaafa071 100644
|
| --- a/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| +++ b/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| @@ -18,9 +18,11 @@ class NSAlert;
|
| class JavaScriptAppModalDialogHelper;
|
| #endif
|
|
|
| -class JavaScriptAppModalDialogCocoa : public NativeAppModalDialog {
|
| +class JavaScriptAppModalDialogCocoa
|
| + : public app_modal_dialogs::NativeAppModalDialog {
|
| public:
|
| - explicit JavaScriptAppModalDialogCocoa(JavaScriptAppModalDialog* dialog);
|
| + explicit JavaScriptAppModalDialogCocoa(
|
| + app_modal_dialogs::JavaScriptAppModalDialog* dialog);
|
| virtual ~JavaScriptAppModalDialogCocoa();
|
|
|
| // Overridden from NativeAppModalDialog:
|
| @@ -31,13 +33,15 @@ class JavaScriptAppModalDialogCocoa : public NativeAppModalDialog {
|
| void AcceptAppModalDialog() override;
|
| void CancelAppModalDialog() override;
|
|
|
| - JavaScriptAppModalDialog* dialog() const { return dialog_.get(); }
|
| + app_modal_dialogs::JavaScriptAppModalDialog* dialog() const {
|
| + return dialog_.get();
|
| + }
|
|
|
| private:
|
| // Returns the NSAlert associated with the modal dialog.
|
| NSAlert* GetAlert() const;
|
|
|
| - scoped_ptr<JavaScriptAppModalDialog> dialog_;
|
| + scoped_ptr<app_modal_dialogs::JavaScriptAppModalDialog> dialog_;
|
|
|
| // Created in the constructor and destroyed in the destructor.
|
| base::scoped_nsobject<JavaScriptAppModalDialogHelper> helper_;
|
|
|