sarvjeet
d9648d2a64
Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond, a=RyanVM
2015-02-25 13:33:21 -05:00
Wes Kocher
f2b0173ada
Backed out 2 changesets (bug 995394) for m-dt orange on a CLOSED TREE
...
Backed out changeset a250f116b563 (bug 995394)
Backed out changeset da37f3c9b4ce (bug 995394)
2015-02-26 17:56:14 -08:00
sarvjeet
eb675d0db0
Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond
2015-02-25 13:33:21 -05:00
Shu-yu Guo
285e8aa396
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
5a89bdb675
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
4d6a633bba
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é
4a00c51811
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
967806f47b
Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun
...
--HG--
extra : source : 2a6f99faedb8317b87b99a81953fa0ddd759ddaa
2014-04-09 13:39:36 -04:00
Ed Morley
cb88936575
Backed out changeset 7d8d52db13a6 (bug 976605)
2014-04-15 17:45:13 +01:00
Botond Ballo
f6f11a8323
Bug 976605 - Disable active element handling in BEP.js if APZ is enabled. r=kats,vingtetun
...
--HG--
extra : source : 62f6bbf910b470d8e423811dd036fe13b2c8c47b
2014-04-09 13:39:36 -04:00
Vivien Nicolas
48cfe7ab7a
Bug 986752 - CSS :active states get stuck with multiple on-screen touches. r=botond
2014-04-09 14:47:30 +02:00
Vivien Nicolas
b7f7e7b34c
Bug 978544 - Ignore events targetting a nsIMozBrowserFrame in BrowserElementPanning.js. r=fabrice
2014-03-04 09:53:16 +01:00
Vivien Nicolas
dc571e356c
Bug 972081 - Highlighting seems broken with APZC enabled. r=kats,fabrice
2014-02-15 01:45:45 +01:00
Nathan Froyd
edb0f3cc9d
Bug 961793 - unregister observers in BrowserElementPanning.js at global unload; r=fabrice
2014-01-22 16:55:42 -05:00
Nathan Froyd
caec372ff2
Bug 961808 - delete dead imports from BrowserElement{Child,Panning}.js; r=fabrice
2014-01-20 11:33:34 -05:00
Nathan Froyd
23ab1e2fbf
Bug 961841 - use Services.obs for the observer service in BrowserElementPanning.js; r=smaug
2014-01-20 16:04:24 -05:00
Vivien Nicolas
3d88d757de
Bug 950300 - Cancel APZC panning is the first touchmove is preventDefault'ed. r=kats
2013-12-20 10:11:01 +01:00
Vivien Nicolas
9079600d09
Bug 946339 - Tap and hold does not highlight the targeted element. r=fabrice
2013-12-12 11:43:45 +01:00
Vivien Nicolas
76273520c2
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
8482c08c29
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é
25c348b670
Bug 942259 - Folder list scrolling seems broken r=vingtetun
2013-11-24 15:18:00 -08:00
Vivien Nicolas
037bbc9f2f
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
5cae11189e
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
843874866f
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
b6e69c5b11
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
563534a90d
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
228392fdbf
Backed out changeset 0f1efa209f53 (bug 863702) for B2G mochitest-2 failures.
2013-10-11 14:41:22 -04:00
Vivien Nicolas
9ab132bb2b
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é
ce7abf2462
Bug 914854 - BrowserElementPanning causes sync reflow by quering scrollLeft/Top r=bz,vingtetun
2013-09-30 10:32:02 -07:00
Anthony Ricaud
d73e448268
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
b68957b6c2
Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures.
2013-09-03 17:22:14 -04:00
Kartikaya Gupta
0cfd020f95
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
2e43be6b4f
Bug 899801 - Don't keep more than five "momentums" values in BrowserElementPanning.js. r=vingtetun
...
--HG--
extra : rebase_source : f9285a4208b307713d707e5750f39eb43c2b126c
2013-07-31 09:22:57 -07:00
Kartikaya Gupta
b04b843247
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
70066995e2
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
312055cc88
Bug 829862 - Recalculate scroll direction when traversing to the outer frame. r=vivien
2013-06-05 08:02:51 -04:00
Vivien Nicolas
f311bc4fb2
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
cab6163b26
Bug 868271 - Don't ignore touchend even if event is preventDefaulted. r=vingtetun
2013-05-14 08:30:37 -04:00
Jinho Hwang
5249447d5e
Bug 864684 - Prevent two way scrolling if it is not neccessary. r=vingtetun
2013-04-26 16:50:12 -04:00
Jonathan Watt
8b2683e59e
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
ea9834981a
Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun
2013-02-27 16:48:32 -05:00
Chris Jones
9ca8273e40
Bug 841830: Allow scrolling while tap/pan gesture is still ambiguous, for perceived responsiveness. r=vingtetun
...
--HG--
extra : rebase_source : efb68d082921d1a41120c5b447b72637ea72ab73
2013-02-15 11:41:23 -08:00
Vivien Nicolas ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
8256807f98
Bug 835809: Preload more things for faster page loads. r=fabrice,jlebar
...
--HG--
rename : dom/browser-element/BrowserElementChild.js => dom/browser-element/BrowserElementChildPreload.js
rename : dom/browser-element/BrowserElementScrolling.js => dom/browser-element/BrowserElementPanning.js
2013-02-07 21:10:01 -08:00