OLD | NEW |
1 #ifndef _PLUGIN_TAB_BASE_H_ | 1 #ifndef _PLUGIN_TAB_BASE_H_ |
2 #define _PLUGIN_TAB_BASE_H_ | 2 #define _PLUGIN_TAB_BASE_H_ |
3 | 3 |
4 | 4 |
5 #ifdef SUPPORT_DOM_TRAVERSER | 5 #ifdef SUPPORT_DOM_TRAVERSER |
6 class CPluginDomTraverser; | 6 class CPluginDomTraverser; |
7 #endif | 7 #endif |
8 | 8 |
9 #include "PluginUserSettings.h" | 9 #include "PluginUserSettings.h" |
10 #include "PluginFilter.h" | 10 #include "PluginFilter.h" |
| 11 #include "../shared/CriticalSection.h" |
11 | 12 |
12 class CPluginClass; | 13 class CPluginClass; |
13 | 14 |
14 | 15 |
15 class CPluginTabBase | 16 class CPluginTabBase |
16 { | 17 { |
17 | 18 |
18 friend class CPluginClass; | 19 friend class CPluginClass; |
19 | 20 |
20 protected: | 21 protected: |
21 | 22 |
22 CComAutoCriticalSection m_criticalSection; | 23 CComAutoCriticalSection m_criticalSection; |
| 24 CriticalSection m_csInject; |
23 | 25 |
24 CString m_documentDomain; | 26 CString m_documentDomain; |
25 CString m_documentUrl; | 27 CString m_documentUrl; |
26 CPluginUserSettings m_pluginUserSettings; | 28 CPluginUserSettings m_pluginUserSettings; |
27 public: | 29 public: |
28 CPluginClass* m_plugin; | 30 CPluginClass* m_plugin; |
29 protected: | 31 protected: |
30 bool m_isActivated; | 32 bool m_isActivated; |
31 | 33 |
32 HANDLE m_hThread; | 34 HANDLE m_hThread; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 #ifdef SUPPORT_FRAME_CACHING | 82 #ifdef SUPPORT_FRAME_CACHING |
81 void CacheFrame(const CString& url); | 83 void CacheFrame(const CString& url); |
82 bool IsFrameCached(const CString& url); | 84 bool IsFrameCached(const CString& url); |
83 void ClearFrameCache(const CString& domain=""); | 85 void ClearFrameCache(const CString& domain=""); |
84 #endif | 86 #endif |
85 | 87 |
86 }; | 88 }; |
87 | 89 |
88 | 90 |
89 #endif // _PLUGIN_TAB_BASE_H_ | 91 #endif // _PLUGIN_TAB_BASE_H_ |
OLD | NEW |