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

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

Issue 9359022: Aura: Support hovering restore & close buttons for full screen apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser_test Created 8 years, 10 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/test/base/in_process_browser_test.h ('k') | ui/resources/ui_resources.grd » ('j') | 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
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index cd66c2eabb3c3a9f72f98257a0d88116f31ea454..5a0f0742f551841e344ed0e6c6703c3133dccde5 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -243,6 +243,18 @@ Browser* InProcessBrowserTest::CreateBrowserForPopup(Profile* profile) {
return browser;
}
+Browser* InProcessBrowserTest::CreateBrowserForApp(
+ const std::string& app_name,
+ Profile* profile) {
+ Browser* browser = Browser::CreateForApp(
+ Browser::TYPE_POPUP,
+ app_name,
+ gfx::Rect(),
+ profile);
+ AddBlankTabAndShow(browser);
+ return browser;
+}
+
void InProcessBrowserTest::AddBlankTabAndShow(Browser* browser) {
ui_test_utils::WindowedNotificationObserver observer(
content::NOTIFICATION_LOAD_STOP,
« no previous file with comments | « chrome/test/base/in_process_browser_test.h ('k') | ui/resources/ui_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698