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

Unified Diff: chrome/test/base/interactive_test_utils_aura.cc

Issue 2353353005: Aura: Focus() in ShowAndFocusNativeWindowAura (Closed)
Patch Set: Remove check for window->IsVisible() and window->HasFocus() Created 4 years, 3 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/test/base/interactive_test_utils_aura.cc
diff --git a/chrome/test/base/interactive_test_utils_aura.cc b/chrome/test/base/interactive_test_utils_aura.cc
index 258fdb9bef3d33d3cef01d3b2d49d90733a3a05c..61f0d3ef60e6ad2a176c9104d67d58ebb1e983b4 100644
--- a/chrome/test/base/interactive_test_utils_aura.cc
+++ b/chrome/test/base/interactive_test_utils_aura.cc
@@ -26,6 +26,7 @@ void HideNativeWindowAura(gfx::NativeWindow window) {
bool ShowAndFocusNativeWindowAura(gfx::NativeWindow window) {
window->Show();
+ window->Focus();
return true;
}
« 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