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

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

Issue 10073018: Add Delete Support to New Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding profile and credit card deleteion Created 8 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Called from our external delegate so they cannot be private. 84 // Called from our external delegate so they cannot be private.
85 virtual void OnFillAutofillFormData(int query_id, 85 virtual void OnFillAutofillFormData(int query_id,
86 const webkit::forms::FormData& form, 86 const webkit::forms::FormData& form,
87 const webkit::forms::FormField& field, 87 const webkit::forms::FormField& field,
88 int unique_id); 88 int unique_id);
89 void OnDidShowAutofillSuggestions(bool is_new_popup); 89 void OnDidShowAutofillSuggestions(bool is_new_popup);
90 void OnDidFillAutofillFormData(const base::TimeTicks& timestamp); 90 void OnDidFillAutofillFormData(const base::TimeTicks& timestamp);
91 void OnShowAutofillDialog(); 91 void OnShowAutofillDialog();
92 void OnDidPreviewAutofillFormData(); 92 void OnDidPreviewAutofillFormData();
93 void OnShowPasswordGenerationPopup(const gfx::Rect& bounds); 93 void OnShowPasswordGenerationPopup(const gfx::Rect& bounds);
94 void RemoveAutofillProfileOrCreditCard(int unique_id);
Ilya Sherman 2012/04/18 18:12:51 nit: Please add a blank line preceding this method
csharp 2012/04/19 15:33:24 Done.
94 95
95 protected: 96 protected:
96 // Only test code should subclass AutofillManager. 97 // Only test code should subclass AutofillManager.
97 friend class base::RefCounted<AutofillManager>; 98 friend class base::RefCounted<AutofillManager>;
98 virtual ~AutofillManager(); 99 virtual ~AutofillManager();
99 100
100 // The string/int pair is composed of the guid string and variant index 101 // The string/int pair is composed of the guid string and variant index
101 // respectively. The variant index is an index into the multi-valued item 102 // respectively. The variant index is an index into the multi-valued item
102 // (where applicable). 103 // (where applicable).
103 typedef std::pair<std::string, size_t> GUIDPair; 104 typedef std::pair<std::string, size_t> GUIDPair;
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 TestTabContentsWithExternalDelegate); 375 TestTabContentsWithExternalDelegate);
375 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, 376 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest,
376 UserHappinessFormLoadAndSubmission); 377 UserHappinessFormLoadAndSubmission);
377 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 378 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
378 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FormFillDuration); 379 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, FormFillDuration);
379 380
380 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 381 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
381 }; 382 };
382 383
383 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 384 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698