OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |
6 #define CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |
7 | 7 |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "chrome/common/extensions/extension_constants.h" | 9 #include "chrome/common/extensions/extension_constants.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 #include "webkit/glue/window_open_disposition.h" | 11 #include "ui/base/window_open_disposition.h" |
12 | 12 |
13 class Browser; | 13 class Browser; |
14 class CommandLine; | 14 class CommandLine; |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class WebContents; | 18 class WebContents; |
19 } | 19 } |
20 | 20 |
21 namespace extensions { | 21 namespace extensions { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // and shortcuts that open an installed application. This function | 78 // and shortcuts that open an installed application. This function |
79 // is used to open the former. To open the latter, use | 79 // is used to open the former. To open the latter, use |
80 // application_launch::OpenApplication(). | 80 // application_launch::OpenApplication(). |
81 content::WebContents* OpenAppShortcutWindow(Profile* profile, | 81 content::WebContents* OpenAppShortcutWindow(Profile* profile, |
82 const GURL& url, | 82 const GURL& url, |
83 const gfx::Rect& override_bounds); | 83 const gfx::Rect& override_bounds); |
84 | 84 |
85 } // namespace application_launch | 85 } // namespace application_launch |
86 | 86 |
87 #endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ | 87 #endif // CHROME_BROWSER_UI_EXTENSIONS_APPLICATION_LAUNCH_H_ |
OLD | NEW |