18. A device, comprising: a processor; and a memory coupled to the processor, wherein the memory comprises program instructions configured to: execute a first collaboration framework and an instance of an application, wherein executing the instance of the application comprises displaying an instance of a graphical user interface of the application; wherein the first collaboration framework is configured to: intercept, via an operating system event handling mechanism executing on the device, a local user input event targeted to the instance of the application, wherein the instance of the application applies a modification to the instance of the graphical user interface in response to receiving the user input event; in response to said intercepting, send a message including the user input event to each of one or more other collaboration frameworks each executing on one of a respective one or more other devices that are each executing a respective other instance of the application, wherein said executing each respective other instance of the application comprises displaying a respective other instance of the graphical user interface of the application on the respective other device; wherein the message includes information usable by each of the one or more other collaboration frameworks to deliver the user input event, via an operating system event handling mechanism executing on the respective other device, to the respective other instance of the application executing on the respective other device as if the user input event originated locally from the respective other user interface displayed by the respective other application on the respective other device; and wherein the delivered user input event causes each of the respective other application instances to apply the modification to the respective instance of the graphical user interface.
20. The device of claim 18 , wherein as part of said intercepting the first collaboration framework is configured to register with the event handling mechanism to receive, through a callback function, the input event.