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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 CPluginTab* GetTab(); | 95 CPluginTab* GetTab(); |
96 | 96 |
97 void UpdateStatusBar(); | 97 void UpdateStatusBar(); |
98 static DWORD WINAPI MainThreadProc(LPVOID pParam); | 98 static DWORD WINAPI MainThreadProc(LPVOID pParam); |
99 | 99 |
100 private: | 100 private: |
101 | 101 |
102 bool SetMenuBar(HMENU hMenu, const CString& url); | 102 bool SetMenuBar(HMENU hMenu, const CString& url); |
103 HMENU CreatePluginMenu(const CString& url); | 103 HMENU CreatePluginMenu(const CString& url); |
104 | 104 |
105 void DisplayActivateMessage(); | |
106 | |
107 void DisplayPluginMenu(HMENU hMenu, int nToolbarCmdID, POINT pt, UINT nM
enuFlags); | 105 void DisplayPluginMenu(HMENU hMenu, int nToolbarCmdID, POINT pt, UINT nM
enuFlags); |
108 bool CreateStatusBarPane(); | 106 bool CreateStatusBarPane(); |
109 | 107 |
110 CComPtr<IConnectionPoint> GetConnectionPoint(); | 108 CComPtr<IConnectionPoint> GetConnectionPoint(); |
111 CComPtr<IConnectionPoint> GetConnectionPointPropSink(); | 109 CComPtr<IConnectionPoint> GetConnectionPointPropSink(); |
112 | 110 |
113 public: | 111 public: |
114 HWND GetBrowserHWND() const; | 112 HWND GetBrowserHWND() const; |
115 HWND GetTabHWND() const; | 113 HWND GetTabHWND() const; |
116 CComQIPtr<IWebBrowser2> GetBrowser() const; | 114 CComQIPtr<IWebBrowser2> GetBrowser() const; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 #ifdef SUPPORT_FILE_DOWNLOAD | 200 #ifdef SUPPORT_FILE_DOWNLOAD |
203 static TMenuDownloadFiles s_menuDownloadFiles; | 201 static TMenuDownloadFiles s_menuDownloadFiles; |
204 #endif | 202 #endif |
205 | 203 |
206 }; | 204 }; |
207 | 205 |
208 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) | 206 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) |
209 | 207 |
210 | 208 |
211 #endif // _PLUGIN_CLASS_H_ | 209 #endif // _PLUGIN_CLASS_H_ |
OLD | NEW |