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

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

Issue 5032147387678720: NoIssue - Refactor HTTP and HTTPS namespaces registration
Patch Set: Created April 13, 2015, 3:14 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
« no previous file with comments | « src/plugin/Plugin.cpp ('k') | src/plugin/PluginClass.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 void DisplayPluginMenu(HMENU hMenu, int nToolbarCmdID, POINT pt, UINT nMenuFla gs); 106 void DisplayPluginMenu(HMENU hMenu, int nToolbarCmdID, POINT pt, UINT nMenuFla gs);
107 bool CreateStatusBarPane(); 107 bool CreateStatusBarPane();
108 108
109 public: 109 public:
110 HWND GetBrowserHWND() const; 110 HWND GetBrowserHWND() const;
111 HWND GetTabHWND() const; 111 HWND GetTabHWND() const;
112 CComQIPtr<IWebBrowser2> GetBrowser() const; 112 CComQIPtr<IWebBrowser2> GetBrowser() const;
113 113
114 114
115 static CPluginMimeFilterClient* s_mimeFilter; 115 static std::shared_ptr<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(); 122 bool InitObject();
123 void CloseTheme(); 123 void CloseTheme();
124 void UpdateTheme(); 124 void UpdateTheme();
125 125
(...skipping 66 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 | « src/plugin/Plugin.cpp ('k') | src/plugin/PluginClass.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld