Chromium Code Reviews

Side by Side Diff: chrome/browser/autofill/autofill_manager.h

Issue 4591001: Display a warning when autofill is disabled for a website. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile on ChromeOS... Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include <string> 10 #include <string>
(...skipping 32 matching lines...)
43 43
44 // Registers our Enable/Disable AutoFill pref. 44 // Registers our Enable/Disable AutoFill pref.
45 static void RegisterUserPrefs(PrefService* prefs); 45 static void RegisterUserPrefs(PrefService* prefs);
46 46
47 // Returns the TabContents hosting this AutoFillManager. 47 // Returns the TabContents hosting this AutoFillManager.
48 TabContents* tab_contents() const { return tab_contents_; } 48 TabContents* tab_contents() const { return tab_contents_; }
49 49
50 // RenderViewHostDelegate::AutoFill implementation: 50 // RenderViewHostDelegate::AutoFill implementation:
51 virtual void FormSubmitted(const webkit_glue::FormData& form); 51 virtual void FormSubmitted(const webkit_glue::FormData& form);
52 virtual void FormsSeen(const std::vector<webkit_glue::FormData>& forms); 52 virtual void FormsSeen(const std::vector<webkit_glue::FormData>& forms);
53 virtual bool GetAutoFillSuggestions(int query_id, 53 virtual bool GetAutoFillSuggestions(bool field_autofilled,
54 bool field_autofilled,
55 const webkit_glue::FormField& field); 54 const webkit_glue::FormField& field);
56 virtual bool FillAutoFillFormData(int query_id, 55 virtual bool FillAutoFillFormData(int query_id,
57 const webkit_glue::FormData& form, 56 const webkit_glue::FormData& form,
58 int unique_id); 57 int unique_id);
59 virtual void ShowAutoFillDialog(); 58 virtual void ShowAutoFillDialog();
60 59
61 // Called by the AutoFillCCInfoBarDelegate when the user interacts with the 60 // Called by the AutoFillCCInfoBarDelegate when the user interacts with the
62 // infobar. 61 // infobar.
63 virtual void OnInfoBarClosed(bool should_save); 62 virtual void OnInfoBarClosed(bool should_save);
64 63
(...skipping 126 matching lines...)
191 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm); 190 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm);
192 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm); 191 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm);
193 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber); 192 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber);
194 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField); 193 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField);
195 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField); 194 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField);
196 195
197 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); 196 DISALLOW_COPY_AND_ASSIGN(AutoFillManager);
198 }; 197 };
199 198
200 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 199 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete_history_manager.cc ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine