David Anderson
363aa102fa
Use CompositorWidgetProxy for dispatching vsync to the compositor. (bug 1269037 part 1, r=mchang)
2016-05-03 17:39:23 -07:00
David Anderson
077636288b
Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm)
2016-04-29 19:23:17 -04:00
David Anderson
117773f3a6
Change Compositor::GetWidget to return a CompositorWidgetProxy. (bug 1264545 part 3, r=jimm)
2016-04-29 19:20:41 -04:00
David Anderson
fb6d05480f
Lift compositor-accessed methods from nsIWidget into CompositorWidgetProxy. (bug 1264545 part 2, r=jimm)
2016-04-29 19:20:40 -04:00
Masayuki Nakano
bbce223b06
Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm
...
When PluginInstanceChild receives native key events, it should post the events to the chrome process first for checking if the key combination is reserved. However, posting all key events to the chrome process may make damage to the performance of text input. Therefore, this patch starts to post a key event whose key combination may be a shortcut key. However, for avoiding to shuffle the event order, it posts following key events until all posted key events are handled by the chrome process.
For receiving response from widget, this patch defines nsIKeyEventInPluginCallback. It's specified by nsIWidget::OnWindowedPluginKeyEvent() for ensuring the caller will receive the reply. Basically, the caller of nsIWidget::OnWindowedPluginKeyEvent() should reply to the child process. However, if the widget is a PuppetWidget, it cannot return the result synchronously. Therefore, PuppetWidget::OnWindowedPluginKeyEvent() returns NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY and stores the callback to mKeyEventInPluginCallbacks. Then, TabParent::HandledWindowedPluginKeyEvent() will call PuppetWidget::HandledWindowedPluginKeyEvent().
MozReview-Commit-ID: G6brOU26NwQ
2016-04-19 20:09:37 +09:00
Jonathan Watt
5c3f5ca9f0
Bug 1265953, part 3 - Convert more widget code from nsAutoPtr to UniquePtr. r=mstange
2016-04-19 23:29:16 +01:00
Botond Ballo
255b5d9300
Bug 1260018 - Route drag events to APZ, so it can accurately detect the end of a drag. r=kats
2016-04-18 14:24:28 -04:00
Kartikaya Gupta
ebc6b999e7
Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn
...
MozReview-Commit-ID: EybGq9b1B8Z
2016-04-15 06:39:36 -04:00
David Anderson
e65ca29f0b
Remove drawWidgetAsOnScreen. (bug 1264393, r=mattwoodrow, webidl r=khuey)
2016-04-13 19:24:42 -04:00
Sotaro Ikeda
d9e33fb961
Bug 1259541 - Reduce clearing backbuffer in nsBaseWidget::CreateBackBufferDrawTarget() r=mattwoodrow
2016-04-04 18:25:04 -07:00
Sotaro Ikeda
2fc898f4ce
Bug 1254897 - Recycle back buffer in BasicCompositor r=jrmuizel
2016-03-23 21:41:43 -07:00
David Anderson
7b7cd394cc
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
2016-03-22 14:08:38 -04:00
Sotaro Ikeda
d536f81d72
Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel
2016-03-16 18:30:41 -07:00
Masayuki Nakano
5670e24328
Bug 1137572 part.2 Add nsIWidget::GetNativeTextEventDispatcherListener() for TextEventDispatcher::NotifyIME() r=smaug, sr=smaug
2016-03-16 13:47:47 +09:00
Kartikaya Gupta
c18266e65d
Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
...
MozReview-Commit-ID: 2cou0cK4Yw8
2016-03-10 18:25:48 -05:00
Lee Salzman
1af66c764f
Bug 1019856 - avoid double-buffering in BasicCompositor when window allows it. r=mattwoodrow
2016-02-18 20:57:29 -05:00
Makoto Kato
85294d227b
Bug 1243268 - Support ImmSetCandidateWindow(CFS_EXCLUDE) on plugin process. r=masayuki
2016-02-02 17:05:56 +09:00
Kartikaya Gupta
423eb91d86
Back out 3 csets from bug 1242690 for causing bug 1244549. r=backout
2016-01-31 14:44:58 -05:00
Kartikaya Gupta
aa24bb85e0
Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
2016-01-29 16:31:15 -05:00
Masayuki Nakano
f54e28790a
Bug 1153156 part.1 Move nsBaseWidget::OverrideSystemMouseScrollSpeed() to WidgetWheelEvent r=smaug, sr=smaug
2016-01-27 15:09:13 +09:00
Randall Barker
b474749936
Bug 1231517 - part 3, Add ZoomToRect function to nsIWidget classes r=kats
2016-01-20 16:24:59 -08:00
Nicholas Nethercote
21fd395339
Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats.
2015-12-02 22:29:54 -08:00
Jonathan Kew
b6e25dda33
Bug 890156 - patch 4 - Update widget/windows code for per-monitor DPI support. r=emk
2015-12-04 16:59:14 +00:00
Jonathan Kew
f673e98b1e
Bug 890156 - patch 1 - Add nsIWidget::GetDesktopToDeviceScale() method. r=emk
2015-12-04 16:58:05 +00:00
Jonathan Kew
0d67c18f9e
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Xidorn Quan
17c95b4c73
Bug 1189622 part 2 - Allow widget's MakeFullScreen to fail, and call FinishFullscreenChange directly if that happens. r=smaug
2016-01-12 15:18:47 +11:00
Makoto Kato
fca5f2b18c
Bug 1208944 - Part 10-a. Call CallWindowProc when WidgetPluginEvent isn't handled by plugin. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
1c11b1945f
Bug 1208944 - Part 9. Hook IMM32 APIs on plugin process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
f7bf51b1fa
Bug 1208944 - Part 8. Don't get selection on start compostion when plugin has foucs. r=masayuki
2015-12-29 22:57:38 +09:00
Sebastian Hengst
e8bb1c660e
Backed out 15 changesets (bug 1208944) for failing tests M(2,5) on OSX. r=backout
...
Backed out changeset c29de223de2f (bug 1208944)
Backed out changeset 3d99da255be1 (bug 1209844)
Backed out changeset 3c915942af38 (bug 1209844)
Backed out changeset 759b425b5503 (bug 1208944)
Backed out changeset bf73cf8f0fda (bug 1208944)
Backed out changeset 0e337d912b7d (bug 1208944)
Backed out changeset 31c47f2980b5 (bug 1208944)
Backed out changeset 3e0d70a6e809 (bug 1208944)
Backed out changeset 7685dcb63e5f (bug 1208944)
Backed out changeset 3c2b9372dd36 (bug 1208944)
Backed out changeset 18160d306493 (bug 1208944)
Backed out changeset 4974e397b655 (bug 1208944)
Backed out changeset fde7e439844d (bug 1208944)
Backed out changeset 4213a355fbdc (bug 1208944)
Backed out changeset 33cfddbbf5f2 (bug 1208944)
2015-12-29 17:42:02 +01:00
Makoto Kato
4da7dd7612
Bug 1208944 - Part 10-a. Call CallWindowProc when WidgetPluginEvent isn't handled by plugin. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
1ecd04e712
Bug 1208944 - Part 9. Hook IMM32 APIs on plugin process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
1319eb33ea
Bug 1208944 - Part 8. Don't get selection on start compostion when plugin has foucs. r=masayuki
2015-12-29 22:57:38 +09:00
Jim Chen
02fea99837
Bug 1232456 - Create EGL surface through widget; r=snorp
...
This patch makes GLContextProviderEGL create EGL surfaces through
nsWindow/nsIWidget on Android. nsWindow then calls GLController in Java
to actually create the surface.
2015-12-23 22:03:34 -05:00
Masayuki Nakano
4f019fe44a
Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug
2015-12-11 15:15:57 +09:00
Masayuki Nakano
21a40a0391
Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug
2015-12-11 15:15:57 +09:00
Nicholas Nethercote
b0bb46d766
Bug 1230047 (part 1) - Make SynthesizeNativeTouch{Point,Tap}() take ScreenIntPoints. r=kats.
2015-12-02 21:45:38 -08:00
Nicholas Nethercote
ae857e0e63
Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
2015-12-02 14:32:55 -08:00
Nicholas Nethercote
14171842ac
Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond.
2015-11-25 21:42:59 -08:00
Nicholas Nethercote
451bb9fef8
Bug 1229237 (part 4) - Make ThemeGeometry::mRect a LayoutDeviceIntRect. r=botond.
2015-11-22 20:32:29 -08:00
Nicholas Nethercote
6f043f6b6e
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
72c03344bc
Bug 1229237 (part 2) - Make nsIWidget::DrawWindowUnderlay() take a LayoutDeviceIntRect. r=botond.
2015-11-16 20:34:00 -08:00
Nicholas Nethercote
8da819977a
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
2015-11-16 00:35:18 -08:00
Nicholas Nethercote
4442e1485c
Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
2015-11-25 20:55:36 -08:00
Nicholas Nethercote
5d4621e37d
Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
2015-11-25 20:55:34 -08:00
Nicholas Nethercote
b3312ed385
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
2015-11-25 20:32:47 -08:00
Nicholas Nethercote
ce94aae3ae
Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
2015-11-19 14:10:38 +11:00
Phil Ringnalda
040c117af2
Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
...
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Nicholas Nethercote
5db293bd80
Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
2015-11-19 14:10:38 +11:00
Tooru Fujisawa
d364c5d1cb
Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange
2015-11-18 20:12:26 +09:00