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

Unified Diff: chrome/browser/ui/views/extensions/extension_dialog.cc

Issue 10444049: Fixing the focus issue in open/save dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/extensions/extension_dialog.cc
diff --git a/chrome/browser/ui/views/extensions/extension_dialog.cc b/chrome/browser/ui/views/extensions/extension_dialog.cc
index e9f9f032d3ae88e05a97517fcff5297567b2b48b..9acc099f78d11cf8c60328ed7bcb02d2766d6176 100644
--- a/chrome/browser/ui/views/extensions/extension_dialog.cc
+++ b/chrome/browser/ui/views/extensions/extension_dialog.cc
@@ -192,6 +192,11 @@ void ExtensionDialog::MaybeFocusRenderView() {
if (!view)
return;
+ // TODO(oshima): Views + aura doesn't seem to update the views focus
+ // manager when an aura window gets focus. This is a workaround for
+ // this issue. Fix it this and remove this workaround.
+ // See bug.com/127222.
+ focus_manager->SetFocusedView(GetContentsView());
Ben Goodger (Google) 2012/07/11 16:06:38 So who's going to fix the underlying issue?
SeRya 2012/07/11 16:39:44 @oshima
view->Focus();
sky 2012/06/28 22:47:51 I have a feeling views doesn't get focus because N
SeRya 2012/06/29 09:35:55 ExtensionView does have focused view (host->view()
}
« 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