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

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

Issue 894723003: [Metro] Focus the user manager's web contents after the widget is shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d781fb5c7b089f31e6803fa7d0d6aad1aa1e0a02..195985bd558aec8d6bbdcc30383c587941c22269 100644
--- a/chrome/browser/ui/views/profiles/user_manager_view.cc
+++ b/chrome/browser/ui/views/profiles/user_manager_view.cc
@@ -159,9 +159,8 @@ void UserManagerView::Init(Profile* system_profile, const GURL& url) {
if (rwhv)
rwhv->SetBackgroundColor(profiles::kUserManagerBackgroundColor);
- web_view_->RequestFocus();
-
GetWidget()->Show();
+ web_view_->RequestFocus();
}
bool UserManagerView::AcceleratorPressed(const ui::Accelerator& accelerator) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698