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

Unified Diff: chrome/browser/extensions/platform_app_browsertest_util.h

Issue 10871087: GTK implementation of remembering platform app window geometry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change the polling loop and its comment a bit Created 8 years, 4 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
Index: chrome/browser/extensions/platform_app_browsertest_util.h
diff --git a/chrome/browser/extensions/platform_app_browsertest_util.h b/chrome/browser/extensions/platform_app_browsertest_util.h
index 7aa8d3262f60b8ca881e0e4865fa0ee9464c1381..08c515ff65bd7a11a09d8251d94c255e2efadc59 100644
--- a/chrome/browser/extensions/platform_app_browsertest_util.h
+++ b/chrome/browser/extensions/platform_app_browsertest_util.h
@@ -33,6 +33,10 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
// enough).
content::WebContents* GetFirstShellWindowWebContents();
+ // Gets the first shell window that is found (most tests only deal with one
+ // platform app window, so this is good enough).
+ ShellWindow* GetFirstShellWindow();
+
// Runs chrome.windows.getAll for the given extension and returns the number
// of windows that the function returns.
size_t RunGetWindowsFunctionForExtension(const Extension* extension);

Powered by Google App Engine
This is Rietveld 408576698