mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 923596 - Integrate shumway into Metro UI (disabled by default) [r=jimm,gps]
This commit is contained in:
parent
12161e806f
commit
28ae77aeca
@ -48,4 +48,16 @@ libs:: $(DIST)/bin/metro/chrome/pdfjs.manifest
|
||||
$(foreach exclude,$(exclude_files), -X $(srcdir)/pdfjs/$(exclude)) \
|
||||
$(DIST)/bin/metro/chrome
|
||||
$(call py_action,buildlist,$(DIST)/bin/metro/chrome.manifest 'manifest chrome/pdfjs.manifest')
|
||||
|
||||
ifdef NIGHTLY_BUILD
|
||||
$(DIST)/bin/metro/chrome/shumway.manifest: $(GLOBAL_DEPS)
|
||||
printf 'manifest shumway/chrome.manifest' > $@
|
||||
|
||||
libs:: $(DIST)/bin/metro/chrome/shumway.manifest
|
||||
$(PYTHON) $(topsrcdir)/config/nsinstall.py \
|
||||
$(srcdir)/shumway \
|
||||
$(foreach exclude,$(exclude_files), -X $(srcdir)/shumway/$(exclude)) \
|
||||
$(DIST)/bin/metro/chrome
|
||||
$(call py_action,buildlist,$(DIST)/bin/metro/chrome.manifest 'manifest chrome/shumway.manifest')
|
||||
endif
|
||||
endif
|
||||
|
@ -834,6 +834,10 @@ bin/libfreebl_32int64_3.so
|
||||
@BINPATH@/metro/chrome/chrome.manifest
|
||||
@BINPATH@/metro/chrome/@AB_CD@@JAREXT@
|
||||
@BINPATH@/metro/chrome/@AB_CD@.manifest
|
||||
#ifdef NIGHTLY_BUILD
|
||||
@BINPATH@/metro/chrome/shumway.manifest
|
||||
@BINPATH@/metro/chrome/shumway/*
|
||||
#endif
|
||||
@BINPATH@/metro/chrome/pdfjs.manifest
|
||||
@BINPATH@/metro/chrome/pdfjs/*
|
||||
@BINPATH@/metro/components
|
||||
|
@ -40,6 +40,9 @@ XPCOMUtils.defineLazyModuleGetter(this, "NewTabUtils",
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "Promise",
|
||||
"resource://gre/modules/commonjs/sdk/core/promise.js");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "ShumwayUtils",
|
||||
"resource://shumway/ShumwayUtils.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "Task",
|
||||
"resource://gre/modules/Task.jsm");
|
||||
|
||||
|
@ -115,6 +115,9 @@ var BrowserUI = {
|
||||
SettingsCharm.init();
|
||||
NavButtonSlider.init();
|
||||
SelectionHelperUI.init();
|
||||
#ifdef NIGHTLY_BUILD
|
||||
ShumwayUtils.init();
|
||||
#endif
|
||||
|
||||
// We can delay some initialization until after startup. We wait until
|
||||
// the first page is shown, then dispatch a UIReadyDelayed event.
|
||||
|
@ -552,6 +552,10 @@ pref("pdfjs.firstRun", false);
|
||||
pref("pdfjs.previousHandler.preferredAction", 0);
|
||||
pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
|
||||
|
||||
#ifdef NIGHTLY_BUILD
|
||||
pref("shumway.disabled", true);
|
||||
#endif
|
||||
|
||||
// The maximum amount of decoded image data we'll willingly keep around (we
|
||||
// might keep around more than this, but we'll try to get down to this value).
|
||||
// (This is intentionally on the high side; see bug 746055.)
|
||||
|
Loading…
Reference in New Issue
Block a user