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

Unified Diff: components/infobars/core/infobar_delegate.h

Issue 2475213002: Update the Google Search geolocation disclosure to make it more obvious. (Closed)
Patch Set: 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: components/infobars/core/infobar_delegate.h
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
index 5032430d36c543c51f859f728bf3a93f6ac16bb9..e75033b51647dab371c15947a73eed444312507b 100644
--- a/components/infobars/core/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
@@ -34,6 +34,8 @@ namespace translate {
class TranslateInfoBarDelegate;
}
+class SearchGeolocationDisclosureInfoBarDelegate;
+
namespace gfx {
class Image;
enum class VectorIconId;
@@ -143,6 +145,7 @@ class InfoBarDelegate {
SCREEN_CAPTURE_INFOBAR_DELEGATE_ANDROID = 69,
GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID = 70,
OFFLINE_PAGE_INFOBAR_DELEGATE = 71,
+ SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR_DELEGATE = 72,
gone 2016/11/04 23:21:49 You need to update histograms.xml.
benwells 2016/11/07 08:36:06 Done.
};
// Describes navigation events, used to decide whether infobars should be
@@ -229,6 +232,8 @@ class InfoBarDelegate {
virtual MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate();
virtual offline_pages::OfflinePageInfoBarDelegate*
AsOfflinePageInfoBarDelegate();
+ virtual SearchGeolocationDisclosureInfoBarDelegate*
+ AsSearchGeolocationDisclosureInfoBarDelegate();
#endif
void set_infobar(InfoBar* infobar) { infobar_ = infobar; }

Powered by Google App Engine
This is Rietveld 408576698