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

Unified Diff: chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit again Created 5 years 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/android/fullscreen/fullscreen_infobar_delegate.cc
diff --git a/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc b/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc
index 441e3f9d31fcfc20369e63e54d851e952d482c8a..b18fb5763d977da16e4c0b0ff7622be1f3029d8e 100644
--- a/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc
+++ b/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc
@@ -60,6 +60,11 @@ void FullscreenInfoBarDelegate::CloseFullscreenInfoBar(
infobar()->owner()->RemoveInfoBar(infobar());
}
+infobars::InfoBarDelegate::InfoBarIdentifier
+FullscreenInfoBarDelegate::GetIdentifier() const {
+ return FULLSCREEN_INFOBAR_DELEGATE;
+}
+
int FullscreenInfoBarDelegate::GetIconId() const {
return IDR_ANDROID_INFOBAR_FULLSCREEN;
}

Powered by Google App Engine
This is Rietveld 408576698