| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
| 7 | 7 |
| 8 #include "base/mac/scoped_nsobject.h" | 8 #include "base/mac/scoped_nsobject.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" | 11 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
| 12 #include "chrome/browser/ui/autofill/autofill_dialog_view.h" | 12 #include "chrome/browser/ui/autofill/autofill_dialog_view.h" |
| 13 #include "chrome/browser/ui/autofill/testable_autofill_dialog_view.h" | 13 #include "chrome/browser/ui/autofill/testable_autofill_dialog_view.h" |
| 14 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h" | |
| 15 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" | 14 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" |
| 16 #include "ui/gfx/size.h" | 15 #include "ui/gfx/size.h" |
| 17 | 16 |
| 18 namespace content { | 17 namespace content { |
| 19 class NavigationController; | 18 class NavigationController; |
| 20 } | 19 } |
| 21 | 20 |
| 22 namespace autofill { | 21 namespace autofill { |
| 23 class AutofillDialogViewDelegate; | 22 class AutofillDialogViewDelegate; |
| 24 } | 23 } |
| 25 | 24 |
| 26 @class AutofillAccountChooser; | |
| 27 @class AutofillDialogWindowController; | 25 @class AutofillDialogWindowController; |
| 28 @class AutofillLoadingShieldController; | |
| 29 @class AutofillMainContainer; | |
| 30 @class AutofillOverlayController; | |
| 31 @class AutofillSignInContainer; | |
| 32 | 26 |
| 33 namespace autofill { | 27 namespace autofill { |
| 34 | 28 |
| 35 class AutofillDialogCocoa : public AutofillDialogView, | 29 class AutofillDialogCocoa : public AutofillDialogView, |
| 36 public TestableAutofillDialogView, | 30 public TestableAutofillDialogView, |
| 37 public ConstrainedWindowMacDelegate { | 31 public ConstrainedWindowMacDelegate { |
| 38 public: | 32 public: |
| 39 explicit AutofillDialogCocoa(AutofillDialogViewDelegate* delegate); | 33 explicit AutofillDialogCocoa(AutofillDialogViewDelegate* delegate); |
| 40 virtual ~AutofillDialogCocoa(); | 34 virtual ~AutofillDialogCocoa(); |
| 41 | 35 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // WeakPtrFactory for deferred close. | 95 // WeakPtrFactory for deferred close. |
| 102 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; | 96 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; |
| 103 | 97 |
| 104 // The delegate |this| queries for logic and state. | 98 // The delegate |this| queries for logic and state. |
| 105 AutofillDialogViewDelegate* delegate_; | 99 AutofillDialogViewDelegate* delegate_; |
| 106 }; | 100 }; |
| 107 | 101 |
| 108 } // autofill | 102 } // autofill |
| 109 | 103 |
| 110 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 104 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
| OLD | NEW |