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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed breakages on Android port. Created 5 years, 11 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 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_TEST_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
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
43 const std::vector<base::string16>& values, 43 const std::vector<base::string16>& values,
44 const std::vector<base::string16>& labels) override; 44 const std::vector<base::string16>& labels) override;
45 void HideAutofillPopup() override; 45 void HideAutofillPopup() override;
46 bool IsAutocompleteEnabled() override; 46 bool IsAutocompleteEnabled() override;
47 void DetectAccountCreationForms( 47 void DetectAccountCreationForms(
48 content::RenderFrameHost* rfh, 48 content::RenderFrameHost* rfh,
49 const std::vector<autofill::FormStructure*>& forms) override; 49 const std::vector<autofill::FormStructure*>& forms) override;
50 void DidFillOrPreviewField(const base::string16& autofilled_value, 50 void DidFillOrPreviewField(const base::string16& autofilled_value,
51 const base::string16& profile_full_name) override; 51 const base::string16& profile_full_name) override;
52 void OnFirstUserGestureObserved() override; 52 void OnFirstUserGestureObserved() override;
53 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override;
53 54
54 void SetPrefs(scoped_ptr<PrefService> prefs) { prefs_ = prefs.Pass(); } 55 void SetPrefs(scoped_ptr<PrefService> prefs) { prefs_ = prefs.Pass(); }
55 56
56 private: 57 private:
57 // NULL by default. 58 // NULL by default.
58 scoped_ptr<PrefService> prefs_; 59 scoped_ptr<PrefService> prefs_;
59 60
60 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); 61 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient);
61 }; 62 };
62 63
63 } // namespace autofill 64 } // namespace autofill
64 65
65 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 66 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_client.h ('k') | components/autofill/core/browser/test_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698