mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 714358: Time manager interface. f=mounir, sr=mounir
This commit is contained in:
parent
6b01ab6f0a
commit
62da7c6ede
@ -61,6 +61,7 @@ DIRS += \
|
||||
sms \
|
||||
mms \
|
||||
src \
|
||||
time \
|
||||
locales \
|
||||
network \
|
||||
plugins/base \
|
||||
|
@ -19,6 +19,7 @@ DOM_SRCDIRS = \
|
||||
dom/src/geolocation \
|
||||
dom/src/notification \
|
||||
dom/workers \
|
||||
dom/time \
|
||||
content/xbl/src \
|
||||
content/xul/document/src \
|
||||
content/events/src \
|
||||
|
@ -32,7 +32,7 @@ interface nsIDOMMozURLProperty : nsISupports
|
||||
* @see <http://www.whatwg.org/html/#window>
|
||||
*/
|
||||
|
||||
[scriptable, uuid(A1AF6CD9-C6E7-4037-99F8-DBCA1B03E345)]
|
||||
[scriptable, uuid(AB4ED3B8-84F8-4585-B413-0996A7F96D20)]
|
||||
interface nsIDOMWindow : nsISupports
|
||||
{
|
||||
// the current browsing context
|
||||
@ -496,6 +496,7 @@ interface nsIDOMWindow : nsISupports
|
||||
[implicit_jscontext] attribute jsval ondeviceproximity;
|
||||
[implicit_jscontext] attribute jsval onuserproximity;
|
||||
[implicit_jscontext] attribute jsval ondevicelight;
|
||||
[implicit_jscontext] attribute jsval onmoztimechange;
|
||||
|
||||
[implicit_jscontext] attribute jsval onmouseenter;
|
||||
[implicit_jscontext] attribute jsval onmouseleave;
|
||||
|
27
dom/time/Makefile.in
Normal file
27
dom/time/Makefile.in
Normal file
@ -0,0 +1,27 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
LIBRARY_NAME = dom_time_s
|
||||
XPIDL_MODULE = dom_time
|
||||
LIBXUL_LIBRARY = 1
|
||||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/dom/dom-config.mk
|
||||
|
||||
CPPSRCS = $(NULL)
|
||||
|
||||
XPIDLSRCS = \
|
||||
nsIDOMNavigatorTime.idl \
|
||||
nsIDOMTimeManager.idl \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
include $(topsrcdir)/config/rules.mk
|
13
dom/time/nsIDOMNavigatorTime.idl
Normal file
13
dom/time/nsIDOMNavigatorTime.idl
Normal file
@ -0,0 +1,13 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
interface nsIDOMMozTimeManager;
|
||||
|
||||
[scriptable, uuid(befc186d-c249-4acb-8e70-8080f7b45e5c)]
|
||||
interface nsIDOMMozNavigatorTime : nsISupports
|
||||
{
|
||||
readonly attribute nsIDOMMozTimeManager mozTime;
|
||||
};
|
12
dom/time/nsIDOMTimeManager.idl
Normal file
12
dom/time/nsIDOMTimeManager.idl
Normal file
@ -0,0 +1,12 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[scriptable, builtinclass, uuid(d29beaaa-bd54-4fd5-9f18-e0eedb1dc96d)]
|
||||
interface nsIDOMMozTimeManager : nsISupports
|
||||
{
|
||||
// jsval could be Date object or UTC seconds
|
||||
void set(in jsval time);
|
||||
};
|
@ -82,6 +82,7 @@ MAKEFILES_dom="
|
||||
dom/src/storage/Makefile
|
||||
dom/system/Makefile
|
||||
dom/workers/Makefile
|
||||
dom/time/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_editor="
|
||||
|
Loading…
Reference in New Issue
Block a user