Index: chrome/browser/ui/extensions/application_launch_web_app.h |
diff --git a/chrome/browser/ui/extensions/application_launch_web_app.h b/chrome/browser/ui/extensions/application_launch_web_app.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e19a272b14138b70452f01b29f1376467f9bb75a |
--- /dev/null |
+++ b/chrome/browser/ui/extensions/application_launch_web_app.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_ |
+#define CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_ |
+ |
+#include "chrome/browser/ui/extensions/app_launch_params.h" |
+#include "url/gurl.h" |
+ |
+namespace content { |
+class WebContents; |
+} |
+ |
+// Helper method to OpenApplication() which opens a web app window with |url| |
+// in the way specified by |params|. |
+content::WebContents* OpenWebAppWindow(const AppLaunchParams& params, |
+ const GURL& url); |
+ |
+// Helper method to OpenApplication() which opens a web app tab with |url| in |
+// the way specified by |params|. |
+content::WebContents* OpenWebAppTab(const AppLaunchParams& params, |
+ const GURL& url); |
+ |
+#endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_ |