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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 1136473006: Don't autofill credit cards on non-secure pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove debug code Created 5 years, 7 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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const std::vector<base::string16>& labels) override; 70 const std::vector<base::string16>& labels) override;
71 void HideAutofillPopup() override; 71 void HideAutofillPopup() override;
72 bool IsAutocompleteEnabled() override; 72 bool IsAutocompleteEnabled() override;
73 void PropagateAutofillPredictions( 73 void PropagateAutofillPredictions(
74 content::RenderFrameHost* rfh, 74 content::RenderFrameHost* rfh,
75 const std::vector<autofill::FormStructure*>& forms) override; 75 const std::vector<autofill::FormStructure*>& forms) override;
76 void DidFillOrPreviewField(const base::string16& autofilled_value, 76 void DidFillOrPreviewField(const base::string16& autofilled_value,
77 const base::string16& profile_full_name) override; 77 const base::string16& profile_full_name) override;
78 void OnFirstUserGestureObserved() override; 78 void OnFirstUserGestureObserved() override;
79 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; 79 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override;
80 bool IsContextSecure(const GURL& form_origin) override;
80 81
81 // content::WebContentsObserver implementation. 82 // content::WebContentsObserver implementation.
82 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; 83 void RenderFrameDeleted(content::RenderFrameHost* rfh) override;
83 void DidNavigateAnyFrame( 84 void DidNavigateAnyFrame(
84 content::RenderFrameHost* render_frame_host, 85 content::RenderFrameHost* render_frame_host,
85 const content::LoadCommittedDetails& details, 86 const content::LoadCommittedDetails& details,
86 const content::FrameNavigateParams& params) override; 87 const content::FrameNavigateParams& params) override;
87 void MainFrameWasResized(bool width_changed) override; 88 void MainFrameWasResized(bool width_changed) override;
88 void WebContentsDestroyed() override; 89 void WebContentsDestroyed() override;
89 90
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 134
134 // The identity provider, used for Wallet integration. 135 // The identity provider, used for Wallet integration.
135 scoped_ptr<IdentityProvider> identity_provider_; 136 scoped_ptr<IdentityProvider> identity_provider_;
136 137
137 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 138 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
138 }; 139 };
139 140
140 } // namespace autofill 141 } // namespace autofill
141 142
142 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 143 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698