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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 STDMETHOD(GetValue)(enum AHE_TYPE* pahe); | 81 STDMETHOD(GetValue)(enum AHE_TYPE* pahe); |
82 | 82 |
83 // IForegroundTransfer | 83 // IForegroundTransfer |
84 STDMETHOD(AllowForegroundTransfer)(void* reserved); | 84 STDMETHOD(AllowForegroundTransfer)(void* reserved); |
85 | 85 |
86 private: | 86 private: |
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 void SetHighDPIRegistryKey(bool enable); | |
92 | |
93 bool GetLaunchScheme(base::string16* display_name, INTERNET_SCHEME* scheme); | 91 bool GetLaunchScheme(base::string16* display_name, INTERNET_SCHEME* scheme); |
94 HRESULT LaunchDesktopChrome(); | 92 HRESULT LaunchDesktopChrome(); |
95 // Returns the launch mode, i.e. desktop launch/metro launch, etc. | 93 // Returns the launch mode, i.e. desktop launch/metro launch, etc. |
96 EC_HOST_UI_MODE GetLaunchMode(); | 94 EC_HOST_UI_MODE GetLaunchMode(); |
97 | 95 |
98 CComPtr<IShellItemArray> item_array_; | 96 CComPtr<IShellItemArray> item_array_; |
99 base::CommandLine parameters_; | 97 base::CommandLine parameters_; |
100 base::FilePath chrome_exe_; | 98 base::FilePath chrome_exe_; |
101 STARTUPINFO start_info_; | 99 STARTUPINFO start_info_; |
102 base::string16 verb_; | 100 base::string16 verb_; |
103 base::string16 display_name_; | 101 base::string16 display_name_; |
104 INTERNET_SCHEME launch_scheme_; | 102 INTERNET_SCHEME launch_scheme_; |
105 | 103 |
106 base::IntegrityLevel integrity_level_; | 104 base::IntegrityLevel integrity_level_; |
107 }; | 105 }; |
108 | 106 |
109 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl) | 107 OBJECT_ENTRY_AUTO(__uuidof(CommandExecuteImpl), CommandExecuteImpl) |
OLD | NEW |