| 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_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ |
| 7 | 7 |
| 8 namespace autofill { | 8 namespace autofill { |
| 9 | 9 |
| 10 // Functions that an AutofillDialogView implementation should implement in order | 10 // Functions that an AutofillDialogView implementation should implement in order |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 // Sets the actual contents of the input which is modelled by |input|. | 25 // Sets the actual contents of the input which is modelled by |input|. |
| 26 virtual void SetTextContentsOfInput(const DetailInput& input, | 26 virtual void SetTextContentsOfInput(const DetailInput& input, |
| 27 const string16& contents) = 0; | 27 const string16& contents) = 0; |
| 28 | 28 |
| 29 // Simulates a user activatino of the input which is modelled by |input|. | 29 // Simulates a user activatino of the input which is modelled by |input|. |
| 30 virtual void ActivateInput(const DetailInput& input) = 0; | 30 virtual void ActivateInput(const DetailInput& input) = 0; |
| 31 | 31 |
| 32 // Get the size of the entire view. | 32 // Get the size of the entire view. |
| 33 virtual gfx::Size GetSize() const = 0; | 33 virtual gfx::Size GetSize() const = 0; |
| 34 |
| 35 // Sets the content of the CVC extra field (only applicable to Autofill). |
| 36 virtual void SetCvc(const base::string16& cvc) = 0; |
| 34 }; | 37 }; |
| 35 | 38 |
| 36 } // namespace autofill | 39 } // namespace autofill |
| 37 | 40 |
| 38 #endif // CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ | 41 #endif // CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ |
| OLD | NEW |