| 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 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/process/process_handle.h" | 15 #include "base/process/process_info.h" |
| 16 #include "win8/delegate_execute/resource.h" // main symbols | 16 #include "win8/delegate_execute/resource.h" // main symbols |
| 17 | 17 |
| 18 EXTERN_C const GUID CLSID_CommandExecuteImpl; | 18 EXTERN_C const GUID CLSID_CommandExecuteImpl; |
| 19 | 19 |
| 20 // CommandExecuteImpl | 20 // CommandExecuteImpl |
| 21 // This class implements the IExecuteCommand and related interfaces for | 21 // This class implements the IExecuteCommand and related interfaces for |
| 22 // handling ShellExecute launches of the Chrome browser, i.e. whether to | 22 // handling ShellExecute launches of the Chrome browser, i.e. whether to |
| 23 // launch Chrome in metro mode or desktop mode. | 23 // launch Chrome in metro mode or desktop mode. |
| 24 // The CLSID here is a dummy CLSID not used for anything, since we register | 24 // The CLSID here is a dummy CLSID not used for anything, since we register |
| 25 // the class with a dynamic CLSID. However, a static CLSID is necessary | 25 // the class with a dynamic CLSID. However, a static CLSID is necessary |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 base::FilePath chrome_exe_; | 97 base::FilePath chrome_exe_; |
| 98 STARTUPINFO start_info_; | 98 STARTUPINFO start_info_; |
| 99 base::string16 verb_; | 99 base::string16 verb_; |
| 100 base::string16 display_name_; | 100 base::string16 display_name_; |
| 101 INTERNET_SCHEME launch_scheme_; | 101 INTERNET_SCHEME launch_scheme_; |
| 102 | 102 |
| 103 base::IntegrityLevel integrity_level_; | 103 base::IntegrityLevel integrity_level_; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl) | 106 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl) |
| OLD | NEW |