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 #include "PluginFilter.h" | 6 #include "PluginFilter.h" |
7 #include "PluginMimeFilterClient.h" | 7 #include "PluginMimeFilterClient.h" |
8 #include "PluginClient.h" | 8 #include "PluginClient.h" |
9 #include "PluginClientFactory.h" | 9 #include "PluginClientFactory.h" |
10 #include "PluginMutex.h" | 10 #include "PluginMutex.h" |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 WCHAR tmp[256]; | 622 WCHAR tmp[256]; |
623 wsprintf(tmp, L"Invoke: %d\n", dispidMember); | 623 wsprintf(tmp, L"Invoke: %d\n", dispidMember); |
624 DEBUG_GENERAL(tmp); | 624 DEBUG_GENERAL(tmp); |
625 switch (dispidMember) | 625 switch (dispidMember) |
626 { | 626 { |
627 | 627 |
628 case DISPID_WINDOWSTATECHANGED: | 628 case DISPID_WINDOWSTATECHANGED: |
629 return OnTabChanged(pDispParams, wFlags); | 629 return OnTabChanged(pDispParams, wFlags); |
630 break; | 630 break; |
631 case DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE: | 631 case DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE: |
632 return VARIANT_TRUE; | 632 return VARIANT_TRUE; |
633 break; | 633 break; |
634 | 634 |
635 case DISPID_HTMLDOCUMENTEVENTS2_ONCLICK: | 635 case DISPID_HTMLDOCUMENTEVENTS2_ONCLICK: |
636 return VARIANT_TRUE; | 636 return VARIANT_TRUE; |
637 break; | 637 break; |
638 | 638 |
639 case DISPID_EVMETH_ONLOAD: | 639 case DISPID_EVMETH_ONLOAD: |
640 DEBUG_NAVI("Navi::OnLoad") | 640 DEBUG_NAVI("Navi::OnLoad") |
641 return VARIANT_TRUE; | 641 return VARIANT_TRUE; |
642 break; | 642 break; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 CString did; | 747 CString did; |
748 did.Format(L"DispId:%u", dispidMember); | 748 did.Format(L"DispId:%u", dispidMember); |
749 | 749 |
750 DEBUG_NAVI(L"Navi::Default " + did) | 750 DEBUG_NAVI(L"Navi::Default " + did) |
751 } | 751 } |
752 | 752 |
753 // do nothing | 753 // do nothing |
754 break; | 754 break; |
755 } | 755 } |
756 | 756 |
757 return VARIANT_TRUE; | 757 return S_OK; |
758 } | 758 } |
759 | 759 |
760 bool CPluginClass::InitObject(bool bBHO) | 760 bool CPluginClass::InitObject(bool bBHO) |
761 { | 761 { |
762 DEBUG_GENERAL("InitObject"); | 762 DEBUG_GENERAL("InitObject"); |
763 CPluginSettings* settings = CPluginSettings::GetInstance(); | 763 CPluginSettings* settings = CPluginSettings::GetInstance(); |
764 | 764 |
765 if (!settings->GetPluginEnabled()) | 765 if (!settings->GetPluginEnabled()) |
766 { | 766 { |
767 s_mimeFilter->Unregister(); | 767 s_mimeFilter->Unregister(); |
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1864 } | 1864 } |
1865 } | 1865 } |
1866 } | 1866 } |
1867 | 1867 |
1868 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); | 1868 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); |
1869 } | 1869 } |
1870 | 1870 |
1871 return hTabWnd; | 1871 return hTabWnd; |
1872 | 1872 |
1873 } | 1873 } |
OLD | NEW |