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

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

Issue 2711623003: Update infobars to use VectorIcon struct instead of VectorIconId. (Closed)
Patch Set: rebase Created 3 years, 10 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
Index: chrome/browser/ui/chrome_select_file_policy.cc
diff --git a/chrome/browser/ui/chrome_select_file_policy.cc b/chrome/browser/ui/chrome_select_file_policy.cc
index 188e68c59683f53e220aa600635e7e8a5a441fb1..2181def77959d59abe5860297fe7ad4d7bbfae9d 100644
--- a/chrome/browser/ui/chrome_select_file_policy.cc
+++ b/chrome/browser/ui/chrome_select_file_policy.cc
@@ -33,9 +33,7 @@ void ChromeSelectFilePolicy::SelectFileDenied() {
if (source_contents_) {
SimpleAlertInfoBarDelegate::Create(
InfoBarService::FromWebContents(source_contents_),
- infobars::InfoBarDelegate::CHROME_SELECT_FILE_POLICY,
- infobars::InfoBarDelegate::kNoIconID,
- gfx::VectorIconId::VECTOR_ICON_NONE,
+ infobars::InfoBarDelegate::CHROME_SELECT_FILE_POLICY, nullptr,
l10n_util::GetStringUTF16(IDS_FILE_SELECTION_DIALOG_INFOBAR), true);
} else {
LOG(WARNING) << "File-selection dialogs are disabled but no WebContents "
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698