Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Ting-Yu Lin 4174a3a87e Bug 1304598 Part 3 - Rename nsPresShell.h/cpp to PresShell.h/cpp, and move exported header to mozilla/ subdir. r=dholbert
The class PresShell doesn't have ns-prefix, so it's better to drop ns-prefix
in the file names to avoid confusion.

MozReview-Commit-ID: IljxsF5CVjh

--HG--
rename : layout/base/nsPresShell.cpp => layout/base/PresShell.cpp
rename : layout/base/nsPresShell.h => layout/base/PresShell.h
extra : rebase_source : e73a6873f360a7223d87bd22d9854fc9603c499f
2016-11-30 11:14:28 +08:00
Kartikaya Gupta 2c4346250c Bug 1304052 - Use the unprefixed fullscreenchange event, and register the listener in the system group. r=xidorn
MozReview-Commit-ID: DH4PrG6BKgE
2016-09-22 09:42:44 -04:00
Kartikaya Gupta 37fb3cb56b Bug 1304052 - Disable APZ zooming when the document has any fullscreen state. r=botond
MozReview-Commit-ID: 5V1zFUTpnPq

--HG--
extra : rebase_source : 0ba882a9707b6a71e011bc6bfef7ea7e29f6059d
2016-09-21 16:19:10 -04:00
Olli Pettay c660d9c623 Bug 1277358 xul:browser element kept alive too long if tab is dnd'ed to a new window, r=kats
--HG--
extra : rebase_source : 38024349a694bd44962ad673ed0a304fdb77463c
2016-06-02 18:02:14 +03:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Kartikaya Gupta 846ccdb419 Bug 1242523 - Guard against GetWidget getting called with a null shell. r=snorp
--HG--
extra : commitid : EcuFF3ySzTZ
2016-01-25 14:02:53 -05:00
Aidin Gharibnavaz e6606278c0 Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.

--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Ting-Yu Lin d477595b16 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu fd9c9b233f Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Ting-Yu Lin 0fd840e0d8 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.

--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
James Willcox 7fa8522446 Bug 1213970 - Enable APZ on iOS r=kats 2015-10-28 14:10:27 -05:00
Nathan Froyd 4331d7171e Bug 1217939 - part 1 - remove nsContentUtils::GetViewportInfo; r=smaug
All it was doing was forwarding to the provided document, which is an
unnecessary layer of indirection.
2015-10-23 13:21:57 -04:00
Botond Ballo 72a3a301c4 Bug 1205511 - Use nsPresContext::DevToCSSPixelScale() where appropriate. r=kats
--HG--
extra : source : 16ed1b039eb1522f555c35e9df6e5632c69ff0a4
2015-09-28 20:14:26 -04:00
Kartikaya Gupta 6630a65ba4 Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
--HG--
extra : commitid : 29B0WVGYfId
2015-09-11 21:58:16 -04:00
Kartikaya Gupta 7dcd93cf22 Bug 1197824 - Remove the mAllowDoubleTapZoom field from nsViewportInfo as it is not needed. r=botond
--HG--
extra : commitid : I8h1z9d5809
2015-09-03 10:30:41 -04:00
Kartikaya Gupta ffff568fff Bug 1197824 - Support the browser.ui.zoom.force-user-scalable pref in the gecko zoom-constraints codepath. r=botond
The browser.ui.zoom.force-user-scalable pref can be modified by the user from
the Fennec settings screen, and allows them zoom pages despite the meta-viewport
tag that might otherwise restrict zooming. This effectively ignores the effect
of the user-scalable, minimum-scale, and maximum-scale meta-viewport tokens.

--HG--
extra : commitid : MWjCDpGJkH
2015-09-03 10:30:41 -04:00
Kartikaya Gupta bd15a1287b Bug 1197824 - Constrain the min/max zoom if zooming is not allowed. r=botond
In the C++ APZ implementation this has no effect, because the min/max zoom values
are never even read if zooming is not allowed. When this is hooked up to the
Java implementation though, the code expects the min/max zoom values to be
equal to the default zoom values in the case where zooming is not allowed. This
behaviour change therefore facilitates hooking up the ZoomConstraintsClient
to the Java pan/zoom controller implementation, which happens in a future patch.

--HG--
extra : commitid : BYbR5yWXpjc
2015-09-03 10:30:40 -04:00
Kartikaya Gupta 093f1dd881 Bug 1200303 - Support meta-viewport changes in ZoomConstraintsClient as well. r=miketaylr
--HG--
extra : commitid : I8qhld1fBKR
2015-09-01 14:04:56 -04:00
Kartikaya Gupta 48933a096d Bug 1194811 Part 2 - Use the content viewer size rather than the composition size of the root frame when computing the CSS viewport. r=botond
This aligns the code in the ZoomConstraintsClient with the other code in the
MobileViewportManager. That way they should always end up with the same result
for the CSS viewport.

--HG--
extra : commitid : H94N6zjvty3
2015-08-26 14:41:20 -04:00
Kartikaya Gupta 7f4539d2a6 Bug 1194811 Part 1 - Recompute the zoom constraints if the available screen area changes. r=botond
--HG--
extra : commitid : 56pOj2LAANE
2015-08-26 14:41:12 -04:00
Kartikaya Gupta 7b9f833a48 Bug 1186004 - Add a pref to enable/disable APZ zooming behaviour. r=botond 2015-07-22 23:42:08 -04:00
Kartikaya Gupta 49c13c1c35 Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00