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

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

Issue 11557015: Tooltip notification. Check for update fixes. (Closed)
Patch Set: Addressing comments Created Sept. 16, 2013, 1:49 p.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 * 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"
11 #include "PluginTab.h" 11 #include "PluginTab.h"
12 #define _CRTDBG_MAP_ALLOC 12 #define _CRTDBG_MAP_ALLOC
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <crtdbg.h> 14 #include <crtdbg.h>
15 15
16 #include "NotificationMessage.h"
16 17
17 #define ICON_PLUGIN_DISABLED 0 18 #define ICON_PLUGIN_DISABLED 0
18 #define ICON_PLUGIN_ENABLED 1 19 #define ICON_PLUGIN_ENABLED 1
19 #define ICON_PLUGIN_DEACTIVATED 2 20 #define ICON_PLUGIN_DEACTIVATED 2
20 #define ICON_MAX 3 21 #define ICON_MAX 3
21 22
22 #define WM_LAUNCH_INFO (WM_APP + 10) 23 #define WM_LAUNCH_INFO (WM_APP + 10)
23 24
24 #ifdef SUPPORT_WHITELIST 25 #ifdef SUPPORT_WHITELIST
25 #define WM_WHITELIST_DOMAIN (WM_LAUNCH_INFO + 1) 26 #define WM_WHITELIST_DOMAIN (WM_LAUNCH_INFO + 1)
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 bool IsStatusBarEnabled(); 129 bool IsStatusBarEnabled();
129 130
130 public: 131 public:
131 CComQIPtr<IWebBrowser2> m_webBrowser2; 132 CComQIPtr<IWebBrowser2> m_webBrowser2;
132 private: 133 private:
133 DWORD m_nConnectionID; 134 DWORD m_nConnectionID;
134 HWND m_hBrowserWnd; 135 HWND m_hBrowserWnd;
135 HWND m_hTabWnd; 136 HWND m_hTabWnd;
136 HWND m_hStatusBarWnd; 137 HWND m_hStatusBarWnd;
137 HWND m_hPaneWnd; 138 HWND m_hPaneWnd;
139
138 WNDPROC m_pWndProcStatus; 140 WNDPROC m_pWndProcStatus;
139 int m_nPaneWidth; 141 int m_nPaneWidth;
140 HANDLE m_hTheme; 142 HANDLE m_hTheme;
141 143
142 CriticalSection m_csStatusBar; 144 CriticalSection m_csStatusBar;
143 145
146 NotificationMessage notificationMessage;
147
144 bool m_isAdviced; 148 bool m_isAdviced;
145 bool m_isInitializedOk; 149 bool m_isInitializedOk;
146 150
147 // Atom pane class 151 // Atom pane class
148 static ATOM s_atomPaneClass; 152 static ATOM s_atomPaneClass;
149 153
150 static ATOM GetAtomPaneClass(); 154 static ATOM GetAtomPaneClass();
151 155
152 // Icons 156 // Icons
153 static HICON s_hIcons[ICON_MAX]; 157 static HICON s_hIcons[ICON_MAX];
(...skipping 28 matching lines...) Expand all
182 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; 186 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2;
183 187
184 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); 188 static CComQIPtr<IWebBrowser2> GetAsyncBrowser();
185 189
186 }; 190 };
187 191
188 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) 192 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass)
189 193
190 194
191 #endif // _PLUGIN_CLASS_H_ 195 #endif // _PLUGIN_CLASS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld