Commit Graph

1748 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Carsten "Tomcat" Book
1f5f6ac888 Merge mozilla-central to fx-team 2016-08-04 16:06:09 +02:00
Jim Chen
a4fcd0b442 Bug 1288821 - Remove observer events in GeckoEvent; r=snorp
Remove the now-obsolete CALL_OBSERVER and REMOVE_OBSERVER events from
GeckoEvent, along with the native-only event ADD_OBSERVER.
2016-08-04 09:17:54 -04:00
Jim Chen
2dbcd17eca Bug 1288821 - Update auto-generated bindings; r=me 2016-08-04 09:17:54 -04:00
Jim Chen
52c109b436 Bug 1288821 - Convert callObserver/removeObserver to native method; r=snorp
Combine the callObserver and removeObserver methods used for notifying
alert listeners into the native method
GeckoAppShell.notifyAlertListener. Keep track of the listener and the
alert cookie on the native side so that we don't need
GeckoAppShell.ALERT_COOKIES anymore.
2016-08-04 09:17:54 -04:00
Jim Chen
535fa2c33f Bug 1288821 - Refactor Java notification interface; r=snorp
Refactor the notification-related methods in GeckoAppShell. In
particular, combine showPersistentAlertNotification into
showAlertNotification, and move code out of AndroidBridge.
2016-08-04 09:17:54 -04:00
Jim Chen
8e077be96a Bug 1288821 - Add AndroidAlerts as a nsAlertsService backend; r=snorp
Add a proper backend for nsAlertsService on Android, so we don't need
any special-case code for Android in nsAlertsService itself.
2016-08-04 09:17:54 -04:00
Jim Chen
15acbc5fab Bug 1289208 - Remove gamepad events from GeckoEvent; r=snorp
Remove the now-obsolete gamepad events from GeckoEvent, along with a few
other used fields in GeckoEvent.
2016-08-04 09:16:05 -04:00
Jim Chen
8a82ef17c1 Bug 1289208 - Updated auto-generated bindings; r=me 2016-08-04 09:16:05 -04:00
Jim Chen
4b8a8da17c Bug 1289208 - Add native methods to AndroidGamepadManager; r=snorp
Add native method calls to AndroidGamepadManager to replace the gamepad
events in GeckoEvent. Implement those calls in AndroidGamepad.cpp. The
jni/Refs.h change is necessary to fix a compile error when using
jni::BooleanArray.
2016-08-04 09:16:05 -04:00
Jim Chen
e5eac1e286 Bug 1289208 - Move gamepad methods out of GeckoAppShell; r=snorp
Move gamepad methods called by native code out of GeckoAppShell and into
AndroidGamepadManager.
2016-08-04 09:16:05 -04:00
Jim Chen
56e79ec2bc Bug 1288838 - Remove telemetry events from GeckoEvent; r=snorp
Remove the now-obsolete telemetry events from GeckoEvent.
2016-08-04 09:16:05 -04:00
Jim Chen
139bb9bede Bug 1288838 - Update auto-generated bindings; r=me 2016-08-04 09:16:05 -04:00
Jim Chen
3a078bd650 Bug 1288838 - Add telemetry native methods to Android telemetry module; r=snorp
Add and use native method calls in Telemetry.java to replace the
telemetry events in GeckoEvent.
2016-08-04 09:16:04 -04:00
Jim Chen
580a7782fe Bug 1288834 - Remove ZOOMEDVIEW event from GeckoEvent; r=snorp
Remove the now-obsolete ZOOMEDVIEW event from GeckoEvent, and the
associated code in nsAppShell and AndroidBridge.
2016-08-04 09:15:17 -04:00
Jim Chen
a0e70ac337 Bug 1288834 - Update auto-generated bindings; r=me 2016-08-04 09:15:17 -04:00
Jim Chen
4ea7bbbc21 Bug 1288834 - Implement native request method in ZoomedView; r=snorp
Add a native method in ZoomedView to request zoomed view data. The
native method is implemented in the ThumbnailHelper class on the C++
side because it shares a lot of code with the thumbnailing code.
2016-08-04 09:15:17 -04:00
Jim Chen
159d9d9ab2 Bug 1283888 - Remove LOW_MEMORY event from GeckoEvent; r=me
LOW_MEMORY event is not used anywhere and can be safely removed.
2016-08-04 09:15:16 -04:00
Jim Chen
a174ac0918 Bug 1283888 - Remove NATIVE_POKE event from Java; r=me
Remove the obsolete NATIVE_POKE event from GeckoEvent.
2016-08-04 09:15:16 -04:00
Kartikaya Gupta
6962e151a2 Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
MozReview-Commit-ID: 4i1rmeqrkZ1
2016-08-03 11:59:08 -04:00
James Willcox
26bcde6a5e Bug 1255628 - Replace and/or remove some graphics-related calls in AndroidBridge with NDK equivalents r=jchen 2016-08-04 09:23:34 -05:00
Jim Chen
ac1b87c36f Bug 1292323 - Optimize native call dispatching; r=snorp
Refactor the dispatching code to be more streamlined, and add two
optimizations to the way we dispatch a call:

* avoid a pair of unnecessary calls to add/delete the global class ref,
  when dispatching a static call to the Gecko thread without a class ref
  parameter.

* avoid an extra allocation when dispatching to a proxy function.
2016-08-12 23:15:53 -04:00
Jim Chen
0ca0344ec2 Bug 1292323 - Merge NativeStubImpl into NativeStub; r=snorp
Merge all the NativeStubImpl specializations in jni/Natives.h into one
NativeStub, which makes it more organized and facilitates code sharing.
2016-08-12 23:15:53 -04:00
Jim Chen
347603e672 Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp
Remove uses of UsesNativeCallProxy and UsesGeckoThreadProxy, now that
they are not needed.

Remove cases where we had to invoke a call in a proxy, because the call
is now specified to be invoked directly in the WrapForJNI annotation,
without the need to go through the proxy.

For SmsManager and AlarmReceiver, we no longer need to manually dispatch
everything to the Gecko thread because that's now handled automatically.
2016-08-12 23:15:53 -04:00
Jim Chen
36628f0198 Bug 1292323 - Implement JNI thread checking and dispatching; r=snorp
Implement checking the calling thread of a JNI call based on the
calledFrom attribute set in WrapForJNI. Also implement automatic call
dispatching based on the dispatchTo attribute set in WrapForJNI. This
eliminates the use of UsesNativeCallProxy and UsesGeckoThreadProxy.
2016-08-12 23:15:52 -04:00
Jim Chen
7b6a176b60 Bug 1292323 - Update auto-generated bindings; r=me 2016-08-12 23:15:52 -04:00
Jim Chen
0bd1b97d16 Bug 1292323 - Update annotationProcessor to reflect WrapForJNI changes; r=snorp
Update the code generator and related classes in annotation processor to
use the new WrapForJNI flags. Also add some more sanity checking to make
sure the flags are used correctly.
2016-08-12 23:15:52 -04:00
Jim Chen
c800eaab74 Bug 1292323 - Update WrapForJNI usages; r=snorp
Replace old flags in WrapForJNI usages with new flags. The calledFrom
and dispatchTo flags are set based on whether the method is native or
non-native, and how the method is used.

Also fix testEventDipatcher to respect NativeJSObject's calledFrom =
"gekco" flag, by moving a test to Gecko thread.
2016-08-12 23:15:52 -04:00
Jim Chen
75ce4d9aaa Bug 1292323 - Move Java UI thread registration to mozglue; r=snorp
We need to register the Java UI thread in native code very early in the
startup process, before libxul registers its JNI entry points. So it
makes sense to register the Java UI thread in mozglue.
2016-08-12 23:15:52 -04:00
Dylan Roeh
62350ea07f Bug 1288467 - This patch removes GLController.java entirely, moving necessary functionality into LayerView and a new Compositor class. r=jchen 2016-08-01 13:21:31 -05:00
Kartikaya Gupta
85fd233d34 Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond
There were a couple of problems when delivering tap gestures to content with
full zoom applied. One was that the ConverToGecko function converted the coords
into "CSS pixel" space by using the web content's CSS-to-LD scale, but also
applied that on the translation from the chrome area. Moving that conversion
to later in the process (after the coords got passed through TabParent::
AdjustTapToChildWidget) corrected that issue.

The other problem was that bits of code in APZEventState and APZCCallbackHelper
were using the widget->GetDefaultScale() value as the CSS-to-LD scale, but that
omitted the full zoom value. Getting the CSS-to-LD scale from the presShell and
propagating that through corrected that issue.

MozReview-Commit-ID: KdrkdEZslHo
2016-07-29 14:44:29 -04:00
Nicolas Silva
48805c9b3e Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
Makoto Kato
b1da9d4a6c Bug 1094729 - Part 2. Support floating candidate window for hardware keyboard on Android 5+. r=jchen
MozReview-Commit-ID: G148os7J9wO

--HG--
extra : rebase_source : 1cbf1cb1a2a6897439effa7f3edf720adc184e15
extra : histedit_source : 2d84917b32d5eca4066e426f94ece36e81c0bdea
2016-07-20 16:19:05 +09:00
Makoto Kato
36599f24c5 Bug 1288616 - Part 2. Remove unused ANativeWindow_fromSurfaceTexture and android_SurfaceTexture_getNativeWindow. r=snorp
MozReview-Commit-ID: 40rPBLzoLPO

--HG--
extra : rebase_source : 4ab9b4a45610df1be14c764a9927f78cc2d0a4a9
extra : histedit_source : 6f6821be672f77c57352355390eab6b0ab909ce1
2016-07-22 14:40:42 +09:00
Makoto Kato
a0e21d5dea Bug 1288616 - Part 1. Remove unused AcquireNativeWindowFromSurfaceTexture / ReleaseNativeWindowForSurfaceTexture. r=snorp
MozReview-Commit-ID: 15SfycJX9Wn

--HG--
extra : rebase_source : b746aca45f437b56911b8034e8919cc2b8b6ce2c
extra : histedit_source : f915d9ce02a3fb564d7ff4593c0a2fe022f22de1
2016-07-22 14:39:09 +09:00
Carsten "Tomcat" Book
8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Thomas Zimmermann
9bf5588624 Bug 1265386: Convert code in widget/ to |UniquePtr|, r=nfroyd
This patch replaces all references to |nsAutoPtr| in widget/ by references
to |UniquePtr|. |nsAutoPtr| is deprecated and will go away soon.

MozReview-Commit-ID: 8xAS79wTkPC
2016-07-22 10:56:13 +02:00
Thomas Zimmermann
48ef99e762 Bug 1265386: Fix white-space errors in widget/, r=nfroyd
MozReview-Commit-ID: ATXI7dYFHmA
2016-07-22 10:56:13 +02:00
Jim Chen
a7794572ee Bug 1287946 - Improve usage of StringParam in PrefsHelper; r=me
PrefsHelper uses Maybe<> as a replacement for a ternary expression, in
order to work around jni::StringParam's lack of copy constructor.
However, we can add a move constructor to StringParam, which lets us use
it in a ternary expression, and avoid the awkwardness of Maybe<>.
2016-07-21 13:49:05 -04:00
Jim Chen
ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Jim Chen
2f32c11585 Bug 1286663 - Remove THUMBNAIL event from GeckoEvent; r=snorp
Remove the now-obsolete THUMBNAIL event from GeckoEvent, as well as its
implementations in nsAppShell and AndroidBridge.
2016-07-21 13:49:04 -04:00
Jim Chen
e3f2d02ab6 Bug 1286663 - Update auto-generated bindings; r=me 2016-07-21 13:49:04 -04:00
Jim Chen
79f19ad9df Bug 1286663 - Add request thumbnail native method to ThumbnailHelper; r=snorp
Add and use a request thumbnail native method call in ThumbnailHelper,
instead of using the THUMBNAIL event in GeckoEvent.
2016-07-21 13:49:04 -04:00
Jim Chen
6cd5749e48 Bug 1286663 - Update existing code using ByteBuffer; r=me 2016-07-21 13:49:04 -04:00
Jim Chen
fe52fe774b Bug 1286663 - Add JNI wrapper class for ByteBuffer; r=snorp
Add a wrapper class for ByteBuffer and its associated calls in JNI.
2016-07-21 13:49:04 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
d2a1babef4 Backed out changeset 2bea1e1e403d (bug 1265386) for bustage on a CLOSED TREE 2016-07-21 13:59:02 +02:00
Carsten "Tomcat" Book
4a80cb90aa Backed out changeset c402d9e91897 (bug 1265386) 2016-07-21 13:58:46 +02:00
Thomas Zimmermann
0b68c0c6df Bug 1265386: Convert code in widget/ to |UniquePtr|, r=nfroyd
This patch replaces all references to |nsAutoPtr| in widget/ by references
to |UniquePtr|. |nsAutoPtr| is deprecated and will go away soon.

MozReview-Commit-ID: 8xAS79wTkPC
2016-07-21 13:29:33 +02:00
Thomas Zimmermann
d8818e0d94 Bug 1265386: Fix white-space errors in widget/, r=nfroyd
MozReview-Commit-ID: ATXI7dYFHmA
2016-07-21 13:29:30 +02:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
b4d852ccc0 Backed out changeset 7cd055ed9366 (bug 1286663) for android bustage on a CLOSED TREE
--HG--
extra : amend_source : 71f29d4505b7b2443ef3b7293ba60f685a5bf676
2016-07-21 08:18:59 +02:00
Carsten "Tomcat" Book
039a58cf58 Backed out changeset 142caeafd119 (bug 1286663) 2016-07-21 08:18:23 +02:00
Carsten "Tomcat" Book
eaf9acf7d5 Backed out changeset f623f6ccca25 (Bug 1286663) for another bustage on android on a CLOSED TREE 2016-07-21 08:14:27 +02:00
Carsten "Tomcat" Book
e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Carsten "Tomcat" Book
d8c7234cc9 Backed out changeset e954e5a93482 (bug 1287946) 2016-07-21 08:07:11 +02:00
Carsten "Tomcat" Book
b79cd94740 Backed out changeset 3f8cf0d3f2c2 (bug 1286663) 2016-07-21 08:04:53 +02:00
Carsten "Tomcat" Book
27ff1866d4 Backed out changeset d8a07729a34c (bug 1286663) 2016-07-21 08:04:52 +02:00
Jim Chen
d082802e14 Bug 1287946 - Improve usage of StringParam in PrefsHelper; r=me
PrefsHelper uses Maybe<> as a replacement for a ternary expression, in
order to work around jni::StringParam's lack of copy constructor.
However, we can add a move constructor to StringParam, which lets us use
it in a ternary expression, and avoid the awkwardness of Maybe<>.
2016-07-21 00:42:26 -04:00
Jim Chen
78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Jim Chen
5a01a39bfc Bug 1286663 - Remove THUMBNAIL event from GeckoEvent; r=snorp
Remove the now-obsolete THUMBNAIL event from GeckoEvent, as well as its
implementations in nsAppShell and AndroidBridge.
2016-07-21 00:41:13 -04:00
Jim Chen
e736f984e7 Bug 1286663 - Update auto-generated bindings; r=me 2016-07-21 00:41:13 -04:00
Jim Chen
03bf5be5b2 Bug 1286663 - Add request thumbnail native method to ThumbnailHelper; r=snorp
Add and use a request thumbnail native method call in ThumbnailHelper,
instead of using the THUMBNAIL event in GeckoEvent.
2016-07-21 00:41:13 -04:00
Jim Chen
5509026d50 Bug 1286663 - Update existing code using ByteBuffer; r=me 2016-07-21 00:41:13 -04:00
Jim Chen
bf5b43ab73 Bug 1286663 - Add JNI wrapper class for ByteBuffer; r=snorp
Add a wrapper class for ByteBuffer and its associated calls in JNI.
2016-07-21 00:41:12 -04:00
Carsten "Tomcat" Book
5b86ab83e3 Backed out changeset 3119db384fcc (bug 1281575) for bustage 2016-07-21 06:26:58 +02:00
Ryan Hunt
de1e16b8e9 Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats 2016-07-20 13:37:00 +02:00
Jim Chen
49c7dfbdde Bug 1286925 - Remove screen orientation event from GeckoEvent; r=snorp
Remove the now-obsolete SCREENORIENTATION_CHANGED event from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
240d5851e4 Bug 1286925 - Update auto-generated bindings; r=me 2016-07-20 21:44:48 -04:00
Jim Chen
0d2e7fcb1d Bug 1286925 - Add orientation change method in GeckoScreenOrientation; r=snorp
Add and use the onOrientationChanged native method in
GeckoScreenOrientation in place of the screen orientation event in
GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
deae801637 Bug 1286662 - Remove network events from GeckoEvent; r=snorp
Remove the now-obsolete network events from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
dbd23e2934 Bug 1286662 - Update auto-generated bindings; r=me 2016-07-20 21:44:48 -04:00
Jim Chen
071e1acf10 Bug 1286662 - Add native methods for GeckoNetworkManager notifications; r=snorp
Add and use onConnectionChanged and onStatusChanged native methods in
GeckoNetworkManager in place of the network events in GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
fa5754f73b Bug 1285572 - Remove LOAD_URI event; r=snorp
Remove the LOAD_URI event, which is now obsolete, from GeckoEvent.
2016-07-20 21:43:34 -04:00
Jim Chen
facb8d1cd1 Bug 1285572 - Update auto-generated bindings; r=me 2016-07-20 21:43:34 -04:00
Jim Chen
0ab038b8c2 Bug 1285572 - Add and use loadUri method in GeckoView; r=snorp
Add a loadUri method in GeckoView that replaces the functionality of the
current LOAD_URI event in GeckoEvent, and make GeckoApp and BrowserApp
use the new call.

The implementation for loadUri differs from the previous implementation
of LOAD_URI by directly calling nsIBrowserDOMWindow::OpenURI, instead of
going through the command-line handler. This more direct approach lets
us get rid of the Fennec command-line handler entirely.
2016-07-20 21:43:34 -04:00
Jim Chen
4f2c5bc07f Bug 1285572 - Save nsPIDOMWindowOuter in GeckoViewSupport; r=snorp
Keep a pointer to nsPIDOMWindowOuter in GeckoViewSupport so that
GeckoView native method implementations can access the DOM window. This
also lets us simplify GeckoViewSupport::Close by calling
nsPIDOMWindowOuter::ForceClose directly.
2016-07-20 21:43:34 -04:00
Jim Chen
910553a9f1 Bug 1285572 - Move ResolveURI to nsAppShell; r=snorp
Change ResolveURI to be a member function of nsAppShell, so that code
outside of nsAppShell can use it.
2016-07-20 21:43:34 -04:00
Makoto Kato
0d0c5624b4 Bug 1287015 - Part 2. Remove unused AndroidBridge()::LockWindow/UnlockWindow. r=snorp
MozReview-Commit-ID: u5CDwNqt1g

--HG--
extra : rebase_source : 069366cc459a3cc4ad94a6ff13395dc353b35ce6
extra : histedit_source : ba53afba99ceec2f6ba1af607ff7d1a785b8991a
2016-07-15 11:04:04 +09:00
Makoto Kato
c5a642ffaa Bug 1287015 - Part 1. Remove SurfaceBits and getSurfaceBits. r=snorp
MozReview-Commit-ID: 2dFvgwxavgx

--HG--
extra : rebase_source : e1424a90e6bcc3c53985d9582ac89facc8818bc8
extra : histedit_source : f7040478e0bb6952d09cc46376441e71abe021de
2016-07-15 11:02:04 +09:00
Ryan Hunt
5c1e3a17b8 Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
MozReview-Commit-ID: 7tO2kkTNFk2
2016-07-20 13:37:00 +02:00
Jim Chen
1ea9e5b8da Bug 1285570 - Update auto-generated bindings; r=me 2016-07-11 18:07:35 -04:00
Jim Chen
247c8dadf2 Bug 1285570 - Implement VISITED event as native method; r=snorp
Convert the VISITED event in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-11 18:07:35 -04:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Jim Chen
ae02c9f568 Bug 1283882 - Update auto-generated bindings; r=me 2016-07-08 11:39:10 -04:00
Jim Chen
ff2fd08d62 Bug 1283882 - Implement LOCATION_EVENT as native call; r=snorp
Convert LOCATION_EVENT in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-08 11:39:10 -04:00
Jim Chen
11c94a2c71 Bug 1283844 - Update auto-generated bindings; r=me 2016-07-08 11:39:09 -04:00
Jim Chen
e01ee0921d Bug 1283844 - Implement SENSOR_EVENT as native call; r=snorp
Remove SENSOR_EVENT from GeckoEvent and implement it as a native method
in GeckoAppShell that is invoked by the sensor event listener in
GeckoAppShell.
2016-07-08 11:39:09 -04:00
Wes Kocher
7c9b5f12a6 Merge m-c to autoland, a=merge 2016-07-05 17:14:16 -07:00
Kartikaya Gupta
4152d69a8e Bug 1256339 - Collapse the different Handle*Tap functions in GeckoContentController into a single API. r=botond
This is just a refactoring, no functional changes intended.

MozReview-Commit-ID: GRJxVpNAlHC
2016-07-05 13:24:54 -04:00
Nick Alexander
2b02330db2 Bug 1281890 - Allow setting chromeURI from Java. r=snorp
The intention is that GeckoView consumers will not use browser.xul,
but instead geckoview.xul; and that they'll provide content URLs from
their assets/ directories.  This lets them do things without modifying
the omnijar and in particular without setting Gecko's prefs *before*
Gecko startup.

MozReview-Commit-ID: 2QLQQ5RphFu

--HG--
extra : rebase_source : b80eb1b15a54dac3c19ba9c7bfe4f0ac7dae78c6
2016-06-23 12:05:17 -07:00
Kartikaya Gupta
fe435c86af Bug 1283556 - Convert APZStateChange to an enum class and make the formatting more consistent with the style guide. r=botond
MozReview-Commit-ID: FtfoY1jCwkR
2016-07-04 14:44:08 -04:00
Bill McCloskey
b8ababd5ee Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander) 2016-06-30 14:30:30 -07:00
James Willcox
dfd9e9a816 Bug 1280666 - Expose velocity (speed) from StackScroller and use in APZC r=rbarker 2016-06-29 17:09:55 -07:00
James Willcox
75d5558c2f Bug 1280666 - Use StackScroller from Chrome for fling animations r=rbarker 2016-06-29 17:09:55 -07:00
Masayuki Nakano
e1d8dafcd9 Bug 1282668 Get rid of nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE r=m_kato
Currently, all widgets request selection change notifications to IMEContentObserver.  Additionally, IMEContentObserver needs to listen selection changes for caching latest selection for eQuerySelectedText.  Therefore, it doesn't make sense to keep defining nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE.

If widgets didn't need selection change notifications, they could just ignore the unnecessary notifications.

Note that all widgets don't need selection change notifications if a plugin has focus and IMEContentObserver cannot observe selection changes in the plugin.  Therefore, if IMEContentObserver is initialized with a plugin, it shouldn't listen selection changes (and doesn't need to notify widgets of selection changes).

MozReview-Commit-ID: FOVFFgA2nOz

--HG--
extra : rebase_source : 3e16d5023835f99f82934e754d2e7db70474f9ee
2016-06-28 15:23:12 +09:00
Chih-Yi Leu
810f0727b1 Bug 1221730 - Postpone singleton release in GamepadPlatformService::MaybeShutdown. r=baku
--HG--
extra : rebase_source : 4031bb8e791fa1c915261f3b2eaece28ebadb283
2016-06-28 00:27:00 +02:00
Chih-Yi Leu
42a49e9e8c Bug 1221730 - Move gamepad API to PBackground. r=qdot, r=baku
--HG--
extra : rebase_source : 5ad6d31a770d0d7b1b10d6aebf693ed24fc956ca
2016-06-28 00:25:00 +02:00
Jim Chen
9f20364a07 Bug 1277624 - Don't use anonymous namespace in headers; r=me
Trivial patch to not use anonymous namespace in headers, which can
introduce multiple copies of the same code in different compilation
units.
2016-06-27 14:49:55 -04:00