OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 void PingRenderer() override; | 52 void PingRenderer() override; |
53 void SendAutofillTypePredictionsToRenderer( | 53 void SendAutofillTypePredictionsToRenderer( |
54 const std::vector<FormStructure*>& forms) override; | 54 const std::vector<FormStructure*>& forms) override; |
55 void RendererShouldAcceptDataListSuggestion( | 55 void RendererShouldAcceptDataListSuggestion( |
56 const base::string16& value) override; | 56 const base::string16& value) override; |
57 void RendererShouldClearFilledForm() override; | 57 void RendererShouldClearFilledForm() override; |
58 void RendererShouldClearPreviewedForm() override; | 58 void RendererShouldClearPreviewedForm() override; |
59 void RendererShouldFillFieldWithValue(const base::string16& value) override; | 59 void RendererShouldFillFieldWithValue(const base::string16& value) override; |
60 void RendererShouldPreviewFieldWithValue( | 60 void RendererShouldPreviewFieldWithValue( |
61 const base::string16& value) override; | 61 const base::string16& value) override; |
| 62 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; |
62 | 63 |
63 AutofillExternalDelegate* autofill_external_delegate() { | 64 AutofillExternalDelegate* autofill_external_delegate() { |
64 return &autofill_external_delegate_; | 65 return &autofill_external_delegate_; |
65 } | 66 } |
66 | 67 |
67 AutofillManager* autofill_manager() { return autofill_manager_.get(); } | 68 AutofillManager* autofill_manager() { return autofill_manager_.get(); } |
68 | 69 |
69 protected: | 70 protected: |
70 ContentAutofillDriver( | 71 ContentAutofillDriver( |
71 content::WebContents* web_contents, | 72 content::WebContents* web_contents, |
(...skipping 24 matching lines...) Expand all Loading... |
96 // case where the Autofill native UI is enabled. | 97 // case where the Autofill native UI is enabled. |
97 AutofillExternalDelegate autofill_external_delegate_; | 98 AutofillExternalDelegate autofill_external_delegate_; |
98 | 99 |
99 // Driver for the interactive autocomplete dialog. | 100 // Driver for the interactive autocomplete dialog. |
100 RequestAutocompleteManager request_autocomplete_manager_; | 101 RequestAutocompleteManager request_autocomplete_manager_; |
101 }; | 102 }; |
102 | 103 |
103 } // namespace autofill | 104 } // namespace autofill |
104 | 105 |
105 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 106 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
OLD | NEW |