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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual void ModelChanged() OVERRIDE; | 96 virtual void ModelChanged() OVERRIDE; |
97 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; | 97 virtual TestableAutofillDialogView* GetTestableView() OVERRIDE; |
98 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; | 98 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; |
99 | 99 |
100 // TestableAutofillDialogView implementation: | 100 // TestableAutofillDialogView implementation: |
101 virtual void SubmitForTesting() OVERRIDE; | 101 virtual void SubmitForTesting() OVERRIDE; |
102 virtual void CancelForTesting() OVERRIDE; | 102 virtual void CancelForTesting() OVERRIDE; |
103 virtual string16 GetTextContentsOfInput(const DetailInput& input) OVERRIDE; | 103 virtual string16 GetTextContentsOfInput(const DetailInput& input) OVERRIDE; |
104 virtual void SetTextContentsOfInput(const DetailInput& input, | 104 virtual void SetTextContentsOfInput(const DetailInput& input, |
105 const string16& contents) OVERRIDE; | 105 const string16& contents) OVERRIDE; |
| 106 virtual void SetTextContentsOfSuggestionInput( |
| 107 DialogSection section, |
| 108 const base::string16& text) OVERRIDE; |
106 virtual void ActivateInput(const DetailInput& input) OVERRIDE; | 109 virtual void ActivateInput(const DetailInput& input) OVERRIDE; |
107 virtual gfx::Size GetSize() const OVERRIDE; | 110 virtual gfx::Size GetSize() const OVERRIDE; |
108 | 111 |
109 // ui::AcceleratorTarget implementation: | 112 // ui::AcceleratorTarget implementation: |
110 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; | 113 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
111 virtual bool CanHandleAccelerators() const OVERRIDE; | 114 virtual bool CanHandleAccelerators() const OVERRIDE; |
112 | 115 |
113 // views::DialogDelegate implementation: | 116 // views::DialogDelegate implementation: |
114 virtual string16 GetWindowTitle() const OVERRIDE; | 117 virtual string16 GetWindowTitle() const OVERRIDE; |
115 virtual void WindowClosing() OVERRIDE; | 118 virtual void WindowClosing() OVERRIDE; |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 | 637 |
635 // Delegate for the sign-in dialog's webview. | 638 // Delegate for the sign-in dialog's webview. |
636 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; | 639 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; |
637 | 640 |
638 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 641 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
639 }; | 642 }; |
640 | 643 |
641 } // namespace autofill | 644 } // namespace autofill |
642 | 645 |
643 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 646 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |