Neil Deakin
07a452c4f9
Bug 1443683, followup to fix drag feedback images, re-add lines that got lost in the last patch, r=nika
2019-06-04 08:51:23 -04:00
Neil Deakin
53ac02ccdf
Bug 1443683, support drag and drop in out of process frames; this is done by storing the drag information about the data to be dragged and visualization image in the event state manager instead of the BrowserParent and passing this information on to the drag service, r=nika
2019-05-14 11:04:38 -04:00
Ryan Hunt
afb9eae784
Bug 1525720, part 7 - Use getter methods to access mBrowserParent and mBrowserBridgeChild. r=farre
...
This prepares nsFrameLoader for replacing mBrowserParent and mBrowserBridgeChild
with a common interface by making special case code use a getter method instead
of direct access.
Differential Revision: https://phabricator.services.mozilla.com/D31437
2019-04-25 12:36:16 -05:00
Gurzau Raul
65201d8181
Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
...
Backed out changeset 1f2e86c2d691 (bug 1525720)
Backed out changeset 9b79caa460a0 (bug 1525720)
Backed out changeset e65cb2d4c5a5 (bug 1525720)
Backed out changeset 99f971a02d87 (bug 1525720)
Backed out changeset d25963c72ff7 (bug 1525720)
Backed out changeset 810b73719871 (bug 1525720)
Backed out changeset ee10a8254481 (bug 1525720)
Backed out changeset 1bcf9f586c55 (bug 1525720)
Backed out changeset d3b2ac8d5ca4 (bug 1525720)
Backed out changeset 697774dd8984 (bug 1525720)
Backed out changeset eadeacbe4483 (bug 1525720)
Backed out changeset 32eeee79d628 (bug 1525720)
Backed out changeset 07678a2fa9e7 (bug 1525720)
Backed out changeset 757b4f595cc4 (bug 1525720)
Backed out changeset b255e0a84e12 (bug 1525720)
Backed out changeset 9a255864f75d (bug 1525720)
Backed out changeset 5f1c1b609ec1 (bug 1525720)
Backed out changeset 00d83f1d02e0 (bug 1525720)
2019-05-23 01:57:16 +03:00
Ryan Hunt
edb906832d
Bug 1525720, part 7 - Use getter methods to access mBrowserParent and mBrowserBridgeChild. r=farre
...
This prepares nsFrameLoader for replacing mBrowserParent and mBrowserBridgeChild
with a common interface by making special case code use a getter method instead
of direct access.
Differential Revision: https://phabricator.services.mozilla.com/D31437
2019-04-25 12:36:16 -05:00
Masayuki Nakano
dedb19127f
Bug 1547422 - Make widget use mozilla::PresShell directly rather than via nsIPresShell r=jmathies
...
This patch makes widget use `mozilla::PresShell` directly rather than via
`nsIPresShell` and changes some pure virtual methods of `nsIPresShell` which
called by widget to `mozilla::PresShell`'s non-virtual methods.
Differential Revision: https://phabricator.services.mozilla.com/D29112
2019-05-01 18:52:59 +00:00
Masayuki Nakano
bfa7af4826
Bug 1547418 - Make CapturingContentInfo a private struct of PresShell and move APIs for it from nsIPresShell to PresShell r=smaug
...
`CapturingContentInfo` struct is used only in `PresShell.cpp` so that we can
make it a private struct of `PresShell` if we move all users of them,
i.e., API to access them, from `nsIPresShell` to `PresShell`.
Differential Revision: https://phabricator.services.mozilla.com/D29111
2019-04-30 00:26:57 +00:00
Masayuki Nakano
0c074bf172
Bug 1545342 - part 3: Move remaining public enum of nsIPresShell to mozilla namespace in mozilla/PresShellForwards.h and make them enum class r=smaug
...
This patch moves remaining public `enum` of `nsIPresShell` to `mozilla`
namespace in `mozilla/PresShellForwards.h` and make them `enum class`es.
Additionally, some methods which use the moving `enum`s from `nsIPresShell`
to `PresShell`.
Differential Revision: https://phabricator.services.mozilla.com/D28607
2019-04-25 05:04:23 +00:00
Ryan Hunt
6b09ea12a4
Bug 1534395 - Rename TabParent to BrowserParent. r=nika
...
This commit renames TabParent to BrowserParent.
Differential Revision: https://phabricator.services.mozilla.com/D28133
2019-04-09 16:38:15 -05:00
Srujana Peddinti
50bb49d9c5
Bug 1259660 - Cleaned up WidgetMouseEventBase by renaming WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource r=masayuki
...
Renamed all class member instances from WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource
Differential Revision: https://phabricator.services.mozilla.com/D25322
2019-04-21 18:19:43 +00:00
Mike Conley
2544ecb9ae
Bug 1540150 - Make it impossible to enter the native drag-drop loop in test automation. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D25428
2019-04-11 17:17:36 +00:00
Brindusan Cristian
a1030ad6d6
Backed out changeset 5dae6d1b597a (bug 1540150) for [@ libgdk-3.so.0.1800.9 + 0x60a09] crashes in h13 tests. CLOSED TREE
2019-04-05 03:23:12 +03:00
Mike Conley
08d4e6054c
Bug 1540150 - Make it impossible to enter the native drag-drop loop in test automation. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D25428
2019-04-04 15:06:30 +00:00
Dorel Luca
bd5fadd94e
Backed out changeset ba0820e380a3 (bug 1540150) for Mochitest failures in layout/generic/test/test_bug496275.html. CLOSED TREE
2019-04-03 19:29:06 +03:00
Mike Conley
963f6e62e2
Bug 1540150 - Make it impossible to enter the native drag-drop loop in test automation. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D25428
2019-04-03 14:20:04 +00:00
Masayuki Nakano
e56c690088
Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
...
This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.
Additonally, "shell" is unclear ("docshell" vs. "presshell"). Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.
Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.
Differential Revision: https://phabricator.services.mozilla.com/D25338
2019-03-29 15:12:47 +00:00
Dorel Luca
6cd4166b18
Backed out 3 changesets (bug 1540015) for build bustage. CLOSED TREE
...
Backed out changeset 7b71c9da0214 (bug 1540015)
Backed out changeset 5723ddbc5c44 (bug 1540015)
Backed out changeset 9561d2c36fa5 (bug 1540015)
2019-03-29 16:14:26 +02:00
Masayuki Nakano
12ec0ad7f4
Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
...
This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.
Additonally, "shell" is unclear ("docshell" vs. "presshell"). Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.
Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.
Differential Revision: https://phabricator.services.mozilla.com/D25338
2019-03-29 13:09:26 +00:00
Kyle Machulis
00cdaa3c74
Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
...
Depends on D19728
Differential Revision: https://phabricator.services.mozilla.com/D19729
2019-02-15 22:20:53 +00:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Tooru Fujisawa
00e64f3dee
Bug 1509384 - Use IPC::Principal instead of Principal URI string in Drag-and-Drop. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D13728
2019-01-04 03:16:46 +00:00
Emilio Cobos Álvarez
dc336a73ba
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Boris Zbarsky
0b17fcf81f
Bug 1507540 part 5. Use more notxpcom attributes in widget/. r=ehsan
2018-11-19 20:17:54 -05:00
Tom Schuster
2ab84f73a8
Bug 396370 - Set RequestingPrincipal and ContentPolicy in BaseDragService. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D7407
2018-10-04 10:31:32 +00:00
Andrew McCreight
05b70f0bb6
Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug
...
If class A is derived from class B, then an instance of class A can be
converted to B via a static cast, so a slower QI is not needed.
Differential Revision: https://phabricator.services.mozilla.com/D6861
2018-10-01 21:38:01 +00:00
Andrew Osmond
5cc0265f36
Bug 1446309 - Part 1. Return draw result from imgIContainer::GetImageContainerAtSize. r=tnikkel
...
In addition to the image container, the draw result can also be useful
for callers to know whether or not the surface(s) in the container are
fully decoded or not. This is used in subsequent parts to avoid
flickering in some cases.
2018-09-13 19:48:21 -04:00
Ting-Yu Lin
46d6c38f7b
Bug 1482665 Part 2 - Remove nsPresContext::AppUnitsPerCSSPixel() and replace it with mozilla::AppUnitsPerCSSPixel(). r=dholbert
...
Differential Revision: https://phabricator.services.mozilla.com/D3155
2018-08-13 14:29:28 -07:00
Neil Deakin
015c5cc03d
Bug 1473029, have nsTreeBodyFrame::GetSelectionRegion use nsIntRegion instead of nsIScriptableRegion, r=mstange
2018-08-07 09:32:08 -04:00
Neil Deakin
bb1d678c62
Bug 1473029, convert drag services to internally use CSSIntRegion instead ns nsIScriptableRegion, r=mstange
2018-08-07 09:32:08 -04:00
Neil Deakin
b99b3fbddd
Bug 1473029, remove the region arguments from InvokeDragSession and InvokeDragSessionWithImage, r=mstange
2018-08-07 09:32:07 -04:00
Neil Deakin
df778ce682
Bug 1473029, move the tree drag region handling into nsBaseDragService::InvokeDragSessionWithImage, r=mstange
2018-08-07 09:32:07 -04:00
Neil Deakin
a70845215c
Bug 1452131, properly end the drag session when the drag is aborted, for example if the mouse is released before the child process starts the drag, r=nika
2018-08-02 09:50:20 -04:00
Olli Pettay
88bf08544e
Bug 1472570 - Use GetComposedDoc in nsBaseDragService, r=mrbkap
2018-07-03 17:51:02 +03:00
Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Boris Zbarsky
5f546dac16
Bug 1455676 part 3. Remove nsIDOMNode usage from widget/. r=qdot
2018-05-29 22:58:48 -04:00
Adrian Wielgosik
8a976cc5e7
Bug 1460940 - Remove nsIDOMDocument uses in widget/. r=bz
...
MozReview-Commit-ID: Rxvwm6zfrB
2018-05-11 19:46:15 +02:00
Boris Zbarsky
da3b7af4e4
Bug 1387143 part 21. Remove nsISelection getters for anchor and focus points. r=mats
...
Instead of copying spec-duplicating comments from nsISelection.idl to
Selection.webidl, this just points the latter to the right spec.
2018-05-08 13:52:38 -04:00
Boris Zbarsky
3d7e344fa9
Bug 1387143 part 20. Remove nsISelectionPrivate. r=mats
2018-05-08 13:52:38 -04:00
Boris Zbarsky
d69efa353f
Bug 1387143 part 4. Stop using nsISelection in remaining xpidl. r=mats
2018-05-08 13:52:36 -04:00
Nika Layzell
bd67cd9675
Bug 1444991 - Part 5: Make some XPCOM methods more strongly typed, r=bz
...
This patch goes through and changes a bunch of places in our tree which mention
this bug to use the new feature, making the methods more strongly typed.
There are probably more places in tree which could be changed, but I didn't try
to find them.
2018-04-17 19:21:05 -04:00
Boris Zbarsky
164097f697
Bug 1447889 part 14. Remove mention of nsIDOMRange from layout/. r=mystor
...
MozReview-Commit-ID: JWJWGzY45ac
2018-03-27 00:35:22 -04:00
Boris Zbarsky
152cd3ba6e
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Boris Zbarsky
72b3558850
Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
...
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:
MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h
MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Boris Zbarsky
4502c9d078
Bug 1445417 part 2. Stop using nsIDOMDragEvent in nsIDragService. r=mystor
...
MozReview-Commit-ID: 1BW1ki7sdKZ
2018-03-16 22:25:25 -04:00
Boris Zbarsky
17c9b27706
Bug 1444686 part 13. Remove remaining nsIDOMDataTransfer uses. r=mystor
...
MozReview-Commit-ID: EFauqLMGz5S
2018-03-13 16:24:00 -04:00
Boris Zbarsky
491c0277ad
Bug 1444686 part 11. Remove nsIDOMDataTransfer from dragsession. r=mystor
...
MozReview-Commit-ID: CRmiSTSN8af
2018-03-13 16:24:00 -04:00
Boris Zbarsky
3d51c49049
Bug 1444686 part 3. Get rid of nsIDOMDataTransfer::Get/SetMozCursor. r=mystor
...
MozReview-Commit-ID: G7vuh1uuWGv
2018-03-13 16:23:59 -04:00
Tooru Fujisawa
c2f56585a8
Bug 1424107 - Pass the triggering principal URI across processes in drag-and-drop. r=smaug
2018-02-09 10:43:53 +09:00
Boris Zbarsky
2e39082c0d
Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
...
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05:00