OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "components/autofill/core/common/form_data.h" | 10 #include "components/autofill/core/common/form_data.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual void RendererShouldClearFilledForm() = 0; | 80 virtual void RendererShouldClearFilledForm() = 0; |
81 | 81 |
82 // Tells the renderer to clear the currently previewed Autofill results. | 82 // Tells the renderer to clear the currently previewed Autofill results. |
83 virtual void RendererShouldClearPreviewedForm() = 0; | 83 virtual void RendererShouldClearPreviewedForm() = 0; |
84 | 84 |
85 // Tells the renderer to set the node text. | 85 // Tells the renderer to set the node text. |
86 virtual void RendererShouldFillFieldWithValue( | 86 virtual void RendererShouldFillFieldWithValue( |
87 const base::string16& value) = 0; | 87 const base::string16& value) = 0; |
88 | 88 |
89 // Tells the renderer to preview the node with suggested text. | 89 // Tells the renderer to preview the node with suggested text. |
90 virtual void RendererShouldPreviewFieldWithValue( | 90 virtual void RendererShouldPreviewFieldWithValue(const base::string16& value, |
91 const base::string16& value) = 0; | 91 size_t match_start) = 0; |
92 | 92 |
93 // Informs the renderer that the popup has been hidden. | 93 // Informs the renderer that the popup has been hidden. |
94 virtual void PopupHidden() = 0; | 94 virtual void PopupHidden() = 0; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace autofill | 97 } // namespace autofill |
98 | 98 |
99 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ | 99 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ |
OLD | NEW |