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

Side by Side Diff: components/autofill/core/browser/autofill_client.h

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests, respond to review comments, cleanup Created 6 years, 1 month 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
OLDNEW
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_CORE_BROWSER_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 14
15 namespace content {
16 class RenderFrameHost;
17 }
18
15 namespace gfx { 19 namespace gfx {
16 class Rect; 20 class Rect;
17 class RectF; 21 class RectF;
18 } 22 }
19 23
20 class GURL; 24 class GURL;
21 class PrefService; 25 class PrefService;
22 26
23 namespace autofill { 27 namespace autofill {
24 28
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 103
100 // Hide the Autofill popup if one is currently showing. 104 // Hide the Autofill popup if one is currently showing.
101 virtual void HideAutofillPopup() = 0; 105 virtual void HideAutofillPopup() = 0;
102 106
103 // Whether the Autocomplete feature of Autofill should be enabled. 107 // Whether the Autocomplete feature of Autofill should be enabled.
104 virtual bool IsAutocompleteEnabled() = 0; 108 virtual bool IsAutocompleteEnabled() = 0;
105 109
106 // Pass the form structures to the password generation manager to detect 110 // Pass the form structures to the password generation manager to detect
107 // account creation forms. 111 // account creation forms.
108 virtual void DetectAccountCreationForms( 112 virtual void DetectAccountCreationForms(
113 content::RenderFrameHost* rfh,
109 const std::vector<autofill::FormStructure*>& forms) = 0; 114 const std::vector<autofill::FormStructure*>& forms) = 0;
110 115
111 // Inform the client that the field has been filled. 116 // Inform the client that the field has been filled.
112 virtual void DidFillOrPreviewField( 117 virtual void DidFillOrPreviewField(
113 const base::string16& autofilled_value, 118 const base::string16& autofilled_value,
114 const base::string16& profile_full_name) = 0; 119 const base::string16& profile_full_name) = 0;
115 }; 120 };
116 121
117 } // namespace autofill 122 } // namespace autofill
118 123
119 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 124 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698