summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authorpritam.nikam <pritam.nikam@samsung.com>2015-01-13 00:13:02 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-13 08:13:47 +0000
commit2cd65ab9548cd1c4bca4e0da1f8a59a531d82566 (patch)
treecbf4d4d53db39e2a72ad5c232a222b9663190a5e /android_webview
parent2d159077237e890abd1dbd268ee8d62beb8683dc (diff)
downloadchromium_src-2cd65ab9548cd1c4bca4e0da1f8a59a531d82566.zip
chromium_src-2cd65ab9548cd1c4bca4e0da1f8a59a531d82566.tar.gz
chromium_src-2cd65ab9548cd1c4bca4e0da1f8a59a531d82566.tar.bz2
[Autofill] Componentize AutofillCCInfoBarDelegate.
The main tasks involved: - Changing InfoBarService references to InfoBarManager references. - Abstracting the call to WebContents::OpenURL() through the AutofillClient, which has been passed through to the AutofillCCInfoBarDelegate. - Moving strings/resources that the AutofillCCInfoBarDelegate uses into the components. Pending activities to follow-up: - Componentize AutofillCCInfoBarDelegate unit-tests [Currently, having many |/chrome| dependencies]. BUG=382924 Review URL: https://codereview.chromium.org/710453002 Cr-Commit-Position: refs/heads/master@{#311238}
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/native/aw_autofill_client.cc5
-rw-r--r--android_webview/native/aw_autofill_client.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/android_webview/native/aw_autofill_client.cc b/android_webview/native/aw_autofill_client.cc
index 4696293..b14b24e 100644
--- a/android_webview/native/aw_autofill_client.cc
+++ b/android_webview/native/aw_autofill_client.cc
@@ -167,6 +167,11 @@ void AwAutofillClient::OnFirstUserGestureObserved() {
NOTIMPLEMENTED();
}
+void AwAutofillClient::LinkClicked(const GURL& url,
+ WindowOpenDisposition disposition) {
+ NOTIMPLEMENTED();
+}
+
void AwAutofillClient::SuggestionSelected(JNIEnv* env,
jobject object,
jint position) {
diff --git a/android_webview/native/aw_autofill_client.h b/android_webview/native/aw_autofill_client.h
index b2b0de6..11085f4 100644
--- a/android_webview/native/aw_autofill_client.h
+++ b/android_webview/native/aw_autofill_client.h
@@ -91,6 +91,8 @@ class AwAutofillClient : public autofill::AutofillClient,
const base::string16& autofilled_value,
const base::string16& profile_full_name) override;
virtual void OnFirstUserGestureObserved() override;
+ virtual void LinkClicked(const GURL& url,
+ WindowOpenDisposition disposition) override;
void SuggestionSelected(JNIEnv* env, jobject obj, jint position);