Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: components/autofill/content/browser/autofill_driver_impl.h

Issue 18693005: Move AutofillMsg_ClearPreviewedForm IPC send to AutofillDriverImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/autofill/content/browser/autofill_driver_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // AutofillDriver: 47 // AutofillDriver:
48 virtual content::WebContents* GetWebContents() OVERRIDE; 48 virtual content::WebContents* GetWebContents() OVERRIDE;
49 virtual bool RendererIsAvailable() OVERRIDE; 49 virtual bool RendererIsAvailable() OVERRIDE;
50 virtual void SetRendererActionOnFormDataReception( 50 virtual void SetRendererActionOnFormDataReception(
51 RendererFormDataAction action) OVERRIDE; 51 RendererFormDataAction action) OVERRIDE;
52 virtual void SendFormDataToRenderer(int query_id, 52 virtual void SendFormDataToRenderer(int query_id,
53 const FormData& data) OVERRIDE; 53 const FormData& data) OVERRIDE;
54 virtual void SendAutofillTypePredictionsToRenderer( 54 virtual void SendAutofillTypePredictionsToRenderer(
55 const std::vector<FormStructure*>& forms) OVERRIDE; 55 const std::vector<FormStructure*>& forms) OVERRIDE;
56 virtual void RendererShouldClearForm() OVERRIDE; 56 virtual void RendererShouldClearFilledForm() OVERRIDE;
57 virtual void RendererShouldClearPreviewedForm() OVERRIDE;
57 58
58 AutofillExternalDelegate* autofill_external_delegate() { 59 AutofillExternalDelegate* autofill_external_delegate() {
59 return autofill_external_delegate_.get(); 60 return autofill_external_delegate_.get();
60 } 61 }
61 62
62 // Sets the external delegate to |delegate| both within this class and in the 63 // Sets the external delegate to |delegate| both within this class and in the
63 // shared Autofill code. Takes ownership of |delegate|. 64 // shared Autofill code. Takes ownership of |delegate|.
64 void SetAutofillExternalDelegate( 65 void SetAutofillExternalDelegate(
65 scoped_ptr<AutofillExternalDelegate> delegate); 66 scoped_ptr<AutofillExternalDelegate> delegate);
66 67
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; 99 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_;
99 100
100 // AutofillManager instance via which this object drives the shared Autofill 101 // AutofillManager instance via which this object drives the shared Autofill
101 // code. 102 // code.
102 scoped_ptr<AutofillManager> autofill_manager_; 103 scoped_ptr<AutofillManager> autofill_manager_;
103 }; 104 };
104 105
105 } // namespace autofill 106 } // namespace autofill
106 107
107 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ 108 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/content/browser/autofill_driver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698