Commit Graph

40 Commits

Author SHA1 Message Date
Shu-yu Guo
6cfc2eb110 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Vivien Nicolas
dab82101c5 Bug 1016944 - Events are processed twice in BrowserElementPanning.js for nested in-process mozbrowser iframes. r=fabrice 2014-07-11 16:17:19 +02:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Fabrice Desré
3fc4987762 Bug 1003836 - Don't use createEvent("TouchEvent") to check if TouchEvents are supported r=smaug 2014-05-02 14:56:18 -07:00
Botond Ballo
f0fd69340b Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun 2014-04-09 13:39:36 -04:00
Ed Morley
4f73d0b55a Backed out changeset 7d8d52db13a6 (bug 976605) 2014-04-15 17:45:13 +01:00
Botond Ballo
42ad72b868 Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun 2014-04-09 13:39:36 -04:00
Vivien Nicolas
cc35526d23 Bug 986752 - CSS :active states get stuck with multiple on-screen touches. r=botond 2014-04-09 14:47:30 +02:00
Vivien Nicolas
643b72299b Bug 978544 - Ignore events targetting a nsIMozBrowserFrame in BrowserElementPanning.js. r=fabrice 2014-03-04 09:53:16 +01:00
Vivien Nicolas
7d85075b49 Bug 972081 - Highlighting seems broken with APZC enabled. r=kats,fabrice 2014-02-15 01:45:45 +01:00
Nathan Froyd
1fc939fb52 Bug 961793 - unregister observers in BrowserElementPanning.js at global unload; r=fabrice 2014-01-22 16:55:42 -05:00
Nathan Froyd
ade280be60 Bug 961808 - delete dead imports from BrowserElement{Child,Panning}.js; r=fabrice 2014-01-20 11:33:34 -05:00
Nathan Froyd
0427b8d93e Bug 961841 - use Services.obs for the observer service in BrowserElementPanning.js; r=smaug 2014-01-20 16:04:24 -05:00
Vivien Nicolas
8c6319ca89 Bug 950300 - Cancel APZC panning is the first touchmove is preventDefault'ed. r=kats 2013-12-20 10:11:01 +01:00
Vivien Nicolas
69089cd010 Bug 946339 - Tap and hold does not highlight the targeted element. r=fabrice 2013-12-12 11:43:45 +01:00
Vivien Nicolas
91eddc1aa0 Bug 944047 - Change the initialisation order in BrowserElementPanning.js r=cwiiis
Change the order of initialisation in BrowserElementPanning.js so that
TabChild::IsAsyncPanZoomEnabled isn't called before
TabChild::InitRenderingState.
2013-12-05 20:47:19 +00:00
Vivien Nicolas
cad9d95e36 Bug 935561 - [Messaging] Attach icon is kept like pressed when tapping on it and cancel selecting a content to attach (followup). r=fabrice 2013-11-26 18:30:12 +01:00
Fabrice Desré
003f29ec4f Bug 942259 - Folder list scrolling seems broken r=vingtetun 2013-11-24 15:18:00 -08:00
Vivien Nicolas
798635328b Bug 935561 - [Messaging] Attach icon is kept like pressed when tapping on it and cancel selecting a content to attach. r=fabrice 2013-11-22 13:45:05 +01:00
Timothy Nikkel
e4147fbe61 Bug 908100. Prefer the pointerDownTarget when resetting the active state because that is what we set active state on. r=vingtetun 2013-11-19 12:15:20 -06:00
Kartikaya Gupta
24bba45018 Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Vivien Nicolas
5e7574b423 Bug 928405 - Reset :hover state when the application is sent to the background. r=fabrice 2013-10-19 12:30:33 +02:00
Vivien Nicolas
eb5d128754 Bug 863702 - [B2G] :active state is sometime not rendered if you tap quickly. r=fabrice 2013-10-17 09:18:13 +02:00
Ryan VanderMeulen
8cddf8af39 Backed out changeset 0f1efa209f53 (bug 863702) for B2G mochitest-2 failures. 2013-10-11 14:41:22 -04:00
Vivien Nicolas
fa6bd54829 Bug 863702 - [B2G] :active state is sometime not rendered if you tap quickly. r=fabrice 2013-10-11 17:29:19 +02:00
Fabrice Desré
4562281cad Bug 914854 - BrowserElementPanning causes sync reflow by quering scrollLeft/Top r=bz,vingtetun 2013-09-30 10:32:02 -07:00
Anthony Ricaud
d626d59f4c Bug 889717 - Do not send focus when the user taps to stop scrolling. r=vingtetun 2013-09-04 08:29:46 -04:00
Ryan VanderMeulen
3274ad8459 Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures. 2013-09-03 17:22:14 -04:00
Kartikaya Gupta
7909e0472e Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
Justin Lebar
0e3a3b7658 Bug 899801 - Don't keep more than five "momentums" values in BrowserElementPanning.js. r=vingtetun 2013-07-31 09:22:57 -07:00
Kartikaya Gupta
4836b147f2 Bug 866232 - Disable BrowserElementPanning.js from panning subframes and interfering with multi-apzc. r=BenWa, vingtetun 2013-07-30 14:03:42 -04:00
Kyle Huey
ed86401dae Bug 897701: Don't entrain the target of the pan longer than necessary. r=jlebar 2013-07-24 16:27:45 -07:00
Alfredo Yang
2b7a0cdce3 Bug 829862 - Recalculate scroll direction when traversing to the outer frame. r=vivien 2013-06-05 08:02:51 -04:00
Vivien Nicolas
99f8b6f3e4 Bug 864892 - dom/browser-element/BrowserElementPanning.js kinetic panning does not work with hand made touch events. r=fabrice 2013-05-23 17:52:04 +02:00
Shih-Chiang Chien
e7f9a8d469 Bug 868271 - Don't ignore touchend even if event is preventDefaulted. r=vingtetun 2013-05-14 08:30:37 -04:00
Jinho Hwang
5bf7f95a42 Bug 864684 - Prevent two way scrolling if it is not neccessary. r=vingtetun 2013-04-26 16:50:12 -04:00
Jonathan Watt
569818d6a5 Bug 854133 - Stop the page from scrolling when the user tries to drag an <input type=range>'s thumb in the B2G browser app. r=smaug 2013-03-24 21:21:17 +00:00
Shih-Chiang Chien
f793f6af19 Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun 2013-02-27 16:48:32 -05:00
Chris Jones
9a17134d04 Bug 841830: Allow scrolling while tap/pan gesture is still ambiguous, for perceived responsiveness. r=vingtetun 2013-02-15 11:41:23 -08:00
Vivien Nicolas
482bd6e52f Bug 835809: Preload more things for faster page loads. r=fabrice,jlebar 2013-02-07 21:10:01 -08:00