Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Jonathan Kew
bad0b01695
Bug 1264193 - Add extra check for DPI changes during window drag, because we sometimes miss a WM_DPICHANGED message. r=emk
2016-04-15 19:54:31 +01:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Kartikaya Gupta
f72cd76655
Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn
...
MozReview-Commit-ID: EybGq9b1B8Z
--HG--
extra : rebase_source : defc16fc066a3a40480fa4c94f3a742a267344a8
2016-04-15 06:39:36 -04:00
David Anderson
ef94ddb6f5
Remove drawWidgetAsOnScreen. (bug 1264393, r=mattwoodrow, webidl r=khuey)
...
--HG--
extra : rebase_source : c885b1db5ede6caa8b1e141d6d76769bac82b16c
2016-04-13 19:24:42 -04:00
Jonathan Kew
91c9694559
Bug 1264196 - Use the DPI from the parent window, if any, for consistency between popups and their owners when straddling a monitor boundary. r=emk
2016-04-13 14:40:46 +01:00
Wes Kocher
13ee7b9dfd
Merge m-c to inbound, a=merge CLOSED TREE
...
MozReview-Commit-ID: 8m3KF4mqAKl
2016-04-12 15:36:02 -07:00
Wes Kocher
1e0c62f10f
Merge fx-team to central, a=merge
...
MozReview-Commit-ID: ApMCFiyBik0
2016-04-12 15:34:39 -07:00
Bas Schouten
53337aafef
Bug 1256547: When the DWM is disabled don't force presentation. r=milan
...
MozReview-Commit-ID: 4fd8QUWq0f1
--HG--
extra : rebase_source : b0ea7bca01be0bc89e37b4525be9d1a82f4168da
2016-04-11 13:08:00 +02:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Jeff Muizelaar
6d519efcb6
Bug 1263346. Remove wrong Ivy Bridge device id. r=Bas
...
This device id is not an actual ivybridge id.
I'm not sure where Benoit got it from.
2016-04-12 14:32:52 -04:00
Gijs Kruitbosch
c1f62b800f
Bug 982121 - consume wheel events when popups are open, r=enndeakin
...
MozReview-Commit-ID: FnbaaLV0pHm
--HG--
extra : rebase_source : ceefd762be846f2145b20718104fde62fce6a34d
extra : amend_source : 9e3c44f93c35657d54890329ab12786adb651120
2016-03-22 20:11:30 +00:00
Jacek Caban
dd664443ad
Bug 1263677 - Disable windows.ui.viewmanagement.h usage on mingw. r=jimm
2016-04-12 12:38:00 +02:00
Jacek Caban
a87302bd04
Bug 1263653
- Fixed TSFTextStore.h compilation with mingw. r=masayuki
2016-04-12 12:37:18 +02:00
Mike Conley
8a91920ae9
Bug 1260461 - Don't flush windows when shutting down due to a Windows log-out. r=jimm
...
MozReview-Commit-ID: 3WWgPTxzdcz
--HG--
extra : rebase_source : ffd5bc1a26e46244b42de9bc4d318dd43475b6e1
2016-04-01 17:15:37 -04:00
Masayuki Nakano
34e8cd4937
Bug 1255627 Don't call methods of TSFTextStore::sEnabledTextStore without independent strong reference to it r=m_kato
...
TSFTextStore::sEnabledTextStore is a static variable to grab a reference to focused TextStore instance. So, this may be changed by accidentally during a call of instance methods of TSFTextStore. Then, focused TextStore may be destroyed during running a method and crash when it accesses a member variable.
For avoiding this crash, static methods which call a method of sEnabledTextStore should create an independent RefPtr to it before calling the method.
MozReview-Commit-ID: 51Sor1LdABr
--HG--
extra : rebase_source : ec6eb378eb4d8b323e8ad28079f27220cae0d0d8
2016-04-07 02:17:05 +09:00
Nathan Froyd
392bfacb03
Bug 1261818 - don't pass nsAutoCStrings into nsBaseWidget debugging methods; r=karlt
...
Passing raw character pointers works just fine.
2016-03-31 14:42:13 -04:00
Bob Owen
62f0c13d40
Bug 1258376: Validate DEVMODE data length from PrintData before deserialization. r=jimm
2016-04-06 10:27:31 +01:00
Masayuki Nakano
e6be470f50
Bug 1259664 part.12 Rename WidgetWheelEvent::overflowDeltaY to WidgetWheelEvent::mOverflowDeltaY r=smaug
...
MozReview-Commit-ID: GGvQZlvc4sl
--HG--
extra : rebase_source : 9673aea11cbc752cfbc3c7b48fa68e2a4143266f
2016-04-01 00:36:55 +09:00
Masayuki Nakano
a597026bd6
Bug 1259664 part.11 Rename WidgetWheelEvent::overflowDeltaX to WidgetWheelEvent::mOverflowDeltaX r=smaug
...
MozReview-Commit-ID: CVKbougU4uT
--HG--
extra : rebase_source : 0beb961e696e114321db819ac68dab7d54cf7e28
2016-04-01 00:27:45 +09:00
Masayuki Nakano
1e0825ccd9
Bug 1259664 part.10 Rename WidgetWheelEvent::lineOrPageDeltaY to WidgetWheelEvent::mLineOrPageDeltaY r=smaug
...
MozReview-Commit-ID: 64lFZosnMbd
--HG--
extra : rebase_source : 1e103c5255a702d46f78c6f544981b0e82e2d23c
2016-04-01 00:10:09 +09:00
Masayuki Nakano
e462919d2b
Bug 1259664 part.9 Rename WidgetWheelEvent::lineOrPageDeltaX to WidgetWheelEvent::mLineOrPageDeltaX r=smaug
...
MozReview-Commit-ID: 1j8SFp6bME4
--HG--
extra : rebase_source : 18b080a4938925547b2f5b7fa66908c75211a345
2016-04-01 00:10:46 +09:00
Masayuki Nakano
477d2b746e
Bug 1259664 part.8 Rename WidgetWheelEvent::scrollType to WidgetWheelEvent::mScrollType r=smaug
...
MozReview-Commit-ID: 9Oywv8Yb0Qg
--HG--
extra : rebase_source : 71925e8e97855837f28912c8a1d689300de36489
2016-03-31 23:54:42 +09:00
Masayuki Nakano
a2da982fdb
Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
...
MozReview-Commit-ID: Ky3xp2NtBWq
--HG--
extra : rebase_source : 412e2df1c27c37dc76039d1fd3463623b476d81c
2016-03-31 18:35:24 +09:00
Masayuki Nakano
3450ec21e1
Bug 1259664 part.3 Rename WidgetWheelEvent::deltaZ to WidgetWheelEvent::mDeltaZ r=smaug
...
MozReview-Commit-ID: BbxTrLko8kp
--HG--
extra : rebase_source : 1aa8b1086791442dc15ac5464b7ecd3716203ccd
2016-03-31 18:18:34 +09:00
Masayuki Nakano
6aedccbde5
Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
...
MozReview-Commit-ID: 3xscKDblY4V
--HG--
extra : rebase_source : c587768fd2c9a48e07cafa27b5c72e4eeb030360
2016-03-31 18:09:47 +09:00
Masayuki Nakano
6cedf549dc
Bug 1259664 part.1 Rename WidgetWheelEvent::deltaX to WidgetWheelEvent::mDeltaX r=smaug
...
MozReview-Commit-ID: F5dQHpPkWfA
--HG--
extra : rebase_source : 1a256f288b0e004c196468f8659393b474d73840
2016-03-31 18:55:59 +09:00
Makoto Kato
24bbe67c11
Bug 1258637 - Fix typo of logging of pacpNext of TSFTextStore::GetText. r=masayuki
...
MozReview-Commit-ID: 9OGt9AJA2r1
--HG--
extra : rebase_source : 2c7be05e5eeaff3c43b22472d53309dc1b343e23
2016-03-31 15:42:11 +09:00
Masayuki Nakano
df0d701836
Bug 1259670
Rename WidgetPluginEvent::retargetToFocusedDocument to WidgetPluginEvent::mRetargetToFocusedDocument r=smaug
...
MozReview-Commit-ID: 5VgGrmDYHVS
--HG--
extra : rebase_source : 39c178ff85459fac97b48b252709520a353aa606
2016-03-30 18:07:50 +09:00
Masayuki Nakano
e9a1bcb370
Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
...
MozReview-Commit-ID: 7avEiqKfaHA
--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Milan Sreckovic
7328ef12ac
Bug 1256728: Add environment variable to disable force present from bug 1232042. r=BenWa
...
MozReview-Commit-ID: 5jRr0dPMKRV
--HG--
extra : rebase_source : 2f7b8d0f52ebcabd4663ca0c19c62b9efee0bff4
2016-03-28 12:59:38 -04:00
Arata Furukawa
28360f6c90
Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
...
MozReview-Commit-ID: LRgPxoynx0
--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa
676913b9bb
Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
...
MozReview-Commit-ID: 7lBCEVkanvF
--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Jorg K
f372a0eb94
Bug 1254980 - Ensure that text/html is still written to the clipboard. r=enndeakin
2016-03-22 11:47:00 -04:00
Jonathan Kew
28cbd6992f
Bug 1254020 - Always compute theme scaling factor when per-monitor dpi aware, even if only a single display is currently present. r=emk
2016-03-24 11:10:17 +00:00
Jonathan Kew
5bebe5a758
Bug 1259065 - Don't constrain window position (only its size) when DPI-rescaling during a move. r=emk
2016-03-23 17:54:45 +00:00
Masayuki Nakano
ccfe495436
Bug 1258153 Initialize mozilla::widget::Native key with actual inputting character if it's created for WM_CHAR r=m_kato
...
When user types a Unicode character with Alt + Numpad keys, recevied messages are:
1. WM_SYSKEYDOWN for Alt (VK_MENU)
2. WM_SYSKEYDOWN and WM_SYSKEYUP of Numpad keys
3. WM_KEYUP for Alt (VK_MENU)
4. WM_CHAR for the Unicode character
The WM_CHAR indicates Alt key with its scancode. Then, we shouldn't set the key value of the keypress event as "Alt". Instead of that, we should set key value to the inputted Unicode character. Then, the keypress event won't be supprressed by WidgetKeyboardEvent::ShouldCauseKeypressEvents() in TextEventDispatcher (this is what the cause of bug 1253153 is.
MozReview-Commit-ID: 8KjOWvYcKMs
--HG--
extra : rebase_source : 463d3185a7074eb564afaf3bb453bbf6967d9677
2016-03-20 22:31:27 +09:00
Masayuki Nakano
8c8cbe0e4c
Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
...
MozReview-Commit-ID: 5q3QUPTf12Z
--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano
6181d95afb
Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
...
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.
MozReview-Commit-ID: BPSq68GnWw6
--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Masayuki Nakano
7bcaf602d0
Bug 1154183 part.2 eKeyDown event should have charCode value of following keypress event r=smaug
...
MozReview-Commit-ID: 9duzKfCFPro
2016-03-19 20:57:11 +09:00
David Anderson
f3dc22db8d
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Aaron Klotz
e164a07c1e
Bug 1256501: Fix warning C4312 with 64-bit VS2015 in widget/windows/nsWindow.cpp; r=jimm
...
MozReview-Commit-ID: 4JdQs90t4Fe
--HG--
extra : rebase_source : 1c974f4536f72f625a4e594d31ac06e7071d15b3
2016-03-21 13:27:00 -06:00
Bob Owen
0640767db4
Bug 1257791: Return correct DPI and printing scale from nsDeviceContextSpecWin when printing to PDF. r=jimm
2016-03-19 11:01:30 +00:00
Jonathan Kew
08fa921c03
Bug 1256731 - patch 2 - Notify front-end code when screen resolution changes on Windows, so that TabsInTitlebar code can refresh its computations. r=gijs,emk
2016-03-17 12:53:31 +00:00
Jonathan Kew
d5c912cdc6
Bug 1256731 - patch 1 - Don't apply theme-dpi scaling to metrics of window border elements, because Windows doesn't respect per-monitor dpi scaling when it draws them. r=emk
2016-03-16 14:15:47 +00:00
Makoto Kato
79b5a1a459
Bug 1137561 - Follow up VS2015 build error. r=masayuki
...
MozReview-Commit-ID: 52ccdKvzVbK
2016-03-17 13:56:15 +09:00
Jonathan Kew
36f8bc41ec
Bug 1254019 - Don't attempt to resize a maximized window on DPI change; and when handling a DPI change, constrain the resized window to the screen bounds. r=emk
2016-03-15 19:52:46 +00:00
Carsten "Tomcat" Book
2cf11e3de4
Backed out changeset 1c2aac5e9b1c (bug 1254019)
2016-03-16 10:33:39 +01:00
Jonathan Kew
82c0bcdb21
Bug 1254019 - Don't attempt to resize a maximized window on DPI change; and when handling a DPI change, constrain the resized window to the screen bounds. r=emk
2016-03-15 19:52:46 +00:00
Makoto Kato
0838e690e7
Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki
...
MozReview-Commit-ID: KB9ok2oly7y
--HG--
extra : rebase_source : c268d4aa25bb03c921ca96cde80e8be85725a500
2016-03-11 17:48:10 +09:00