OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 std::wstring m_documentUrl; | 43 std::wstring m_documentUrl; |
44 CPluginUserSettings m_pluginUserSettings; | 44 CPluginUserSettings m_pluginUserSettings; |
45 public: | 45 public: |
46 CPluginClass* m_plugin; | 46 CPluginClass* m_plugin; |
47 protected: | 47 protected: |
48 bool m_isActivated; | 48 bool m_isActivated; |
49 | 49 |
50 std::thread m_thread; | 50 std::thread m_thread; |
51 std::atomic<bool> m_continueThreadRunning; | 51 std::atomic<bool> m_continueThreadRunning; |
52 CPluginDomTraverser* m_traverser; | 52 CPluginDomTraverser* m_traverser; |
53 static int s_dictionaryVersion; | |
54 static int s_settingsVersion; | |
55 static int s_filterVersion; | |
56 public: | 53 public: |
57 std::auto_ptr<CPluginFilter> m_filter; | 54 std::auto_ptr<CPluginFilter> m_filter; |
58 private: | 55 private: |
59 static int s_whitelistVersion; | |
60 | |
61 void ThreadProc(); | 56 void ThreadProc(); |
62 CComAutoCriticalSection m_criticalSectionCache; | 57 CComAutoCriticalSection m_criticalSectionCache; |
63 std::set<std::wstring> m_cacheFrames; | 58 std::set<std::wstring> m_cacheFrames; |
64 std::wstring m_cacheDomain; | 59 std::wstring m_cacheDomain; |
65 void SetDocumentUrl(const std::wstring& url); | 60 void SetDocumentUrl(const std::wstring& url); |
66 void InjectABP(IWebBrowser2* browser); | 61 void InjectABP(IWebBrowser2* browser); |
67 public: | 62 public: |
68 | 63 |
69 CPluginTabBase(CPluginClass* plugin); | 64 CPluginTabBase(CPluginClass* plugin); |
70 ~CPluginTabBase(); | 65 ~CPluginTabBase(); |
(...skipping 21 matching lines...) Expand all Loading... |
92 { | 87 { |
93 | 88 |
94 public: | 89 public: |
95 CPluginTab(CPluginClass* plugin) : CPluginTabBase(plugin) {}; | 90 CPluginTab(CPluginClass* plugin) : CPluginTabBase(plugin) {}; |
96 ~CPluginTab() {}; | 91 ~CPluginTab() {}; |
97 }; | 92 }; |
98 | 93 |
99 | 94 |
100 | 95 |
101 #endif // _PLUGIN_TAB_BASE_H_ | 96 #endif // _PLUGIN_TAB_BASE_H_ |
OLD | NEW |