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

Side by Side Diff: android_webview/native/aw_autofill_client.cc

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 #include "android_webview/native/aw_autofill_client.h" 5 #include "android_webview/native/aw_autofill_client.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_content_browser_client.h" 8 #include "android_webview/browser/aw_content_browser_client.h"
9 #include "android_webview/browser/aw_form_database_service.h" 9 #include "android_webview/browser/aw_form_database_service.h"
10 #include "android_webview/browser/aw_pref_store.h" 10 #include "android_webview/browser/aw_pref_store.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 void AwAutofillClient::DidFillOrPreviewField( 171 void AwAutofillClient::DidFillOrPreviewField(
172 const base::string16& autofilled_value, 172 const base::string16& autofilled_value,
173 const base::string16& profile_full_name) { 173 const base::string16& profile_full_name) {
174 } 174 }
175 175
176 void AwAutofillClient::OnFirstUserGestureObserved() { 176 void AwAutofillClient::OnFirstUserGestureObserved() {
177 NOTIMPLEMENTED(); 177 NOTIMPLEMENTED();
178 } 178 }
179 179
180 void AwAutofillClient::LinkClicked(const GURL& url,
181 WindowOpenDisposition disposition) {
182 NOTIMPLEMENTED();
183 }
184
185 bool AwAutofillClient::IsContextSecure(const GURL& form_origin) { 180 bool AwAutofillClient::IsContextSecure(const GURL& form_origin) {
186 content::SSLStatus ssl_status; 181 content::SSLStatus ssl_status;
187 content::NavigationEntry* navigation_entry = 182 content::NavigationEntry* navigation_entry =
188 web_contents_->GetController().GetLastCommittedEntry(); 183 web_contents_->GetController().GetLastCommittedEntry();
189 if (!navigation_entry) 184 if (!navigation_entry)
190 return false; 185 return false;
191 186
192 ssl_status = navigation_entry->GetSSL(); 187 ssl_status = navigation_entry->GetSSL();
193 // Note: The implementation below is a copy of the one in 188 // Note: The implementation below is a copy of the one in
194 // ChromeAutofillClient::IsContextSecure, and should be kept in sync 189 // ChromeAutofillClient::IsContextSecure, and should be kept in sync
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 content::RenderFrameHost* rfh, 239 content::RenderFrameHost* rfh,
245 const ResultCallback& callback) { 240 const ResultCallback& callback) {
246 NOTIMPLEMENTED(); 241 NOTIMPLEMENTED();
247 } 242 }
248 243
249 bool RegisterAwAutofillClient(JNIEnv* env) { 244 bool RegisterAwAutofillClient(JNIEnv* env) {
250 return RegisterNativesImpl(env); 245 return RegisterNativesImpl(env);
251 } 246 }
252 247
253 } // namespace android_webview 248 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698