| 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-2016 Eyeo GmbH | 3 * Copyright (C) 2006-2016 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 int m_nPaneWidth; | 152 int m_nPaneWidth; |
| 153 HANDLE m_hTheme; | 153 HANDLE m_hTheme; |
| 154 | 154 |
| 155 CriticalSection m_csStatusBar; | 155 CriticalSection m_csStatusBar; |
| 156 | 156 |
| 157 NotificationMessage notificationMessage; | 157 NotificationMessage notificationMessage; |
| 158 | 158 |
| 159 bool m_isAdvised; | 159 bool m_isAdvised; |
| 160 bool m_isInitializedOk; | 160 bool m_isInitializedOk; |
| 161 | 161 |
| 162 // Atom pane class | |
| 163 static ATOM s_atomPaneClass; | |
| 164 | |
| 165 static ATOM GetAtomPaneClass(); | |
| 166 | |
| 167 // Icons | 162 // Icons |
| 168 static HICON s_hIcons[ICON_MAX]; | 163 static HICON s_hIcons[ICON_MAX]; |
| 169 static DWORD s_hIconTypes[ICON_MAX]; | 164 static DWORD s_hIconTypes[ICON_MAX]; |
| 170 | 165 |
| 171 static HICON GetIcon(int type); | 166 static HICON GetIcon(int type); |
| 172 | 167 |
| 173 // Main thread | 168 // Main thread |
| 174 static HANDLE s_hMainThread; | 169 static HANDLE s_hMainThread; |
| 175 static bool s_isMainThreadDone; | 170 static bool s_isMainThreadDone; |
| 176 | 171 |
| 177 static HINSTANCE s_hUxtheme; | 172 static HINSTANCE s_hUxtheme; |
| 178 static std::set<CPluginClass*> s_instances; | 173 static std::set<CPluginClass*> s_instances; |
| 179 static CComAutoCriticalSection s_criticalSectionLocal; | 174 static CComAutoCriticalSection s_criticalSectionLocal; |
| 180 static CComAutoCriticalSection s_criticalSectionWindow; | 175 static CComAutoCriticalSection s_criticalSectionWindow; |
| 181 | 176 |
| 182 // Async browser | 177 // Async browser |
| 183 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; | 178 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; |
| 184 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); | 179 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); |
| 185 }; | 180 }; |
| 186 | 181 |
| 187 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) | 182 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) |
| 188 | 183 |
| 189 #endif // _PLUGIN_CLASS_H_ | 184 #endif // _PLUGIN_CLASS_H_ |
| OLD | NEW |