Jim Chen
7088159257
Bug 1209574 - Move GeckoEditable management to nsWindow; r=esawin
...
This patch removes the GeckoEditable code in GeckoAppShell, and make
nsWindow create a GeckoEditable for itself when opening a window.
Instead of calling GeckoAppShell, nsWindow can now call GeckoEditable
methods directly.
2015-10-08 15:25:49 -04:00
Carsten "Tomcat" Book
d2be5e93a8
Backed out changeset 161f9ab0c5e7 (bug 1209574) for Android Perma Failures
2015-10-08 10:06:19 +02:00
Jim Chen
42c7f8215a
Bug 1209574 - Move GeckoEditable management to nsWindow; r=esawin
...
This patch removes the GeckoEditable code in GeckoAppShell, and make
nsWindow create a GeckoEditable for itself when opening a window.
Instead of calling GeckoAppShell, nsWindow can now call GeckoEditable
methods directly.
2015-10-08 01:12:59 -04:00
Wes Kocher
f12076ac2e
Backed out 5 changesets (bug 1209574) for android tpn bustage
...
Backed out changeset fb1f06793a67 (bug 1209574)
Backed out changeset 5f0b32b1acc4 (bug 1209574)
Backed out changeset 657332ea4f59 (bug 1209574)
Backed out changeset 9d2c7ed9cd87 (bug 1209574)
Backed out changeset 8376124b6a0c (bug 1209574)
2015-10-07 09:04:39 -07:00
Jim Chen
c430fa611d
Bug 1209574 - Move GeckoEditable management to nsWindow; r=esawin
...
This patch removes the GeckoEditable code in GeckoAppShell, and make
nsWindow create a GeckoEditable for itself when opening a window.
Instead of calling GeckoAppShell, nsWindow can now call GeckoEditable
methods directly.
2015-10-07 08:57:31 -04:00
Nicholas Nethercote
842dd1cf5a
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Jim Chen
99ef489a78
Bug 1197957 - Implement GeckoView.Window.open in nsWindow; r=snorp
...
nsWindow will implement native methods of GeckoView.Window. This patch
implements the open method, which opens a new window in the same manner
as the CLH, and associates the new nsWindow with the GeckoView.Window
instance.
2015-09-21 10:13:32 -04:00
Kartikaya Gupta
f0e19c3fe8
Bug 1197824 - Add a zoom-constraints-updated message. r=snorp
...
With this patch the ZoomConstraintsClient updates get broadcast via the observer
service on Android, allowing code in browser.js to switch over to using it.
--HG--
extra : commitid : FZvsgS8s2oT
2015-09-03 10:30:41 -04:00
Xidorn Quan
f46a93871a
Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
...
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Nathan Froyd
160a6405bb
Bug 1194806 - part 2 - mark overrides as such in widget/android/; r=snorp
2015-08-14 22:06:20 -04:00
Masayuki Nakano
b5c03e059a
Bug 1176954 part.5 IMENotification::TextChangeDataBase should have a state which indicates that it's not initialized r=smaug
2015-07-11 10:53:55 +09:00
Masayuki Nakano
c1fdc81cac
Bug 1176954 part.4 Define IMENotification::TextChangeDataBase and whose member names should be same as IMEContentObserver::TextChangeData's r=smaug
2015-07-11 10:53:55 +09:00
Robert O'Callahan
84a1b0dd5a
Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
...
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.
This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.
The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
--HG--
extra : commitid : 3t3xqRdZs24
extra : rebase_source : b23749613663ca805484776ccf5e36b4ff00e3fe
2015-06-12 03:20:04 +12:00
James Willcox
3d20b06cfe
Bug 1178365 - Fix DOM fullscreen support on Android r=blassey,xidorn
2015-07-06 10:21:17 -05:00
Jim Chen
7d5c85e670
Bug 1112212 - Implement dummy-key-events mode for Android; r=esawin
2015-06-16 19:02:39 -04:00
Carsten "Tomcat" Book
596e5f9960
merge fx-team to mozilla-central a=merge
2015-04-27 12:34:03 +02:00
Kartikaya Gupta
9d19536ed8
Bug 1156952 - Switch Fennec over to the "attached" widget model, so we get one nsWindow instead of two. r=snorp
2015-04-24 22:26:34 -04:00
Makoto Kato
beff3d3dfe
Bug 1149861 - Implement getMaxTouchPoints for Android. r=snorp
2015-04-24 18:43:31 +09:00
Danilo Cesar Lemes de Paula
d7e8379673
Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
...
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Kartikaya Gupta
daf9ed2ea7
Bug 1155186 - Keep all state in the top-level android widget but use the child widget to dispatch events. r=snorp,jchen
2015-04-17 12:29:51 -04:00
Randall Barker
6c5b7174eb
Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert
2015-04-10 22:14:00 -04:00
Mark Capella
6f1202dd58
Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin
2015-04-13 22:33:02 -04:00
Ryan VanderMeulen
7e5bbc6f5c
Backed out changeset 9271d92ee0e2 (bug 1148149) for robocop crashes.
2015-04-10 14:52:50 -04:00
Randall Barker
332d8f545d
Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert
2015-04-08 16:00:00 -04:00
Jim Chen
5d43c87b01
Bug 1151875 - Never mask text updates in nsWindow; r=esawin
2015-04-08 12:25:20 -04:00
Jim Chen
60406e63b7
Bug 1149189 - Add dummy text change when setting composition to the same text; r=esawin
2015-03-31 18:20:27 -04:00
Jim Chen
3e01b49d16
Bug 1149172 - Query IMEStateManager for composition state; r=esawin
2015-03-31 18:20:27 -04:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Robert O'Callahan
7a165b59ca
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
...
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Phil Ringnalda
7b3840d642
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
David Zbarsky
58a982f86b
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Masayuki Nakano
dd277f3277
Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug
2015-01-28 15:27:31 +09:00
David Anderson
f7031cf9c3
Clean up APZCTM initialization on Android. (bug 1110540 part 3, r=kats)
2014-12-15 01:49:51 -08:00
Vladimir Vukicevic
54548bfc2b
Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt
2014-07-09 12:29:28 -07:00
Kartikaya Gupta
7ca5f86054
Bug 1063803 - Remove unused function. r=wesj
2014-09-12 11:44:20 -04:00
Jim Chen
b566e82670
Bug 1058136 - Handle compose event to optimize composition usage; r=cpeterson
2014-09-04 14:38:18 -04:00
Mark Capella
e8fa8da225
Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj
2014-08-29 17:32:40 -04:00
Jim Chen
3dcbdea53a
Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey
2014-08-26 15:07:59 -04:00
Jonathan Watt
ec0cb99206
Bug 1028825 - Get rid of the Thebes backed gfxContext in Android's nsWindow.cpp. r=Cwiiis
2014-06-23 16:33:23 +01:00
Kartikaya Gupta
0c6293c666
Bug 1018980 - Kill some dead code in Fennec from the pre-OMTC days. r=snorp
2014-06-02 11:13:09 -04:00
Neil Deakin
382114ad8c
Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn
2014-03-19 12:48:08 -04:00
Masayuki Nakano
3a0ba16d1a
Bug 974318 part.8 Use WidgetTextEvent::mRanges on Android r=jchen
2014-03-04 22:48:28 +09:00
Masayuki Nakano
e173e98fbd
Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc
2014-02-18 09:00:15 +09:00
Benoit Jacob
61df69f208
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Nicholas Cameron
9bfee51338
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Phil Ringnalda
74b2dea823
Backed out 7 changesets (bug 946958, bug 865033)
...
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
93ca5b4477
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Chris Kitching
36c7d139c0
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00