25 #ifndef SBWINDOWCHROMESERVICE_H_
26 #define SBWINDOWCHROMESERVICE_H_
28 #include "sbIWindowChromeService.h"
37 NS_DECL_SBIWINDOWCHROMESERVICE
42 static LRESULT WINAPI
WndProc(HWND hWnd,
50 ~sbWindowChromeService();
62 #define SONGBIRD_WINDOW_CHROME_SERVICE_CONTRACTID \
63 "@songbirdnest.com/Songbird/WindowChromeService;1"
64 #define SONGBIRD_WINDOW_CHROME_SERVICE_CLASSNAME \
65 "Songbird Window Chrome Service"
66 #define SONGBIRD_WINDOW_CHROME_SERVICE_CID \
71 {0x87, 0xd7, 0xea, 0xa, 0xd6, 0x84, 0x2, 0x7a} \
HRESULT(WINAPI * t_DwmIsCompositionEnabled)(BOOL *)
static LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
t_DwmIsCompositionEnabled mDwmIsCompositionEnabled
static bool IsCompositionEnabled(const sbWindowChromeService *self)
Component used to do platform-level tricks to hide the window chrome. Expected to only be used by sys...
NS_DECL_ISUPPORTS NS_DECL_SBIWINDOWCHROMESERVICE sbWindowChromeService()