Commit Graph

444 Commits

Author SHA1 Message Date
Ehsan Akhgari
8094bc38b3 Bug 1002313 - Fix the test for bug 503926 so that it doesn't rely on nsIDOMNode being scriptable; r=bzbarsky 2014-04-28 19:58:34 -04:00
Masayuki Nakano
0fff342b52 Bug 998188 part.4 nsIDOMWindowUtils.sendQueryContentEvent() and .sendSelectionSetEvent() should take additional flags with its argument for making callers selectable native line break mode or XP line break mode r=smaug, sr=jst 2014-04-26 08:52:13 +09:00
Andrew McCreight
a5bceed7c9 Bug 949607, part 2 - Add and use runNextCollectorTimer. r=smaug 2014-04-25 13:21:04 -07:00
Eugen Sawin
8dbe22eb92 Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp 2014-04-07 13:43:58 +02:00
Jonathan Watt
61a8971526 Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Botond Ballo
943c061dc6 Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
--HG--
extra : rebase_source : 95d6fb6992221c86800bc6322730729c083d75a3
2014-04-04 10:13:50 -04:00
Ryan VanderMeulen
1087eac823 Backed out 6 changesets (bug 982141) for Windows and OSX bustage. CLOSED TREE
Backed out changeset 16540ab2d2cb (bug 982141)
Backed out changeset 2ad9ce9d904e (bug 982141)
Backed out changeset af219bb49c06 (bug 982141)
Backed out changeset ffe51d96e86e (bug 982141)
Backed out changeset 6642718ad3bb (bug 982141)
Backed out changeset 95b341d26f7b (bug 982141)
2014-04-10 15:27:42 -04:00
Botond Ballo
d9fcefd5b2 Bug 982141 - Introduce nsLayoutUtils::SetDisplayPortMargins, with an option to not repaint. r=tn
--HG--
extra : rebase_source : 7d8245831828d60df4fb6e20d98fd2b08d4e3857
2014-04-04 10:13:50 -04:00
Chris Lord
9c5e7e0874 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Felipe Gomes
860cfdddb9 Bug 971043 - Implement getTranslationNodes function to retrieve nodes from webpage that contains meaningful text for translation. r=smaug 2014-04-05 00:21:08 -03:00
Blake Kaplan
3745131216 Bug 899648 - Initial patch to make tab-modal prompts work. Original patch from Tom Schuster <evilpies@gmail.com>. r=dolske 2014-04-04 14:50:42 -07:00
Ryan VanderMeulen
01e048154a Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
5a2c48da2d Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Jon Coppeard
09bf25a74a Bug 990001 - Use JS::AutoValueArray in preference to AutoValueVector where size is known in advance r=smaug 2014-04-01 11:34:39 +01:00
Masayuki Nakano
a63f35fff1 Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Timothy Nikkel
6683c51c85 Bug 987605. Call MaybeReflowForInflationScreenWidthChange on SetScrollPositionClampingScrollPortSize instead of SetDisplayPortForElement. r=dbaron
The scroll position clamping scroll port size is more closely related to the screen size then the display port.
2014-03-26 14:59:35 -05:00
Timothy Nikkel
eeb6259203 Bug 957668. A little cleanup of display port setters in nsDOMWindowUtils.cpp. r=kats 2014-03-26 21:46:24 -04:00
Timothy Nikkel
8ccbcd870e Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Gorman Ho
f829937556 Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
Brian Birtles
6177798cad Bug 986359 part 2 - Factor out GetTransaction in DOMWindowUtils; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Brian Birtles
68df29a84d Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Benoit Jacob
618e69aee7 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Peter Chang
0feb380b0d backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Andrea Marchesini
7c2d706f91 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Ed Morley
301dd385b6 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
19518c8a2c Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Robert O'Callahan
f30bd3b5ac Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
3529a9aaf3 Bug 975931. Part 10: Refactor nsDOMWindowUtils to use a shared GetDocument method. r=matspal
--HG--
extra : rebase_source : 171cd80958a92efcf16ebd249c73f46dbdedb012
2014-03-08 22:22:28 +13:00
Robert O'Callahan
e5f6bfb587 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Brian Birtles
e40ff94f71 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
7499abbd61 Bug 979658 part 2 - Add nsDOMWindowUtils.getOMTAStyle; r=dbaron
nsDOMWindowUtils.getOMTAOrComputedStyle falls back to using getComputedStyle
when an OMTA style is not available. However, in order to be sure we are testing
OMTA, this patch adds getOMTAStyle which returns an empty string if no OMTA
style is available.

This patch also includes some minor stylistic tweaks. The method signature for
getOMTAOrComputedStyle now takes an nsIDOMElement parameter rather than
nsIDOMNode in order to simplify error-checking. (When we support OMTA of
pseudo-elements we will have to adjust the method signature but for now we only
support elements.) Also, some lines have been wrapped, ErrorResult is
declared closer to where it is used, and the return value aResult is only
truncated when returning NS_OK.
2014-03-10 13:47:12 +09:00
Brian Birtles
66100682c8 Bug 979658 part 1 - Add check that caller is chrome to GetOMTAOrComputedStyle; r=dzbarsky
Every other exposed method in nsDOMWindowUtils except getViewPortInfo and
getViewId performs this check. This patch makes getOMTAOrComputedStyle check the
caller is chrome as well.
2014-03-10 13:47:11 +09:00
Benoit Jacob
5690c8f7e0 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
eccc1b69c8 Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob
39560c498f Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-06 11:38:17 -05:00
Blake Kaplan
5acd3527ae Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug 2014-02-26 15:58:21 -08:00
Jan Varga
914a48b461 Bug 963064 - FileHandle cleanup. r=bent 2014-02-24 21:56:13 +01:00
Robert O'Callahan
860f3a36ae Bug 973767. Put the compositor into test mode via an IPDL transaction. r=mattwoodrow
--HG--
extra : rebase_source : d40cf8624f93b85298cc501ff315522220522fb6
2014-02-12 17:41:57 +13:00
Masayuki Nakano
a5ad7181a3 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Oleg Romashin
e69cb4b184 Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-11 06:16:56 -08:00
Oleg Romashin
28e979ffcb Backout 168002:594dda9c7a3a, need better SpecialPowers handling on Win platform 2014-02-10 23:39:30 -08:00
Oleg Romashin
9697079236 Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-10 22:35:17 -08:00
Jon Coppeard
4d31f15db2 Bug 965904 - Fix some rooting hazards in the browser r=terrence 2014-01-31 09:56:40 +00:00
David Zbarsky
76b8ef2eb7 Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:47 -05:00
Peiyong Lin
5b7c92a902 Bug 950246 - Correct nsDOMWindowUtils::StopFrameTimeRecording() alloc to sizeof(float). r=jdm 2014-01-21 15:51:18 -05:00
Tom Schuster
5e3191afd2 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Alexandre Poirot
27e89befdc Bug 891882 - DOMWindowUtils.sendMouseEvent dispatch events with isSynthesized chrome attribute set to true. r=smaug 2014-01-15 09:28:04 -05:00
Kartikaya Gupta
330e915734 Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00
Jim Mathies
edb6991c06 Bug 941774 - New dom utils methods for injecting native touch input. r=smaug 2013-12-14 14:40:55 -06:00
Trevor Saunders
1e02452a1d bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00