зеркало из https://github.com/mozilla/pjs.git
Droping device support component; it isn't being used yet. Also hiding SIP button
This commit is contained in:
Родитель
d8e2256322
Коммит
31374408eb
|
@ -47,8 +47,10 @@
|
|||
|
||||
// Global variables
|
||||
const static char* start_url = "chrome://minimo/content/minimo.xul";
|
||||
|
||||
//const static char* start_url = "http://www.meer.net/~dougt/test.html";
|
||||
//const static char* start_url = "resource://gre/res/start.html";
|
||||
//const static char* start_url = "resource://gre/res/1.html";
|
||||
|
||||
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||
static NS_DEFINE_CID(kAppShellCID, NS_APPSHELL_CID);
|
||||
|
@ -85,7 +87,6 @@ ApplicationObserver::ApplicationObserver(nsIAppShell* aAppShell)
|
|||
os->AddObserver(this, "xul-window-visible", PR_FALSE);
|
||||
|
||||
os->AddObserver(this, "xpcom-loader", PR_FALSE);
|
||||
|
||||
}
|
||||
|
||||
ApplicationObserver::~ApplicationObserver()
|
||||
|
|
|
@ -30,4 +30,3 @@ softkey
|
|||
phone
|
||||
snav
|
||||
ssr
|
||||
devicesupport
|
||||
|
|
|
@ -30,4 +30,3 @@ SoftKeyBoardModule
|
|||
nsPhoneSupportModule
|
||||
SpatialNavigationModule
|
||||
SSRModule
|
||||
DeviceSupportModule
|
||||
|
|
|
@ -205,9 +205,12 @@ nsSoftKeyBoard::OpenSIP()
|
|||
#ifdef WINCE
|
||||
HWND hWndSIP = ::FindWindow( _T( "SipWndClass" ), NULL );
|
||||
if (hWndSIP)
|
||||
{
|
||||
::ShowWindow( hWndSIP, SW_SHOW);
|
||||
}
|
||||
|
||||
hWndSIP = ::FindWindow( _T( "MS_SIPBUTTON" ), NULL );
|
||||
if (hWndSIP)
|
||||
::ShowWindow( hWndSIP, SW_SHOW);
|
||||
|
||||
SHSipPreference(NULL, SIP_UP);
|
||||
#endif
|
||||
}
|
||||
|
@ -218,9 +221,12 @@ nsSoftKeyBoard::CloseSIP()
|
|||
#ifdef WINCE
|
||||
HWND hWndSIP = ::FindWindow( _T( "SipWndClass" ), NULL );
|
||||
if (hWndSIP)
|
||||
{
|
||||
::ShowWindow( hWndSIP, SW_HIDE );
|
||||
}
|
||||
|
||||
hWndSIP = ::FindWindow( _T( "MS_SIPBUTTON" ), NULL );
|
||||
if (hWndSIP)
|
||||
::ShowWindow( hWndSIP, SW_HIDE );
|
||||
|
||||
SHSipPreference(NULL, SIP_DOWN);
|
||||
#endif
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче