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 #include <atlbase.h> | 5 #include <atlbase.h> |
6 #include <atlcom.h> | 6 #include <atlcom.h> |
7 #include <atlctl.h> | 7 #include <atlctl.h> |
8 #include <ShObjIdl.h> | 8 #include <ShObjIdl.h> |
9 #include <WinInet.h> | 9 #include <WinInet.h> |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 static bool FindChromeExe(base::FilePath* chrome_exe); | 87 static bool FindChromeExe(base::FilePath* chrome_exe); |
88 | 88 |
89 static bool path_provider_initialized_; | 89 static bool path_provider_initialized_; |
90 | 90 |
91 bool GetLaunchScheme(base::string16* display_name, INTERNET_SCHEME* scheme); | 91 bool GetLaunchScheme(base::string16* display_name, INTERNET_SCHEME* scheme); |
92 HRESULT LaunchDesktopChrome(); | 92 HRESULT LaunchDesktopChrome(); |
93 // Returns the launch mode, i.e. desktop launch/metro launch, etc. | 93 // Returns the launch mode, i.e. desktop launch/metro launch, etc. |
94 EC_HOST_UI_MODE GetLaunchMode(); | 94 EC_HOST_UI_MODE GetLaunchMode(); |
95 | 95 |
96 CComPtr<IShellItemArray> item_array_; | 96 CComPtr<IShellItemArray> item_array_; |
97 CommandLine parameters_; | 97 base::CommandLine parameters_; |
98 base::FilePath chrome_exe_; | 98 base::FilePath chrome_exe_; |
99 STARTUPINFO start_info_; | 99 STARTUPINFO start_info_; |
100 base::string16 verb_; | 100 base::string16 verb_; |
101 base::string16 display_name_; | 101 base::string16 display_name_; |
102 INTERNET_SCHEME launch_scheme_; | 102 INTERNET_SCHEME launch_scheme_; |
103 | 103 |
104 base::IntegrityLevel integrity_level_; | 104 base::IntegrityLevel integrity_level_; |
105 }; | 105 }; |
106 | 106 |
107 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl) | 107 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl) |
OLD | NEW |