Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index c5676bd8b3e054ae8a5821b131382985b965ee2b..dab534c615753d0dfe6138e36ab4d08c4a48eefe 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -84,6 +84,7 @@ |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/host_desktop.h" |
+#include "chrome/browser/ui/infobar_constants.h" |
#include "chrome/browser/ui/startup/bad_flags_prompt.h" |
#include "chrome/browser/ui/startup/default_browser_prompt.h" |
#include "chrome/browser/ui/startup/startup_browser_creator.h" |
@@ -104,6 +105,7 @@ |
#include "chrome/installer/util/google_update_settings.h" |
#include "components/component_updater/component_updater_service.h" |
#include "components/google/core/browser/google_util.h" |
+#include "components/infobars/core/infobar.h" |
#include "components/language_usage_metrics/language_usage_metrics.h" |
#include "components/metrics/metrics_service.h" |
#include "components/metrics/profiler/tracking_synchronizer.h" |
@@ -1309,6 +1311,11 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
// Post-profile init --------------------------------------------------------- |
TranslateService::Initialize(); |
+ infobars::InfoBar::Initialize( |
+ infobars::kDefaultBarTargetHeight, infobars::kSeparatorLineHeight, |
+ infobars::kDefaultArrowTargetHeight, infobars::kMaximumArrowTargetHeight, |
+ infobars::kDefaultArrowTargetHalfWidth, |
+ infobars::kMaximumArrowTargetHalfWidth); |
// Needs to be done before PostProfileInit, since login manager on CrOS is |
// called inside PostProfileInit. |