sarvjeet
07d8696b14
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
...
--HG--
extra : amend_source : 5806ad240ace17ce35008e307f89b825ed31d711
2015-02-25 13:33:21 -05:00
Wes Kocher
04a00867d2
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
f8ac4ebec4
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
15262d36a9
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
42b4bad745
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
7e20285e70
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é
9eb8169458
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
4dbc1d1f8a
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
34538df255
Backed out changeset 7d8d52db13a6 (bug 976605)
2014-04-15 17:45:13 +01:00
Botond Ballo
ab3150cc0f
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
9352d16730
Bug 986752 - CSS :active states get stuck with multiple on-screen touches. r=botond
2014-04-09 14:47:30 +02:00
Vivien Nicolas
a34099f956
Bug 978544 - Ignore events targetting a nsIMozBrowserFrame in BrowserElementPanning.js. r=fabrice
2014-03-04 09:53:16 +01:00
Vivien Nicolas
4c5a2939f1
Bug 972081 - Highlighting seems broken with APZC enabled. r=kats,fabrice
2014-02-15 01:45:45 +01:00
Nathan Froyd
d906a1c5d9
Bug 961793 - unregister observers in BrowserElementPanning.js at global unload; r=fabrice
2014-01-22 16:55:42 -05:00
Nathan Froyd
f5eb413a24
Bug 961808 - delete dead imports from BrowserElement{Child,Panning}.js; r=fabrice
2014-01-20 11:33:34 -05:00
Nathan Froyd
23c2d4fb30
Bug 961841 - use Services.obs for the observer service in BrowserElementPanning.js; r=smaug
2014-01-20 16:04:24 -05:00
Vivien Nicolas
88d9b0d654
Bug 950300 - Cancel APZC panning is the first touchmove is preventDefault'ed. r=kats
2013-12-20 10:11:01 +01:00
Vivien Nicolas
cdaec2a0c8
Bug 946339 - Tap and hold does not highlight the targeted element. r=fabrice
2013-12-12 11:43:45 +01:00
Vivien Nicolas
38b448e36f
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
a286cc2d3b
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é
47ebbfda46
Bug 942259 - Folder list scrolling seems broken r=vingtetun
2013-11-24 15:18:00 -08:00
Vivien Nicolas
b1b8831091
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
3608eb90d1
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
e08ba777b1
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
53ff4bdacb
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
542d7cb5d8
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
df03b6f3e3
Backed out changeset 0f1efa209f53 (bug 863702) for B2G mochitest-2 failures.
2013-10-11 14:41:22 -04:00
Vivien Nicolas
1b1b3092a7
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é
38808b7cf4
Bug 914854 - BrowserElementPanning causes sync reflow by quering scrollLeft/Top r=bz,vingtetun
2013-09-30 10:32:02 -07:00
Anthony Ricaud
1a6cb8ad2c
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
374595fdca
Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures.
2013-09-03 17:22:14 -04:00
Kartikaya Gupta
ac06685b67
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
1edbba850c
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
61c09db07a
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
2eae1dc374
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
bb9e1b8d60
Bug 829862 - Recalculate scroll direction when traversing to the outer frame. r=vivien
2013-06-05 08:02:51 -04:00
Vivien Nicolas
85b2421b89
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
3f0a1ba288
Bug 868271 - Don't ignore touchend even if event is preventDefaulted. r=vingtetun
2013-05-14 08:30:37 -04:00
Jinho Hwang
c30def58ce
Bug 864684 - Prevent two way scrolling if it is not neccessary. r=vingtetun
2013-04-26 16:50:12 -04:00
Jonathan Watt
26622cf77f
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
07a1fafd59
Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun
2013-02-27 16:48:32 -05:00
Chris Jones
e9b7cbb6d9
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)
a63928cdfc
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