Changes

Jump to: navigation, search

Fennec/NativeUI/Architecture Overview

36 bytes removed, 13:17, 14 October 2011
Overview
** browser.js and browser.xul create a single <browser> "UI" for only displaying the web contents.
** Some helpers in browser.js are used to communicate network activity and mouse gestures to Java. More helpers will be needed for adding support for different Gecko features. Easily poached from the current code.
** A JSON based message system is used to [[Fennec/NativeUI/Messages|send messages ]] from XUL to Java. nsIAndroidBridge is the XPCOM object that makes this happen, but the messages are just forwarded to GeckoAppShell and routed out to Java from there.** I don't see much of a formal communication An event based message system is used to [[Fennec/NativeUI/Messages|send messages]] from Java to XUL. For exampleFrom Java, I see the Java UI forcing you create a full load of GeckoEvent with a previous URL on refresh subject and back (using GeckoAppShelldata strings.sendEventToGecko) instead of sending a message This is sent to XUL and telling the <browser> to simply reload or go backas an nsIObserver notification.
==Things we could address==
Canmove, confirm, emeritus
2,798
edits

Navigation menu