Wes Kocher
eda25c5728
Merge inbound to m-c a=merge
2016-09-02 13:17:30 -07:00
Jimmy Wang
5bfce25a95
Bug 1297539 - Send message PasteTransferable if the focused element is on the content process, otherwise pass the transferable to the controller directly. r=mrbkap
...
MozReview-Commit-ID: Bj3mY23YUDT
2016-08-23 20:00:27 -04:00
Sebastian Hengst
385cfb5800
Backed out changeset b7c49e3bcf03 (bug 1297539)
2016-09-01 09:13:52 +02:00
Jimmy Wang
34c6876851
Bug 1297539 - Send message PasteTransferable if the focused element is on the content process, otherwise pass the transferable to the controller directly. r=mrbkap
...
MozReview-Commit-ID: Bj3mY23YUDT
2016-08-23 20:00:27 -04:00
Emilio Cobos Álvarez
fb41a68161
Bug 1299046: Take into account generated content in EventStateManager::PreHandleEvent. r=smaug
...
This patch adds a MOZ_ASSERT. I'll try to pass it through try, and otherwise
turn it into a warning, I guess.
MozReview-Commit-ID: 9KZS6dh3wzw
2016-08-29 21:06:57 -07:00
Ryan VanderMeulen
0c6be0762e
Merge inbound to m-c. a=merge
2016-08-22 09:40:41 -04:00
Xidorn Quan
08d2f6f5b6
Bug 1296625 - Replace query to ui.use_activity_cursor pref with a cached bool value. r=smaug
...
MozReview-Commit-ID: GeTr29JG4qy
2016-08-20 00:43:01 +10:00
Nicholas Nethercote
8b8bd02a31
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Jimmy Wang
1021b5f12c
Bug 1261299 - Add EnsureDocument(mPresContext) to EventStateManager::GetFocusedContent() because mDocument is lazily loaded. r=smaug
...
MozReview-Commit-ID: FGfb709o32f
2016-07-13 15:11:45 -04:00
Xidorn Quan
c3a29f2b5d
Bug 1200469 part 1 - Avoid using fallback cursor if from the same frame. r=tnikkel,smaug
...
MozReview-Commit-ID: A2Ku0TND66L
2016-08-19 23:37:14 +10:00
Bobby Holley
e55613ed13
Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug
...
We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
2016-08-19 14:43:53 -07:00
Masayuki Nakano
40acbab2c1
Bug 1259665 part.3 Rename WidgetPointerEvent::isPrimary to mIsPrimary r=smaug
...
MozReview-Commit-ID: LfKzpwCjMcz
2016-08-03 17:34:53 +09:00
Masayuki Nakano
c5656a4a70
Bug 1259665 part.2 Rename WidgetPointerEvent::height to mHeight r=smaug
...
MozReview-Commit-ID: Ji4X53dByiH
2016-08-03 17:23:56 +09:00
Masayuki Nakano
17a5aa85fe
Bug 1259665 part.1 Rename WidgetPointerEvent::width to mWidth r=smaug
...
MozReview-Commit-ID: 3V5gyOvPuQi
2016-08-03 17:18:04 +09:00
Manish Goregaokar
d7eaba573c
Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
...
MozReview-Commit-ID: A7BYcfsn1tI
2016-07-25 11:56:40 +05:30
Xidorn Quan
099924b6b8
Bug 1284788 - Allow change target of pointer lock when the pointer has been locked in the document. r=smaug
...
MozReview-Commit-ID: HiPkCPrQQr0
2016-07-20 14:42:08 +10:00
Jimmy Wang
fa053fb7dd
Bug 1162050 - Remove draggesture and eLegacyDragDrop from comments in EventStateManager.cpp/.h. r=enn
...
MozReview-Commit-ID: FXErW3vo36q
2016-05-27 15:43:17 -04:00
Jimmy Wang
6f274e3b5d
Bug 1162050 - Remove the dragdrop event code that is not related to the drop event in from EventStateManager.cpp. r=enn
...
MozReview-Commit-ID: Jxf9dXgxJ14
2016-05-27 14:50:30 -04:00
Jimmy Wang
33f751dc2a
Bug 1162050 - Remove use of eLegacyDragGesture from EventStateManager.cpp. r=enn
...
MozReview-Commit-ID: F4a52Yw5ri3
2016-05-27 14:47:19 -04:00
Carsten "Tomcat" Book
71a8ab1f01
Backed out changeset f940ad94cc9d (bug 1162050)
2016-07-11 11:18:47 +02:00
Carsten "Tomcat" Book
e01f984d3f
Backed out changeset 11421fcb32b5 (bug 1162050)
2016-07-11 11:18:46 +02:00
Carsten "Tomcat" Book
af8a0a05d7
Backed out changeset af0d7fedc60f (bug 1162050)
2016-07-11 11:18:45 +02:00
Jimmy Wang
0b14e6527d
Bug 1162050 - Remove draggesture from comments in EventStateManager.cpp/.h. r=enn
...
MozReview-Commit-ID: FXErW3vo36q
2016-05-27 15:43:17 -04:00
Jimmy Wang
b88d278562
Bug 1162050 - Remove the dragdrop event code that is not related to the drop event in from EventStateManager.cpp. r=enn
...
MozReview-Commit-ID: Jxf9dXgxJ14
2016-05-27 14:50:30 -04:00
Jimmy Wang
f852d579f0
Bug 1162050 - Remove use of eLegacyDragGesture from EventStateManager.cpp. r=enn
...
MozReview-Commit-ID: F4a52Yw5ri3
2016-05-27 14:47:19 -04:00
Michael Layzell
6ae475cfe8
Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku
2016-07-04 15:45:45 -04:00
Xidorn Quan
2485830f73
Bug 1199529 followup - Remove unused function.
...
MozReview-Commit-ID: JNQ2iOsc1gM
2016-06-30 09:55:41 +10:00
Xidorn Quan
b1aeaedefd
Bug 1199529 - Remove :-moz-full-screen-ancestor pseudo-class as well as its state bit. r=smaug
...
MozReview-Commit-ID: J0hGsLLdyam
2016-06-30 09:24:41 +10:00
Makoto Kato
cbdf9147e6
Bug 1203871 - Part 2. Implement eQueryTextRectArray. r=masayuki
...
It will use on ContentCache. Also, SetRangeFromFlatTextOffset issue will hanle on another bug.
MozReview-Commit-ID: 9Yu8bLlcZS5
2016-06-23 10:40:04 +01:00
Carsten "Tomcat" Book
64cba58599
Backed out changeset 5c836acf3197 (bug 906420) on developer request by baku
2016-06-09 15:30:53 +02:00
Michael Layzell
7e01b6d01a
Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku
2016-06-07 18:05:55 -04:00
Xidorn Quan
8d5e92d469
Bug 931445 part 3 - Reset synth centering pointer when unlocking pointer. r=smaug
...
MozReview-Commit-ID: LcStCmm4iRV
2016-05-27 17:13:05 +10:00
Xidorn Quan
625c79a69a
Backed out 4 changesets (bug 931445) for e10s mochitest failures
...
Backed out changeset 5a92875424b0
Backed out changeset 79ba5815f9aa
Backed out changeset b084784405ef
Backed out changeset 67bf9ee17564
2016-05-27 16:08:41 +10:00
Xidorn Quan
08140ae000
Bug 931445 part 3 - Reset synth centering pointer when unlocking pointer. r=smaug
...
MozReview-Commit-ID: LcStCmm4iRV
2016-05-27 11:09:58 +10:00
Boris Zbarsky
e7fcf1b1a1
Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov
...
The web platform tests changes are just a cherrypick of
https://github.com/w3c/web-platform-tests/pull/2926 so I don't have to add
failure annotations until the next test uplift.
I've audited our uses of nsIFormControl, and this patch looks to me like it
preserves existing behavior in all but the following cases:
1) nsXBLPrototypeHandler::DispatchXBLCommand, the case of scrolling when space
is pressed while something inside a <label> is focused. We used to not scroll
in this situation; I think this is a bug, so I'm changing that behavior to
scroll instead.
2) In Accessible::RelationByType for the RelationType::DEFAULT_BUTTON case,
when mContent is a <label> we used to return its form's default submit element.
Now we will just return Relation().
2016-05-26 19:39:03 -04:00
Phil Ringnalda
20e9322535
Back out 8 changesets (bug 931445, bug 1274104, bug 1270386) for frequent e10s APZ mochitest failures starting with test_group_mouseevents.html
...
CLOSED TREE
Backed out changeset 6db35dcc6885 (bug 1274104)
Backed out changeset 0c2fc088a46d (bug 1274104)
Backed out changeset 17786141f3ac (bug 1274104)
Backed out changeset f7c6b58dddc1 (bug 1274104)
Backed out changeset 67407d1829a3 (bug 1270386)
Backed out changeset 82d2c5404d84 (bug 931445)
Backed out changeset 0921152b9f08 (bug 931445)
Backed out changeset f73352ab6f99 (bug 931445)
2016-05-23 18:42:32 -07:00
Makoto Kato
6d4cdb7dca
Bug 1177943 - Part 2. Add cmd_lookUpDictionary content command. r=masayuki
...
To get selected word on contnet process, I create new contnet command to look up dictionary. Then, call nsIWidget's method to show looking up dictionary.
About fetched length, see https://www.chromium.org/developers/design-documents/system-dictionary-pop-up-architecture for OSX 10.6's design
MozReview-Commit-ID: Ic2r6hboEEw
2016-05-02 11:41:20 +09:00
Nicholas Nethercote
752d70db9e
Bug 1274888 - Add a null check in mozilla::EventStateManager::GetContentViewer. r=ting.
2016-05-23 13:27:41 +10:00
Xidorn Quan
a469958601
Bug 931445 part 3 - Reset synth centering pointer when unlocking pointer. r=smaug
...
MozReview-Commit-ID: LcStCmm4iRV
2016-05-23 09:03:32 +10:00
Trevor Saunders
3544821c3d
bug 1271436 - use nsIDocShellTreeItem::GetWindow() more r=smaug
2016-05-17 18:16:07 -04:00
kshitija
0f41e418d1
Bug 1259666 - Part 3- change displayPanFeedback to mDisplayPanFeedback - r=masayuki
...
MozReview-Commit-ID: LWOiakDEEx7
2016-05-14 18:03:50 -07:00
kshitija
c23b4d7abb
Bug 1259666 - Part 2 - Change panDirection to mPanDirection - r=masayuki
...
MozReview-Commit-ID: JVLB0Z6JUFc
2016-04-29 03:34:46 -07:00
kshitija
7159f0c132
Bug 1259666 part 1 - rename variable and definition change - r=masayuki
...
MozReview-Commit-ID: 1FWJypkoqYz
2016-04-21 19:32:59 -07: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
Masayuki Nakano
94e8c148d6
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
2016-05-10 23:29:14 +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
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
Neil Deakin
30108e55a0
Bug 1101975, handle access keys in content process before menus, r=masayuki
2016-05-11 08:56:42 -04:00
Ting-Yu Chou
018a914819
Bug 1245068 - Do not rely on focus manager to get the toplevel window as the focused window may be null in content process. r=enndeakin
2016-05-10 13:54:36 +08:00
Neil Deakin
1c0654e6a5
Bug 1256952, revert this bug, r=me
2016-04-29 19:42:41 -04:00