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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 static ContentAutofillDriver* FromWebContents(content::WebContents* contents); | 43 static ContentAutofillDriver* FromWebContents(content::WebContents* contents); |
44 | 44 |
45 // AutofillDriver: | 45 // AutofillDriver: |
46 virtual bool IsOffTheRecord() const OVERRIDE; | 46 virtual bool IsOffTheRecord() const OVERRIDE; |
47 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; | 47 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; |
48 virtual base::SequencedWorkerPool* GetBlockingPool() OVERRIDE; | 48 virtual base::SequencedWorkerPool* GetBlockingPool() OVERRIDE; |
49 virtual bool RendererIsAvailable() OVERRIDE; | 49 virtual bool RendererIsAvailable() OVERRIDE; |
50 virtual void SendFormDataToRenderer(int query_id, | 50 virtual void SendFormDataToRenderer(int query_id, |
51 RendererFormDataAction action, | 51 RendererFormDataAction action, |
52 const FormData& data) OVERRIDE; | 52 const FormData& data) OVERRIDE; |
| 53 virtual void PingRenderer() OVERRIDE; |
53 virtual void SendAutofillTypePredictionsToRenderer( | 54 virtual void SendAutofillTypePredictionsToRenderer( |
54 const std::vector<FormStructure*>& forms) OVERRIDE; | 55 const std::vector<FormStructure*>& forms) OVERRIDE; |
55 virtual void RendererShouldAcceptDataListSuggestion( | 56 virtual void RendererShouldAcceptDataListSuggestion( |
56 const base::string16& value) OVERRIDE; | 57 const base::string16& value) OVERRIDE; |
57 virtual void RendererShouldClearFilledForm() OVERRIDE; | 58 virtual void RendererShouldClearFilledForm() OVERRIDE; |
58 virtual void RendererShouldClearPreviewedForm() OVERRIDE; | 59 virtual void RendererShouldClearPreviewedForm() OVERRIDE; |
59 virtual void RendererShouldFillFieldWithValue( | 60 virtual void RendererShouldFillFieldWithValue( |
60 const base::string16& value) OVERRIDE; | 61 const base::string16& value) OVERRIDE; |
61 virtual void RendererShouldPreviewFieldWithValue( | 62 virtual void RendererShouldPreviewFieldWithValue( |
62 const base::string16& value) OVERRIDE; | 63 const base::string16& value) OVERRIDE; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // case where the Autofill native UI is enabled. | 101 // case where the Autofill native UI is enabled. |
101 AutofillExternalDelegate autofill_external_delegate_; | 102 AutofillExternalDelegate autofill_external_delegate_; |
102 | 103 |
103 // Driver for the interactive autocomplete dialog. | 104 // Driver for the interactive autocomplete dialog. |
104 RequestAutocompleteManager request_autocomplete_manager_; | 105 RequestAutocompleteManager request_autocomplete_manager_; |
105 }; | 106 }; |
106 | 107 |
107 } // namespace autofill | 108 } // namespace autofill |
108 | 109 |
109 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 110 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
OLD | NEW |