Andrea Marchesini
1be63233cb
Bug 1281793 - Remove some non-used telemetry IDs - part 4 - random things (2), r=chutten
2016-06-28 16:44:42 +02:00
Masayuki Nakano
df276e50d4
Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug
...
MozReview-Commit-ID: Gs3oiAgJFG9
2016-06-17 22:32:49 +09:00
Masayuki Nakano
8464b6c6bd
Bug 1275914 part.4 Add a method to retrieve focused content's selection controller to nsIPresShell r=smaug
...
ContentEventHandler will need to support query any types of selection. Therefore, it cannot use nsCopySupport::GetSelectionForCopy(). Instead, a part of it should be implemented by nsIPresShell::GetSelectionControllerForFocusedContent() and it should be shared by nsCopySupport::GetSelectionForCopy() and ContentEventHandler.
MozReview-Commit-ID: 1ItkkIUPFMG
2016-06-10 21:01:32 +09:00
Masayuki Nakano
09b74b02de
Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
...
MozReview-Commit-ID: AAdxTTKEvrk
2016-06-09 18:35:22 +09:00
Masayuki Nakano
4b3d1e8406
Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
...
This patch defines mozilla::SelectionType as an enum class. This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time. So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).
And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState. Therefore, implementing one of them may make hard to find them. On the other hand, nsSelection.cpp is a better file name to look for them.
Note that this patch creates mozilla::Selection::RawType() for binding. Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.
MozReview-Commit-ID: 81vX7A0hHQN
2016-06-11 11:06:37 +09:00
Masayuki Nakano
71befe7dcf
Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
...
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.
MozReview-Commit-ID: K8SO0bbpv0Y
2016-06-07 22:42:06 +09:00
Andrea Marchesini
7dcf0fcf39
Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
2016-06-09 19:04:42 +02:00
Carsten "Tomcat" Book
d4c54cdcf7
Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE
2016-06-09 15:28:22 +02:00
Neil Deakin
24322506d0
Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap
2016-06-09 07:59:31 -04:00
Nicholas Nethercote
a41e57a9b1
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
2016-06-07 09:39:56 +10:00
Jonathan Watt
39dea4af38
Bug 1276810 follow-up - Backout the nsPresShell.cpp change to reduce infallibility coupling. r=milan
2016-05-26 12:31:14 +01:00
Matt Woodrow
2de2048078
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Phil Ringnalda
0d09f3f26a
Back out 7 changesets (bug 1274962) for timeouts in browser_tableWidget_mouse_interaction.js
...
CLOSED TREE
Backed out changeset c5c9bc65a408 (bug 1274962)
Backed out changeset 15b5f8019521 (bug 1274962)
Backed out changeset 9ac50a46557b (bug 1274962)
Backed out changeset 9cda37e5a581 (bug 1274962)
Backed out changeset bb0230c4bb6d (bug 1274962)
Backed out changeset 56ededfbdee6 (bug 1274962)
Backed out changeset e081fc6f3f90 (bug 1274962)
2016-06-02 20:37:31 -07:00
Matt Woodrow
2757a314f4
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Jonathan Watt
617f26f1b2
Bug 1276810 follow-up - Fix typo. r=me
2016-05-23 20:12:56 +01:00
Jonathan Watt
5ad0103db6
Bug 1276810 - Make gfxPlatform::ScreenReferenceDrawTarget() infallible. r=Bas
2016-05-23 20:12:10 +01:00
Carsten "Tomcat" Book
aa32757ba8
Backed out changeset fb331e03981a (bug 1271691) for perma failures in scroll-rounding.html
2016-05-27 13:33:31 +02:00
JerryShih
5093e107c3
Bug 1271691 - Update painting suppression status in painting flow. r=mattwoodrow, r=tn
...
CLOSED TREE
2016-05-26 02:18:00 -04:00
Matt Woodrow
dbf9b7ab06
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
cb1cb75fda
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
Bobby Holley
d1758732a0
Bug 1274443 - Replace mPresArenaAllocCount with a hashtable to make it easy to spot the cause of double-frees. r=heycam
2016-05-24 18:50:25 -07:00
Hiroyuki Ikezoe
2aafea892c
Bug 1166500 - Part 5: Remove some AreAsyncAnimationsEnabled checks. r=dbaron
...
Now we can throttle some sort of animations which run on the main thread
as well as animations on the compositor. So, AreAsyncAnimationsEnabled checks
should be removed.
The check in PresShell::HandleEvent might be replaced with checking
nsIDocument::mNeedStyleFlush, but I am not sure.
2016-05-24 12:57:42 +09:00
Phil Ringnalda
903965a65a
Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
...
CLOSED TREE
Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Matt Woodrow
0ffd88add6
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
ee41bb63c0
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
Jonathan Kew
440d9259f4
Bug 1272997 - followup 4 - Set resize flags properly using logical accessors in PresShell. r=dholbert
2016-05-18 21:07:54 +01:00
Moritz Brunner
356b295e65
Bug 732733 - Resize drag image relative to the available screensize. r=jimm
2016-05-13 06:48:00 -04:00
Kartikaya Gupta
ef9f686977
Bug 1270019 - Add a SetRestoreResolution API for fennec's SessionRestore to use. r=rbarker
...
MozReview-Commit-ID: 7WqmgAkFItQ
2016-05-17 14:50:08 -04:00
Masayuki Nakano
55b60a37e4
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
2016-05-12 17:13:49 +09:00
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