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 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 virtual void ModelChanged() OVERRIDE; | 95 virtual void ModelChanged() OVERRIDE; |
96 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; | 96 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; |
97 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; | 97 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; |
98 | 98 |
99 // TestableAutofillDialogView implementation: | 99 // TestableAutofillDialogView implementation: |
100 virtual void SubmitForTesting() OVERRIDE; | 100 virtual void SubmitForTesting() OVERRIDE; |
101 virtual void CancelForTesting() OVERRIDE; | 101 virtual void CancelForTesting() OVERRIDE; |
102 virtual string16 GetTextContentsOfInput(const DetailInput& input) OVERRIDE; | 102 virtual string16 GetTextContentsOfInput(const DetailInput& input) OVERRIDE; |
103 virtual void SetTextContentsOfInput(const DetailInput& input, | 103 virtual void SetTextContentsOfInput(const DetailInput& input, |
104 const string16& contents) OVERRIDE; | 104 const string16& contents) OVERRIDE; |
| 105 virtual void SetTextContentsOfSuggestionInput( |
| 106 DialogSection section, |
| 107 const base::string16& text) OVERRIDE; |
105 virtual void ActivateInput(const DetailInput& input) OVERRIDE; | 108 virtual void ActivateInput(const DetailInput& input) OVERRIDE; |
106 virtual gfx::Size GetSize() const OVERRIDE; | 109 virtual gfx::Size GetSize() const OVERRIDE; |
107 | 110 |
108 // ui::AcceleratorTarget implementation: | 111 // ui::AcceleratorTarget implementation: |
109 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; | 112 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
110 virtual bool CanHandleAccelerators() const OVERRIDE; | 113 virtual bool CanHandleAccelerators() const OVERRIDE; |
111 | 114 |
112 // views::DialogDelegate implementation: | 115 // views::DialogDelegate implementation: |
113 virtual string16 GetWindowTitle() const OVERRIDE; | 116 virtual string16 GetWindowTitle() const OVERRIDE; |
114 virtual void WindowClosing() OVERRIDE; | 117 virtual void WindowClosing() OVERRIDE; |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 | 600 |
598 // Delegate for the sign-in dialog's webview. | 601 // Delegate for the sign-in dialog's webview. |
599 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; | 602 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; |
600 | 603 |
601 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 604 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
602 }; | 605 }; |
603 | 606 |
604 } // namespace autofill | 607 } // namespace autofill |
605 | 608 |
606 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 609 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |