Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/plugin/PluginClass.h

Issue 4805561958793216: Noissue - Remove dead code in CPluginClass::SetSite (Closed)
Patch Set: rebased + removed more dead code Created March 17, 2015, 10:29 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 CComQIPtr<IWebBrowser2> GetBrowser() const; 112 CComQIPtr<IWebBrowser2> GetBrowser() const;
113 113
114 114
115 static CPluginMimeFilterClient* s_mimeFilter; 115 static CPluginMimeFilterClient* s_mimeFilter;
116 116
117 private: 117 private:
118 118
119 std::wstring GetBrowserUrl() const; 119 std::wstring GetBrowserUrl() const;
120 120
121 static DWORD WINAPI StartInitObject(LPVOID thisPtr); 121 static DWORD WINAPI StartInitObject(LPVOID thisPtr);
122 bool InitObject(bool bBHO); 122 bool InitObject();
123 void CloseTheme(); 123 void CloseTheme();
124 void UpdateTheme(); 124 void UpdateTheme();
125 125
126 static HICON GetStatusBarIcon(const std::wstring& url); 126 static HICON GetStatusBarIcon(const std::wstring& url);
127 static CPluginClass* FindInstance(HWND hStatusBarWnd); 127 static CPluginClass* FindInstance(HWND hStatusBarWnd);
128 static LRESULT CALLBACK NewStatusProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); 128 static LRESULT CALLBACK NewStatusProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
129 static LRESULT CALLBACK PaneWindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); 129 static LRESULT CALLBACK PaneWindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
130 static void FirstRunThread(); 130 static void FirstRunThread();
131 131
132 void STDMETHODCALLTYPE OnBeforeNavigate2(IDispatch* pDisp /**< [in] */, 132 void STDMETHODCALLTYPE OnBeforeNavigate2(IDispatch* pDisp /**< [in] */,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 // Async browser 193 // Async browser
194 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; 194 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2;
195 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); 195 static CComQIPtr<IWebBrowser2> GetAsyncBrowser();
196 }; 196 };
197 197
198 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) 198 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass)
199 199
200 200
201 #endif // _PLUGIN_CLASS_H_ 201 #endif // _PLUGIN_CLASS_H_
OLDNEW
« no previous file with comments | « adblockplus.gyp ('k') | src/plugin/PluginClass.cpp » ('j') | src/plugin/PluginClass.cpp » ('J')

Powered by Google App Engine
This is Rietveld