OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_ |
| 6 #define CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_ |
| 7 |
| 8 #include "chrome/browser/ui/extensions/app_launch_params.h" |
| 9 #include "url/gurl.h" |
| 10 |
| 11 namespace content { |
| 12 class WebContents; |
| 13 } |
| 14 |
| 15 // Helper method to OpenApplication() which opens a web app window with |url| |
| 16 // in the way specified by |params|. |
| 17 content::WebContents* OpenWebAppWindow(const AppLaunchParams& params, |
| 18 const GURL& url); |
| 19 |
| 20 // Helper method to OpenApplication() which opens a web app tab with |url| in |
| 21 // the way specified by |params|. |
| 22 content::WebContents* OpenWebAppTab(const AppLaunchParams& params, |
| 23 const GURL& url); |
| 24 |
| 25 #endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_WEB_APP_H_ |
OLD | NEW |