| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ActivateInput(const DetailInput& input) OVERRIDE; | 105 virtual void ActivateInput(const DetailInput& input) OVERRIDE; |
| 106 virtual gfx::Size GetSize() const OVERRIDE; | 106 virtual gfx::Size GetSize() const OVERRIDE; |
| 107 virtual void SetCvc(const base::string16& cvc) OVERRIDE; |
| 107 | 108 |
| 108 // ui::AcceleratorTarget implementation: | 109 // ui::AcceleratorTarget implementation: |
| 109 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; | 110 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
| 110 virtual bool CanHandleAccelerators() const OVERRIDE; | 111 virtual bool CanHandleAccelerators() const OVERRIDE; |
| 111 | 112 |
| 112 // views::DialogDelegate implementation: | 113 // views::DialogDelegate implementation: |
| 113 virtual string16 GetWindowTitle() const OVERRIDE; | 114 virtual string16 GetWindowTitle() const OVERRIDE; |
| 114 virtual void WindowClosing() OVERRIDE; | 115 virtual void WindowClosing() OVERRIDE; |
| 115 virtual void DeleteDelegate() OVERRIDE; | 116 virtual void DeleteDelegate() OVERRIDE; |
| 116 virtual views::Widget* GetWidget() OVERRIDE; | 117 virtual views::Widget* GetWidget() OVERRIDE; |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 | 598 |
| 598 // Delegate for the sign-in dialog's webview. | 599 // Delegate for the sign-in dialog's webview. |
| 599 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; | 600 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; |
| 600 | 601 |
| 601 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 602 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
| 602 }; | 603 }; |
| 603 | 604 |
| 604 } // namespace autofill | 605 } // namespace autofill |
| 605 | 606 |
| 606 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 607 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
| OLD | NEW |