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

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

Issue 7991001: Revert 102263 - Revert 102216 - Fix activation problem when showing bubble view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « chrome/browser/ui/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/in_process_browser_test.cc
===================================================================
--- chrome/test/base/in_process_browser_test.cc (revision 102264)
+++ chrome/test/base/in_process_browser_test.cc (working copy)
@@ -246,6 +246,8 @@
}
void InProcessBrowserTest::AddBlankTabAndShow(Browser* browser) {
+ browser->window()->Show();
+
ui_test_utils::WindowedNotificationObserver observer(
content::NOTIFICATION_LOAD_STOP,
NotificationService::AllSources());
@@ -253,7 +255,7 @@
GURL(chrome::kAboutBlankURL), PageTransition::START_PAGE);
observer.Wait();
- browser->window()->Show();
+ browser->window()->Activate();
}
#if defined(OS_POSIX)
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698