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_APP_LAUNCH_PARAMS_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ |
6 #define CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "chrome/browser/ui/host_desktop.h" | 12 #include "chrome/browser/ui/host_desktop.h" |
13 #include "chrome/common/extensions/extension_constants.h" | 13 #include "chrome/common/extensions/extension_constants.h" |
14 #include "extensions/common/constants.h" | 14 #include "extensions/common/constants.h" |
15 #include "ui/base/window_open_disposition.h" | 15 #include "ui/base/window_open_disposition.h" |
16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
18 | 18 |
19 class Profile; | 19 class Profile; |
20 | 20 |
21 namespace extensions { | 21 namespace extensions { |
22 class Extension; | 22 class Extension; |
23 } | 23 } |
24 | 24 |
25 struct AppLaunchParams { | 25 struct AppLaunchParams { |
26 AppLaunchParams(Profile* profile, | 26 AppLaunchParams(Profile* profile, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // If non-empty, the current directory from which any relative paths on the | 77 // If non-empty, the current directory from which any relative paths on the |
78 // command line should be expanded from. | 78 // command line should be expanded from. |
79 base::FilePath current_directory; | 79 base::FilePath current_directory; |
80 | 80 |
81 // Record where the app is launched from for tracking purpose. | 81 // Record where the app is launched from for tracking purpose. |
82 // Different app may have their own enumeration of sources. | 82 // Different app may have their own enumeration of sources. |
83 extensions::AppLaunchSource source; | 83 extensions::AppLaunchSource source; |
84 }; | 84 }; |
85 | 85 |
86 #endif // CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ | 86 #endif // CHROME_BROWSER_UI_EXTENSIONS_APP_LAUNCH_PARAMS_H_ |
OLD | NEW |