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_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual bool SaveDetailsLocally() OVERRIDE; | 96 virtual bool SaveDetailsLocally() OVERRIDE; |
97 virtual const content::NavigationController* ShowSignIn() OVERRIDE; | 97 virtual const content::NavigationController* ShowSignIn() OVERRIDE; |
98 virtual void HideSignIn() OVERRIDE; | 98 virtual void HideSignIn() OVERRIDE; |
99 virtual void ModelChanged() OVERRIDE; | 99 virtual void ModelChanged() OVERRIDE; |
100 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; | 100 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; |
101 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; | 101 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; |
102 | 102 |
103 // TestableAutofillDialogView implementation: | 103 // TestableAutofillDialogView implementation: |
104 virtual void SubmitForTesting() OVERRIDE; | 104 virtual void SubmitForTesting() OVERRIDE; |
105 virtual void CancelForTesting() OVERRIDE; | 105 virtual void CancelForTesting() OVERRIDE; |
106 virtual base::string16 GetTextContentsOfInput( | 106 virtual base::string16 GetTextContentsOfInput(ServerFieldType type) OVERRIDE; |
107 const DetailInput& input) OVERRIDE; | 107 virtual void SetTextContentsOfInput(ServerFieldType type, |
108 virtual void SetTextContentsOfInput(const DetailInput& input, | |
109 const base::string16& contents) OVERRIDE; | 108 const base::string16& contents) OVERRIDE; |
110 virtual void SetTextContentsOfSuggestionInput( | 109 virtual void SetTextContentsOfSuggestionInput( |
111 DialogSection section, | 110 DialogSection section, |
112 const base::string16& text) OVERRIDE; | 111 const base::string16& text) OVERRIDE; |
113 virtual void ActivateInput(const DetailInput& input) OVERRIDE; | 112 virtual void ActivateInput(ServerFieldType type) OVERRIDE; |
114 virtual gfx::Size GetSize() const OVERRIDE; | 113 virtual gfx::Size GetSize() const OVERRIDE; |
115 virtual content::WebContents* GetSignInWebContents() OVERRIDE; | 114 virtual content::WebContents* GetSignInWebContents() OVERRIDE; |
116 virtual bool IsShowingOverlay() const OVERRIDE; | 115 virtual bool IsShowingOverlay() const OVERRIDE; |
117 | 116 |
118 // views::View implementation. | 117 // views::View implementation. |
119 virtual gfx::Size GetPreferredSize() OVERRIDE; | 118 virtual gfx::Size GetPreferredSize() OVERRIDE; |
120 virtual gfx::Size GetMinimumSize() OVERRIDE; | 119 virtual gfx::Size GetMinimumSize() OVERRIDE; |
121 virtual void Layout() OVERRIDE; | 120 virtual void Layout() OVERRIDE; |
122 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE; | 121 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE; |
123 | 122 |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 | 676 |
678 // Delegate for the sign-in dialog's webview. | 677 // Delegate for the sign-in dialog's webview. |
679 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; | 678 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; |
680 | 679 |
681 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 680 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
682 }; | 681 }; |
683 | 682 |
684 } // namespace autofill | 683 } // namespace autofill |
685 | 684 |
686 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 685 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |