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

Side by Side Diff: components/autofill/core/browser/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: 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 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"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 virtual void DidFillOrPreviewField( 166 virtual void DidFillOrPreviewField(
167 const base::string16& autofilled_value, 167 const base::string16& autofilled_value,
168 const base::string16& profile_full_name) = 0; 168 const base::string16& profile_full_name) = 0;
169 169
170 // Informs the client that a user gesture has been observed. 170 // Informs the client that a user gesture has been observed.
171 virtual void OnFirstUserGestureObserved() = 0; 171 virtual void OnFirstUserGestureObserved() = 0;
172 172
173 // Opens |url| with the supplied |disposition|. 173 // Opens |url| with the supplied |disposition|.
174 virtual void LinkClicked(const GURL& url, 174 virtual void LinkClicked(const GURL& url,
175 WindowOpenDisposition disposition) = 0; 175 WindowOpenDisposition disposition) = 0;
176
177 // If the context is secure (secure https, no mixed content)
178 virtual bool IsContextSecure() = 0;
176 }; 179 };
177 180
178 } // namespace autofill 181 } // namespace autofill
179 182
180 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 183 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698