| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 | 84 |
| 85 bool SetMenuBar(HMENU hMenu, const CString& url); | 85 bool SetMenuBar(HMENU hMenu, const CString& url); |
| 86 HMENU CreatePluginMenu(const CString& url); | 86 HMENU CreatePluginMenu(const CString& url); |
| 87 | 87 |
| 88 void DisplayPluginMenu(HMENU hMenu, int nToolbarCmdID, POINT pt, UINT nMenuFla
gs); | 88 void DisplayPluginMenu(HMENU hMenu, int nToolbarCmdID, POINT pt, UINT nMenuFla
gs); |
| 89 bool CreateStatusBarPane(); | 89 bool CreateStatusBarPane(); |
| 90 | 90 |
| 91 CComPtr<IConnectionPoint> GetConnectionPoint(); | 91 CComPtr<IConnectionPoint> GetConnectionPoint(); |
| 92 CComPtr<IConnectionPoint> GetConnectionPointPropSink(); | |
| 93 | 92 |
| 94 public: | 93 public: |
| 95 HWND GetBrowserHWND() const; | 94 HWND GetBrowserHWND() const; |
| 96 HWND GetTabHWND() const; | 95 HWND GetTabHWND() const; |
| 97 CComQIPtr<IWebBrowser2> GetBrowser() const; | 96 CComQIPtr<IWebBrowser2> GetBrowser() const; |
| 98 | 97 |
| 99 STDMETHODIMP OnTabChanged(DISPPARAMS* pDispParams, WORD wFlags); | 98 STDMETHODIMP OnTabChanged(DISPPARAMS* pDispParams, WORD wFlags); |
| 100 | 99 |
| 101 static CPluginMimeFilterClient* s_mimeFilter; | 100 static CPluginMimeFilterClient* s_mimeFilter; |
| 102 | 101 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 170 |
| 172 // Async browser | 171 // Async browser |
| 173 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; | 172 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; |
| 174 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); | 173 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); |
| 175 }; | 174 }; |
| 176 | 175 |
| 177 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) | 176 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) |
| 178 | 177 |
| 179 | 178 |
| 180 #endif // _PLUGIN_CLASS_H_ | 179 #endif // _PLUGIN_CLASS_H_ |
| OLD | NEW |