| OLD | NEW |
| 1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
| 2 | 2 |
| 3 #include "PluginClass.h" | 3 #include "PluginClass.h" |
| 4 #include "PluginSettings.h" | 4 #include "PluginSettings.h" |
| 5 #include "PluginSystem.h" | 5 #include "PluginSystem.h" |
| 6 #ifdef SUPPORT_FILTER | 6 #ifdef SUPPORT_FILTER |
| 7 #include "PluginFilter.h" | 7 #include "PluginFilter.h" |
| 8 #endif | 8 #endif |
| 9 #include "PluginMimeFilterClient.h" | 9 #include "PluginMimeFilterClient.h" |
| 10 #include "PluginClient.h" | 10 #include "PluginClient.h" |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 // so we should handle that it is called this way several times during a session | 238 // so we should handle that it is called this way several times during a session |
| 239 STDMETHODIMP CPluginClass::SetSite(IUnknown* unknownSite) | 239 STDMETHODIMP CPluginClass::SetSite(IUnknown* unknownSite) |
| 240 { | 240 { |
| 241 CPluginSettings* settings = CPluginSettings::GetInstance(); | 241 CPluginSettings* settings = CPluginSettings::GetInstance(); |
| 242 CPluginSystem* system = CPluginSystem::GetInstance(); | 242 CPluginSystem* system = CPluginSystem::GetInstance(); |
| 243 | 243 |
| 244 MULTIPLE_VERSIONS_CHECK(); | 244 MULTIPLE_VERSIONS_CHECK(); |
| 245 | 245 |
| 246 if (unknownSite) | 246 if (unknownSite) |
| 247 { | 247 { |
| 248 |
| 248 DEBUG_GENERAL(L"============================================================
====================\nNEW TAB UI\n==============================================
==================================") | 249 DEBUG_GENERAL(L"============================================================
====================\nNEW TAB UI\n==============================================
==================================") |
| 249 | 250 |
| 250 HRESULT hr = ::CoInitialize(NULL); | 251 HRESULT hr = ::CoInitialize(NULL); |
| 251 if (FAILED(hr)) | 252 if (FAILED(hr)) |
| 252 { | 253 { |
| 253 DEBUG_ERROR_LOG(hr, PLUGIN_ERROR_SET_SITE, PLUGIN_ERROR_SET_SITE_COINIT, "
Class::SetSite - CoInitialize"); | 254 DEBUG_ERROR_LOG(hr, PLUGIN_ERROR_SET_SITE, PLUGIN_ERROR_SET_SITE_COINIT, "
Class::SetSite - CoInitialize"); |
| 254 } | 255 } |
| 255 | 256 |
| 256 s_criticalSectionBrowser.Lock(); | 257 s_criticalSectionBrowser.Lock(); |
| 257 { | 258 { |
| (...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1960 } | 1961 } |
| 1961 } | 1962 } |
| 1962 } | 1963 } |
| 1963 | 1964 |
| 1964 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); | 1965 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); |
| 1965 } | 1966 } |
| 1966 | 1967 |
| 1967 return hTabWnd; | 1968 return hTabWnd; |
| 1968 | 1969 |
| 1969 } | 1970 } |
| OLD | NEW |