Confirmed users
368
edits
(first draft of the wiki page) |
m (→Proposed API) |
||
Line 9: | Line 9: | ||
attribute Object? data; // a dictionary | attribute Object? data; // a dictionary | ||
}; | }; | ||
[Constructor(DOMString name)] | [Constructor(DOMString name)] | ||
interface ActivityHandlerDescription { | interface ActivityHandlerDescription { | ||
Line 18: | Line 18: | ||
attribute Object? filters; // a dictionary | attribute Object? filters; // a dictionary | ||
}; | }; | ||
interface ActivityRequestHandler { | interface ActivityRequestHandler { | ||
void postResult(any result); | void postResult(any result); | ||
Line 24: | Line 24: | ||
readonly attribute ActivityOptions source; | readonly attribute ActivityOptions source; | ||
}; | }; | ||
[Constructor(ActivityOptions options)] | [Constructor(ActivityOptions options)] | ||
interface Activity : DOMRequest { | interface Activity : DOMRequest { | ||
}; | }; | ||
partial interface Navigator { | partial interface Navigator { | ||
DOMRequest registerActivityHandler(ActivityDescription d); | DOMRequest registerActivityHandler(ActivityDescription d); |