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

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

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 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 f537991756bb284539f29c64f07a88045f361234..a7ec6812b56659b892a6fedb24a23bb2cdd8c259 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1550,7 +1550,8 @@ void Browser::RendererResponsive(WebContents* source) {
void Browser::WorkerCrashed(WebContents* source) {
SimpleAlertInfoBarDelegate::Create(
- InfoBarService::FromWebContents(source), InfoBarDelegate::kNoIconID,
+ InfoBarService::FromWebContents(source),
+ infobars::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