Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'c2d8037f017f007f59dfddbcb17e085a9a07252…
…3' into embedlite_upgrade Conflicts: gfx/thebes/gfxQtPlatform.cpp media/libtheora/lib/Makefile.in media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_alsa_linux.h media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h widget/qt/nsWindow.cpp
- Loading branch information
Showing
984 changed files
with
22,460 additions
and
12,150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
/* 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/. */ | ||
|
||
window.addEventListener("ContentStart", function(evt) { | ||
// Enable touch event shim on desktop that translates mouse events | ||
// into touch ones | ||
let require = Cu.import("resource://gre/modules/devtools/Loader.jsm", {}) | ||
.devtools.require; | ||
let { TouchEventHandler } = require("devtools/touch-events"); | ||
let touchEventHandler = new TouchEventHandler(shell.contentBrowser); | ||
let chromeEventHandler = window.QueryInterface(Ci.nsIInterfaceRequestor) | ||
.getInterface(Ci.nsIWebNavigation) | ||
.QueryInterface(Ci.nsIDocShell) | ||
.chromeEventHandler || window; | ||
let touchEventHandler = new TouchEventHandler(chromeEventHandler); | ||
touchEventHandler.start(); | ||
}); |
Oops, something went wrong.