| 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" | 14 #import "chrome/browser/ui/cocoa/autofill/autofill_layout.h" |
| 15 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" | 15 #include "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" |
| 16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/size.h" |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 class NavigationController; | 19 class NavigationController; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace autofill { | 22 namespace autofill { |
| 23 class AutofillDialogViewDelegate; | 23 class AutofillDialogViewDelegate; |
| 24 } | 24 } |
| 25 | 25 |
| 26 @class AutofillAccountChooser; | 26 @class AutofillAccountChooser; |
| 27 @class AutofillDialogWindowController; | 27 @class AutofillDialogWindowController; |
| 28 @class AutofillLoadingShieldController; | 28 @class AutofillLoadingShieldController; |
| 29 @class AutofillMainContainer; | 29 @class AutofillMainContainer; |
| 30 @class AutofillOverlayController; | 30 @class AutofillOverlayController; |
| 31 @class AutofillSignInContainer; | 31 @class AutofillSignInContainer; |
| 32 | 32 |
| 33 namespace autofill { | 33 namespace autofill { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 48 virtual void UpdateButtonStrip() OVERRIDE; | 48 virtual void UpdateButtonStrip() OVERRIDE; |
| 49 virtual void UpdateOverlay() OVERRIDE; | 49 virtual void UpdateOverlay() OVERRIDE; |
| 50 virtual void UpdateDetailArea() OVERRIDE; | 50 virtual void UpdateDetailArea() OVERRIDE; |
| 51 virtual void UpdateForErrors() OVERRIDE; | 51 virtual void UpdateForErrors() OVERRIDE; |
| 52 virtual void UpdateNotificationArea() OVERRIDE; | 52 virtual void UpdateNotificationArea() OVERRIDE; |
| 53 virtual void UpdateSection(DialogSection section) OVERRIDE; | 53 virtual void UpdateSection(DialogSection section) OVERRIDE; |
| 54 virtual void UpdateErrorBubble() OVERRIDE; | 54 virtual void UpdateErrorBubble() OVERRIDE; |
| 55 virtual void FillSection(DialogSection section, | 55 virtual void FillSection(DialogSection section, |
| 56 const DetailInput& originating_input) OVERRIDE; | 56 const DetailInput& originating_input) OVERRIDE; |
| 57 virtual void GetUserInput(DialogSection section, | 57 virtual void GetUserInput(DialogSection section, |
| 58 DetailOutputMap* output) OVERRIDE; | 58 FieldValueMap* output) OVERRIDE; |
| 59 virtual string16 GetCvc() OVERRIDE; | 59 virtual string16 GetCvc() OVERRIDE; |
| 60 virtual bool HitTestInput(const DetailInput& input, | 60 virtual bool HitTestInput(const DetailInput& input, |
| 61 const gfx::Point& screen_point) OVERRIDE; | 61 const gfx::Point& screen_point) OVERRIDE; |
| 62 virtual bool SaveDetailsLocally() OVERRIDE; | 62 virtual bool SaveDetailsLocally() OVERRIDE; |
| 63 virtual const content::NavigationController* ShowSignIn() OVERRIDE; | 63 virtual const content::NavigationController* ShowSignIn() OVERRIDE; |
| 64 virtual void HideSignIn() OVERRIDE; | 64 virtual void HideSignIn() OVERRIDE; |
| 65 virtual void ModelChanged() OVERRIDE; | 65 virtual void ModelChanged() OVERRIDE; |
| 66 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; | 66 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; |
| 67 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; | 67 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; |
| 68 | 68 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // WeakPtrFactory for deferred close. | 101 // WeakPtrFactory for deferred close. |
| 102 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; | 102 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; |
| 103 | 103 |
| 104 // The delegate |this| queries for logic and state. | 104 // The delegate |this| queries for logic and state. |
| 105 AutofillDialogViewDelegate* delegate_; | 105 AutofillDialogViewDelegate* delegate_; |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // autofill | 108 } // autofill |
| 109 | 109 |
| 110 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ | 110 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ |
| OLD | NEW |