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" |
| 11 #include "ui/base/window_open_disposition.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
13 class SequencedWorkerPool; | 14 class SequencedWorkerPool; |
14 } | 15 } |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
18 } | 19 } |
19 | 20 |
20 namespace autofill { | 21 namespace autofill { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // Tells the renderer to clear the currently previewed Autofill results. | 83 // Tells the renderer to clear the currently previewed Autofill results. |
83 virtual void RendererShouldClearPreviewedForm() = 0; | 84 virtual void RendererShouldClearPreviewedForm() = 0; |
84 | 85 |
85 // Tells the renderer to set the node text. | 86 // Tells the renderer to set the node text. |
86 virtual void RendererShouldFillFieldWithValue( | 87 virtual void RendererShouldFillFieldWithValue( |
87 const base::string16& value) = 0; | 88 const base::string16& value) = 0; |
88 | 89 |
89 // Tells the renderer to preview the node with suggested text. | 90 // Tells the renderer to preview the node with suggested text. |
90 virtual void RendererShouldPreviewFieldWithValue( | 91 virtual void RendererShouldPreviewFieldWithValue( |
91 const base::string16& value) = 0; | 92 const base::string16& value) = 0; |
| 93 |
| 94 // Opens the help |url| with |disposition| on link click perfromed on the |
| 95 // infobar. |
| 96 virtual void LinkClicked(const GURL& url, |
| 97 WindowOpenDisposition disposition) = 0; |
92 }; | 98 }; |
93 | 99 |
94 } // namespace autofill | 100 } // namespace autofill |
95 | 101 |
96 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ | 102 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DRIVER_H_ |
OLD | NEW |