Index: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
index b9d77b93fc91d0dee62a49cc1ac7ab6c2ee6273d..f6b69bf8fd50256cab7c7a12f137c85e02850345 100644 |
--- a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
+++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
@@ -8,6 +8,7 @@ |
#include "chrome/app/chrome_command_ids.h" |
#import "chrome/browser/app_controller_mac.h" |
#include "chrome/browser/browser_process.h" |
+#include "chrome/browser/profiles/profile_avatar_icon_util.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/profiles/profiles_state.h" |
#include "chrome/browser/ui/browser_dialogs.h" |
@@ -16,6 +17,7 @@ |
#include "chrome/browser/ui/user_manager.h" |
#include "chrome/grit/chromium_strings.h" |
#include "content/public/browser/native_web_keyboard_event.h" |
+#include "content/public/browser/render_widget_host_view.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_delegate.h" |
#include "ui/base/l10n/l10n_util_mac.h" |
@@ -128,6 +130,9 @@ class UserManagerWebContentsDelegate : public content::WebContentsDelegate { |
webContents_->GetController().LoadURL(url, content::Referrer(), |
ui::PAGE_TRANSITION_AUTO_TOPLEVEL, |
std::string()); |
+ content::RenderWidgetHostView* rwhv = webContents_->GetRenderWidgetHostView(); |
+ if (rwhv) |
+ rwhv->SetBackgroundColor(profiles::kUserManagerBackgroundColor); |
[self show]; |
} |