Chromium Code Reviews| 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 "base/memory/weak_ptr.h" | |
|
Ilya Sherman
2015/01/06 02:54:59
nit: Looks like this is currently unused.
Pritam Nikam
2015/01/06 12:47:42
Done.
| |
| 10 #include "components/autofill/core/common/form_data.h" | 11 #include "components/autofill/core/common/form_data.h" |
| 12 #include "ui/base/window_open_disposition.h" | |
| 11 | 13 |
| 12 namespace base { | 14 namespace base { |
| 13 class SequencedWorkerPool; | 15 class SequencedWorkerPool; |
| 14 } | 16 } |
| 15 | 17 |
| 16 namespace net { | 18 namespace net { |
| 17 class URLRequestContextGetter; | 19 class URLRequestContextGetter; |
| 18 } | 20 } |
| 19 | 21 |
| 20 namespace autofill { | 22 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. | 84 // Tells the renderer to clear the currently previewed Autofill results. |
| 83 virtual void RendererShouldClearPreviewedForm() = 0; | 85 virtual void RendererShouldClearPreviewedForm() = 0; |
| 84 | 86 |
| 85 // Tells the renderer to set the node text. | 87 // Tells the renderer to set the node text. |
| 86 virtual void RendererShouldFillFieldWithValue( | 88 virtual void RendererShouldFillFieldWithValue( |
| 87 const base::string16& value) = 0; | 89 const base::string16& value) = 0; |
| 88 | 90 |
| 89 // Tells the renderer to preview the node with suggested text. | 91 // Tells the renderer to preview the node with suggested text. |
| 90 virtual void RendererShouldPreviewFieldWithValue( | 92 virtual void RendererShouldPreviewFieldWithValue( |
| 91 const base::string16& value) = 0; | 93 const base::string16& value) = 0; |
| 94 | |
| 95 // Opens |url| with the supplied |disposition|. | |
| 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 |