Open main menu

CDOT Wiki β

Changes

Add an Infobar style warning for window resize/move

456 bytes added, 00:16, 15 October 2008
Project Details
== Project Details ==
'''10/15/2008''' -
FireWindowResizedEvent(nsIDOMDocument *aDoc);
in nsGlobalWindow.cpp is coded. Tested and it works.
I also fixed browser.js so that the notification occurs only once.
 
Javascript resizeTo and moveTo is also called resizeTo and moveTo in nsGlobalWindow.cpp, therefore I put the event where user blocks it.
 
Later I will call the event always, and depending on whether it was blocked or not, will give the option to unblock/allow resize.
'''10/13/2008''' -
* browser.js is complete, browser.xml should be complete. All that's left now is to know where to put the Fire event in cpp so that browser.xml receives the event call.
1
edit