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

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

Issue 1361253002: Separate the URL of an infobar link with clicking on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting Created 5 years, 2 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 const std::vector<autofill::FormStructure*>& forms) = 0; 164 const std::vector<autofill::FormStructure*>& forms) = 0;
165 165
166 // Inform the client that the field has been filled. 166 // Inform the client that the field has been filled.
167 virtual void DidFillOrPreviewField( 167 virtual void DidFillOrPreviewField(
168 const base::string16& autofilled_value, 168 const base::string16& autofilled_value,
169 const base::string16& profile_full_name) = 0; 169 const base::string16& profile_full_name) = 0;
170 170
171 // Informs the client that a user gesture has been observed. 171 // Informs the client that a user gesture has been observed.
172 virtual void OnFirstUserGestureObserved() = 0; 172 virtual void OnFirstUserGestureObserved() = 0;
173 173
174 // Opens |url| with the supplied |disposition|.
175 virtual void LinkClicked(const GURL& url,
176 WindowOpenDisposition disposition) = 0;
177
178 // If the context is secure. 174 // If the context is secure.
179 virtual bool IsContextSecure(const GURL& form_origin) = 0; 175 virtual bool IsContextSecure(const GURL& form_origin) = 0;
180 }; 176 };
181 177
182 } // namespace autofill 178 } // namespace autofill
183 179
184 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 180 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698