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

Unified Diff: chrome/browser/ui/browser.cc

Issue 15067008: [InfoBar] Add InfoBarDelegate::GetIconID() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit fixes redux Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.cc ('k') | chrome/browser/ui/chrome_select_file_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 1b60fff93e55be8848cfc794517e53084c67040e..427ec6658566b9db9ddfc7a69c3a256e224d7df5 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -842,7 +842,7 @@ void Browser::JSOutOfMemoryHelper(WebContents* web_contents) {
return;
SimpleAlertInfoBarDelegate::Create(
- infobar_service, NULL,
+ infobar_service, InfoBarDelegate::kNoIconID,
l10n_util::GetStringUTF16(IDS_JS_OUT_OF_MEMORY_PROMPT), true);
}
@@ -1512,7 +1512,7 @@ void Browser::RendererResponsive(WebContents* source) {
void Browser::WorkerCrashed(WebContents* source) {
SimpleAlertInfoBarDelegate::Create(
- InfoBarService::FromWebContents(source), NULL,
+ InfoBarService::FromWebContents(source), InfoBarDelegate::kNoIconID,
l10n_util::GetStringUTF16(IDS_WEBWORKER_CRASHED_PROMPT), true);
}
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.cc ('k') | chrome/browser/ui/chrome_select_file_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698