OLD | NEW |
1 /* | 1 /* |
2 * http://msdn.microsoft.com/en-us/library/bb250436.aspx | 2 * http://msdn.microsoft.com/en-us/library/bb250436.aspx |
3 */ | 3 */ |
4 | 4 |
5 #ifndef _PLUGIN_CLASS_H_ | 5 #ifndef _PLUGIN_CLASS_H_ |
6 #define _PLUGIN_CLASS_H_ | 6 #define _PLUGIN_CLASS_H_ |
7 | 7 |
8 | 8 |
9 #include "PluginTypedef.h" | 9 #include "PluginTypedef.h" |
10 #include "Plugin.h" | 10 #include "Plugin.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 bool CreateStatusBarPane(); | 89 bool CreateStatusBarPane(); |
90 | 90 |
91 CComPtr<IConnectionPoint> GetConnectionPoint(); | 91 CComPtr<IConnectionPoint> GetConnectionPoint(); |
92 CComPtr<IConnectionPoint> GetConnectionPointPropSink(); | 92 CComPtr<IConnectionPoint> GetConnectionPointPropSink(); |
93 | 93 |
94 public: | 94 public: |
95 HWND GetBrowserHWND() const; | 95 HWND GetBrowserHWND() const; |
96 HWND GetTabHWND() const; | 96 HWND GetTabHWND() const; |
97 CComQIPtr<IWebBrowser2> GetBrowser() const; | 97 CComQIPtr<IWebBrowser2> GetBrowser() const; |
98 | 98 |
99 STDMETHODIMP OnTabChanged(DISPPARAMS* pDispParams, WORD wFlags); | 99 void OnTabChanged(DISPPARAMS* pDispParams, WORD wFlags); |
100 | 100 |
101 static CPluginMimeFilterClient* s_mimeFilter; | 101 static CPluginMimeFilterClient* s_mimeFilter; |
102 | 102 |
103 private: | 103 private: |
104 | 104 |
105 CString GetBrowserUrl() const; | 105 CString GetBrowserUrl() const; |
106 | 106 |
107 | 107 |
108 static DWORD WINAPI StartInitObject(LPVOID thisPtr); | 108 static DWORD WINAPI StartInitObject(LPVOID thisPtr); |
109 bool InitObject(bool bBHO); | 109 bool InitObject(bool bBHO); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 171 |
172 // Async browser | 172 // Async browser |
173 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; | 173 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; |
174 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); | 174 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); |
175 }; | 175 }; |
176 | 176 |
177 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) | 177 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) |
178 | 178 |
179 | 179 |
180 #endif // _PLUGIN_CLASS_H_ | 180 #endif // _PLUGIN_CLASS_H_ |
OLD | NEW |