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

Unified Diff: chrome/browser/ui/views/profiles/user_manager_view.cc

Issue 654123004: Revert of Sets the default background color of inline signin and user manager to grey (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/views/profiles/user_manager_view.cc
diff --git a/chrome/browser/ui/views/profiles/user_manager_view.cc b/chrome/browser/ui/views/profiles/user_manager_view.cc
index 330e45170c75971e71a220fee42d0cfb7f2013b9..0d1ec3613cfd1837ac8736a0fd75fe3de29eb282 100644
--- a/chrome/browser/ui/views/profiles/user_manager_view.cc
+++ b/chrome/browser/ui/views/profiles/user_manager_view.cc
@@ -6,7 +6,6 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/lifetime/application_lifetime.h"
-#include "chrome/browser/profiles/profile_avatar_icon_util.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/profiles/profile_metrics.h"
#include "chrome/browser/profiles/profile_window.h"
@@ -18,7 +17,6 @@
#include "chrome/browser/ui/user_manager.h"
#include "chrome/browser/ui/views/auto_keep_alive.h"
#include "chrome/grit/chromium_strings.h"
-#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/screen.h"
@@ -150,16 +148,10 @@
guest_profile->GetPath()),
views::HWNDForWidget(GetWidget()));
#endif
+ GetWidget()->Show();
web_view_->LoadInitialURL(url);
- content::RenderWidgetHostView* rwhv =
- web_view_->GetWebContents()->GetRenderWidgetHostView();
- if (rwhv)
- rwhv->SetBackgroundColor(profiles::kUserManagerBackgroundColor);
-
web_view_->RequestFocus();
-
- GetWidget()->Show();
}
bool UserManagerView::AcceleratorPressed(const ui::Accelerator& accelerator) {
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698