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

Unified Diff: chrome/browser/ui/extensions/application_launch_web_app.h

Issue 635233008: Make management.launchApp() work for hosted apps on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webstore_dialogs_athena
Patch Set: Created 6 years, 2 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/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_
« no previous file with comments | « chrome/browser/ui/extensions/application_launch.cc ('k') | chrome/browser/ui/extensions/application_launch_web_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698