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

Unified Diff: chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.h

Issue 2482023002: Put a Settings link on the new Google Search geolocation disclosure. (Closed)
Patch Set: Feedback Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.h
diff --git a/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.h b/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.h
index 24b74519e498b720cc3ccef55dab9404001d9b4f..fc7d9fe7fc0efa61d8d61f550761f99460738d75 100644
--- a/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.h
+++ b/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.h
@@ -21,6 +21,8 @@ class SearchGeolocationDisclosureInfoBar : public InfoBarAndroid {
// InfoBarAndroid:
base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
JNIEnv* env) override;
+ void OnLinkClicked(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj) override;
void ProcessButton(int action) override;
SearchGeolocationDisclosureInfoBarDelegate* GetDelegate();

Powered by Google App Engine
This is Rietveld 408576698