Open main menu

CDOT Wiki β

Changes

Add an Infobar style warning for window resize/move

308 bytes added, 18:43, 12 October 2008
Project Details
'''10/12/2008''' -
*[http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-sets.inc browser-sets.inc] is a file that holds information on document elements. It can run javascript options, therefore it is important to make sure that a label on a popup is hooked here to a javascript option. (Or else, what would that option do?)
*I ''think'' I can add DOMWindowResized event listener here: [http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/browser.xml#664 http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/browser.xml#664]
*Then I can go into nsGlobalWindow.cpp and code the FireResizedEvent...
'''10/05/2008''' -
*[http://mxr.mozilla.org/mozilla-central/source/content/events/src/nsEventDispatcher.cpp#644 nsEventDispatcher]'s nsEventDispatcher::DispatchDOMEvent() function needs to recognize our event, DOMWindowResized.
1
edit