Kan-Ru Chen
d9c3cb5a67
Bug 1261612 - Allow <iframe mozbrowser> in chrome doc to use transparent attribute. r=smaug
...
MozReview-Commit-ID: JjiPKnw95pS
2016-05-16 10:56:09 +08:00
Kan-Ru Chen
a15c58a1c5
Bug 1261612 - Remove TabChild::IsRootContentDocument and related methods. r=smaug
...
MozReview-Commit-ID: 2ms1lBfimfv
2016-05-16 10:56:07 +08:00
Masayuki Nakano
01372509b5
Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
...
MozReview-Commit-ID: 98G9UMv4qqj
2016-05-10 21:15:05 +09:00
Masayuki Nakano
14247f7bba
Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
...
MozReview-Commit-ID: FHUaUOE5eIB
2016-05-12 11:42:08 +09:00
Masayuki Nakano
e8a294f9cb
Bug 1259661 part.5 Rename WidgetMouseEvent::context to WidgetMouseEvent::mContextMenuTrigger r=smaug
...
MozReview-Commit-ID: GDAAHiyRrhY
2016-05-12 11:39:05 +09:00
Masayuki Nakano
d3766dc0ef
Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
...
MozReview-Commit-ID: JaE0S7BIgVF
2016-05-12 11:36:41 +09:00
Phil Ringnalda
fb3bc51a33
Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
...
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Seth Fowler
8531a5b2e1
Bug 1259281 - Mark frames NONVISIBLE if their pres shell is inactive or frozen. r=mstange
2016-05-11 19:27:29 -07:00
Seth Fowler
334880c00d
Bug 1269937 - Manage updating visible frames and regions using RAII. r=mstange
2016-05-11 19:27:28 -07:00
Seth Fowler
2198b8a7bf
Bug 1269935 - Replace PresShell::DecVisibleCount() with a general map function. r=mstange
2016-05-11 19:27:28 -07:00
Seth Fowler
69cb11364d
Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange
2016-05-11 19:27:27 -07:00
Seth Fowler
48cd584006
Bug 1269931 - Send visible region updates for pres shells associated with nested views. r=botond
2016-05-11 19:27:27 -07:00
Matt Woodrow
f8d853a40e
Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron
2016-05-12 12:06:38 +12:00
Matt Woodrow
8630ad5c64
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
2016-05-12 12:06:11 +12:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kartikaya Gupta
830f272650
Bug 1269539 - Ensure that the scroll position is restored properly on reloading a page which loads incrementally. r=tnikkel
...
MozReview-Commit-ID: 1qVA5yU7a7g
2016-05-03 10:40:20 -04:00
Xidorn Quan
1a169dea39
Bug 1267568 part 4 - Replace InFullscreenChange flag of PresShell with IsResizeSuppressed flag in RefreshDriver. r=smaug
...
MozReview-Commit-ID: FB3vGXwKZ9O
2016-05-03 17:58:57 +10:00
Xidorn Quan
8468206003
Bug 1267568 part 2 - Add helper method to nsIPresShell to get the RefreshDriver. r=smaug
...
MozReview-Commit-ID: Cxbmr2CVXJz
2016-05-03 17:58:57 +10:00
Aryeh Gregor
c00d4b886e
Bug 1193762 part 7 - Use .get() when assigning to variables; r=froydnj
...
Unlike when returning an nsCOMPtr in a ternary operator or passing to a
function, I used .get() here, since the operation is actually unsafe and
deserves to be marked explicitly.
2016-05-01 21:29:23 +03:00
Kartikaya Gupta
ec78701cab
Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel
...
It may be that when the frame is reconstructed after load, the frame gets shorter,
and the old scroll position cannot be restored, because it is out of bounds. In
such a case, we don't want to keep mRestorePos tracking the old scroll position,
because it can get incorrectly applied on a future frame reconstruction. Instead,
for scroll position restorations during frame reconstructions, we just try the
restore once and then clear mRestorePos.
MozReview-Commit-ID: BHoJHz0mGmf
2016-04-29 23:06:18 -04:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Mantaroh Yoshinaga
e64459e2ab
Bug 1134163 - Part1.Modify animationstart event timing in order to fire event after end of pending task. r=birtles
...
MozReview-Commit-ID: 8BwLRIKe1kV
2016-04-28 16:29:12 +09:00
Ting-Yu Lin
ca8be97f59
Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class. r=jfkthame
...
MozReview-Commit-ID: 4IFOlP9oVHl
2016-04-27 12:01:54 +08:00
CJKu
dbb4e7a74a
Bug 1265715 - Part 2. Add nsDisplayListBuilderMode parameter into nsLayoutUtils::PaintFrame; r=jfkthame
...
MozReview-Commit-ID: 1jkJOOH8KCi
2016-04-26 00:26:40 +08:00
CJKu
5ec7adb15e
Bug 1265715 - Part 1. Pull Mode out of nsDisplayListBuilder; r=jfkthame
...
MozReview-Commit-ID: BBIoHfcJ6hz
2016-04-26 00:26:28 +08:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Timothy Nikkel
9d6e02c11b
Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
...
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.
This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-23 15:18:26 -05:00
Masayuki Nakano
76ca470b8f
Bug 1257759 part.7 Add new internal events which represent key events on plugin r=smaug
...
If a plugin process posts native key events to the widget, it needs to check if the key combination is reserved by chrome because if it's reserved by chrome, the reserved shortcut key handler should be executed and the event shouldn't be handled by the focused plugin.
This patches add eKeyDownOnPlugin and eKeyUpOnPlugin. nsXBLWindowKeyHandler will listen to them and handle them as normal keydown and keypress or keyup event. Note that these events won't be fired on content in the default event group and won't be sent to the remote process.
MozReview-Commit-ID: H5OKPLtVdr6
2016-04-23 01:22:49 +09:00
Timothy Nikkel
5c6672f2aa
Bug 1251150. Back out crash annotations used to try to diagnose crash.
...
They didn't find any problems.
2016-04-22 00:17:15 -05:00
Timothy Nikkel
bc64ac8994
Back out changesets 4bbf54c1bcd9 and ffcc3708103a from bug 1259246.
...
Backed out to see if they caused bug 1262027.
2016-04-21 23:14:37 -05:00
Seth Fowler
98df459201
Bug 1261554 (Followup) - Fix memory reporting for PresShell::mVisibleRegions. r=me
2016-04-21 17:38:09 -07:00
Seth Fowler
8b465d4a09
Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond
2016-04-21 01:22:10 -07:00
Seth Fowler
4bde5acce4
Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange
2016-04-21 01:22:10 -07:00
Seth Fowler
40ecfeebae
Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange
2016-04-21 01:21:58 -07:00
Masayuki Nakano
223279eae6
Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
...
MozReview-Commit-ID: L0GnVR6NcAe
2016-04-19 00:46:00 +09:00
Masayuki Nakano
99eab530eb
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
2016-04-18 23:09:02 +09:00
Mats Palmgren
b622da3f97
Bug 1258476 - Optimize CreateRangePaintInfo by generating display lists for the minimum amount of range subtrees rather than for the range common ancestor. r=tn
2016-04-19 22:12:16 +02:00
L. David Baron
36c46e7d9c
Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
...
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
L. David Baron
8e066141ca
Bug 1265591 patch 1 - Remove Internal/External versions of ReconstructStyleData. r=heycam
...
This Internal/External difference was added in bug 253889 in the year
2004, when we build layout as a library separate from things like
editor. It is no longer needed now that we have libxul, and should not
be used by any external callers.
MozReview-Commit-ID: 7354lCl3hN8
2016-04-19 11:38:34 -07:00
Masayuki Nakano
35775b20e1
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
2016-04-14 17:03:14 +09:00
Milan Sreckovic
dd0830c93c
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
2016-04-12 15:18:11 -04:00
Jonathan Watt
570328a826
Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
2016-03-31 13:20:14 +01:00
Jonathan Watt
947f9705a7
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Kartikaya Gupta
037482505d
Bug 1151102 - Remove logging from f98e6bf59631 since the issue seems to have gone away. r=me
...
MozReview-Commit-ID: HoAMKfQrypD
2016-04-06 12:17:52 -04:00
Seth Fowler
f98a4aa45c
Bug 1223751 - Assume all frames are visible in subdocuments of a top level content document that's assuming all frames are visible. r=tn
2016-04-04 15:11:43 -07:00
Seth Fowler
d01052e8b2
Bug 1223747 - Don't assume all frames are visible in XUL documents. r=tn
2016-04-04 15:11:43 -07:00
Timothy Nikkel
4e5f04dcaf
Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
...
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.
This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-04 02:59:15 -05:00
Masayuki Nakano
93fc327cc4
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
2016-03-30 18:44:28 +09:00