Commit Graph

20833 Commits

Author SHA1 Message Date
Ben Tian
7d5abfc007 Bug 1264769 - Part 1: Dispatch loadend event for image loading. r=hsivonen
--HG--
extra : rebase_source : 8843a2a3c56c74dc1838f2da3c8251783e20f295
2016-08-16 12:01:12 +08:00
Randall Barker
fcda0a5859 Bug 1291373 - [geckoview] part 5, Remove Layer and all derived classes r=snorp 2016-08-16 14:33:43 -07:00
Randall Barker
983cc6b2d1 Bug 1291373 - [geckoview] part 4, Remove GeckoEvent and AndroidGeckoEvent r=jchen 2016-08-16 14:33:43 -07:00
Randall Barker
9a3fae864f Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp 2016-08-16 14:33:43 -07:00
Randall Barker
c1e108f7ad Bug 1291373 - [geckoview] part 1, Remove JavaPanZoomController (JPZ) from mobile/android r=snorp 2016-08-16 14:33:43 -07:00
Wes Kocher
e386a2bc9e Backed out 2 changesets (bug 1264769) for invalid-src.html wpt failures a=backout
Backed out changeset 7b9d3d0c09f5 (bug 1264769)
Backed out changeset 780f7036c084 (bug 1264769)
2016-08-15 13:35:46 -07:00
Ethan Lin
37f961a439 Bug 1293028 - Check build id only for intel driver. r=mtseng, r=jgilbert 2016-08-08 02:35:00 -04:00
Ben Tian
5c79574178 Bug 1264769 - Part 1: Dispatch loadend event for image loading. r=hsivonen
--HG--
extra : rebase_source : efa121de9a8b3b8bcd9639b59780d7b2340bdfef
2016-07-20 11:01:46 +08:00
Jimmy Wang
f1deff206d Bug 1261299 - Add testing method GetSelectionAsPlaintext to DomWindowUtils which returns the text selection that was sent to the osx service menu nsChildView.mm. r=masayuki
MozReview-Commit-ID: JFzgyTmFDp2

--HG--
extra : rebase_source : 4bc04539a88d123e3ff70d07303adc759bace5b8
2016-07-08 11:35:39 -04:00
Jimmy Wang
5ac347a6ed Bug 1261299 - On e10s in nsChildView for OSX services, determine if there is a current selection (chrome/content). Send the selection to osx service menu. r=masayuki
MozReview-Commit-ID: G5iFo9GhyeA

--HG--
extra : rebase_source : ba6fb2144d67046e4d98c1d56d981f556078ad93
2016-07-08 11:22:42 -04:00
Benjamin Neff
6a620e46f4 Bug 1272332 - Allow dark gtk theme with environment variable. r=karlt
--HG--
extra : rebase_source : 3ccc334fc82066fa43e39a426fec2bea30290a4f
2016-08-05 15:21:00 +02:00
Nicholas Nethercote
735fccd3ce Bug 1293603 (part 3) - Remove erroneous NS_METHOD uses in widget/. r=erahm.
All these occurrences are for methods declared with NS_IMETHOD, and so they
should be NS_IMETHODIMP instead of NS_METHOD.

--HG--
extra : rebase_source : 50b0c0f46cab6a13cc27ad48fb24503b9a491463
2016-08-09 14:03:13 +10:00
Nicholas Nethercote
e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Nicholas Nethercote
a68db0d1df Bug 1293541 - Clean up NS_OBJC_*_TRY_* macros. r=mstange.
NS_OBJC_{BEGIN,END}_TRY_LOGONLY_BLOCK{,RETURN} are identical to
NS_OBJC_{BEGIN,END}_TRY_ABORT_BLOCK{,RETURN}. This patch removes the LOGONLY
versions in favour of the ABORT versions.

--HG--
extra : rebase_source : 4537de8986b87784d2a80ead24999310adbdece8
2016-08-09 14:27:59 +10:00
Daniel Glazman
46b86db1c3 Bug 1247373 - Correctly handle colors from named color spaces in the native color picker. r=mstange
MozReview-Commit-ID: LEajtxr3vx6

--HG--
extra : rebase_source : b860f8c2f56c11b78419e9ba6bca9731f2c024e4
2016-08-09 15:12:57 -04:00
Carsten "Tomcat" Book
d9e0b4c565 merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
Yura Zenevich
7d6abb5975 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Wes Kocher
78ec753b6f Merge m-c to inbound, a=merge 2016-08-08 16:29:21 -07:00
Karl Tomlinson
1a85ce6cf7 bug 1288702 suppress all GTK3 deprecated warnings r=glandium
Functions deprecated in GTK3 are often used for compatibility with GTK2
builds.

MozReview-Commit-ID: F220phw3wVO

--HG--
extra : rebase_source : 128e885652b184c5a7916378d9cebb067ab97eb0
2016-07-27 13:17:00 +12:00
Phil Ringnalda
d88f9174f3 Merge m-i to m-c, a=merge 2016-08-06 23:34:37 -07:00
Wes Kocher
1d69e33b22 Merge m-c to autoland, a=merge 2016-08-05 14:06:46 -07:00
Aaron Klotz
2bbffe8138 Bug 1273635: Enable alertable waits in content process main thread; r=jimm
MozReview-Commit-ID: 2qGdGj41M0n

--HG--
extra : rebase_source : e404ba43a47151d38330052c9ac93e7b252ad0f4
2016-08-03 11:54:35 -06:00
Carsten "Tomcat" Book
a826042a1d Merge mozilla-central to mozilla-inbound 2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book
cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Carsten "Tomcat" Book
99002c6dcd merge fx-team to mozilla-central a=merge 2016-08-05 12:00:16 +02:00
Andrew Comminos
7429cdd2f1 Bug 1292326 - Disable layers acceleration by default when using mesa software rasterizers. r=jrmuizel
MozReview-Commit-ID: 9H1XiuPpw15

--HG--
extra : rebase_source : 1d28690ecbdbab5bd96caed1772f712fd54b0f92
2016-08-04 16:14:27 -04:00
Carsten "Tomcat" Book
1f5f6ac888 Merge mozilla-central to fx-team 2016-08-04 16:06:09 +02:00
Carsten "Tomcat" Book
389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +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
Lee Salzman
658901461a Bug 1291856 - push clip before drawing GTK3 widgets. r=acomminos
MozReview-Commit-ID: 84Y8sBg7NzF
2016-08-03 20:24:39 -04:00
Wes Kocher
ae855cdb28 Merge m-c to inbound, a=merge 2016-08-03 16:47:07 -07:00
Kartikaya Gupta
88b991cf4a Bug 1291819 - Fix typo. r=me
MozReview-Commit-ID: 33jXEnB6RDJ
2016-08-03 16:56:37 -04:00
Andrew Comminos
e1bf608589 Bug 1289561 - Implement LSB release annotation in crash reports. r=jrmuizel
MozReview-Commit-ID: IEcH6K5D27H

--HG--
extra : rebase_source : bf16658e19d8a058d27cb3a0caf0f0a1400fa1cf
2016-07-26 14:23:47 -04:00
Alexandre Lissy
0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Carsten "Tomcat" Book
6b13b3cde6 Merge mozilla-central to autoland 2016-08-03 17:08:48 +02:00
Carsten "Tomcat" Book
eeacfbeff0 merge mozilla-inbound to mozilla-central a=merge 2016-08-03 17:03:41 +02:00
Carsten "Tomcat" Book
57bfee62b0 merge fx-team to mozilla-central a=merge 2016-08-03 17:01:16 +02:00
Matt Woodrow
52628b0bb3 Bug 1230641 - Make our NSOpenGLContext opaque when in fullscreen mode. r=mstange 2016-08-03 22:48:03 +12:00
Iris Hsiao
08f30bd9aa Backed out changeset 238564059ef3 (bug 1273356) for Android 4.3 debug failed to load manufest file 2016-08-03 11:55:35 +08:00
Carsten "Tomcat" Book
cc6b6404c0 Merge mozilla-central to fx-team 2016-08-02 17:13:42 +02:00
Carsten "Tomcat" Book
bd81ddd0b0 merge mozilla-inbound to mozilla-central a=merge 2016-08-02 17:09:31 +02:00
Masayuki Nakano
78b4a701e3 Bug 1259665 part.3 Rename WidgetPointerEvent::isPrimary to mIsPrimary r=smaug
MozReview-Commit-ID: LfKzpwCjMcz

--HG--
extra : rebase_source : d4fd41db8ff4dc39a7156f2f509aae89d1c126a1
2016-08-03 17:34:53 +09:00
Masayuki Nakano
b38025c056 Bug 1259665 part.2 Rename WidgetPointerEvent::height to mHeight r=smaug
MozReview-Commit-ID: Ji4X53dByiH

--HG--
extra : rebase_source : 0e79a45d34142453e79f2412eddb7abc132e11d7
2016-08-03 17:23:56 +09:00
Masayuki Nakano
924e7f39e5 Bug 1259665 part.1 Rename WidgetPointerEvent::width to mWidth r=smaug
MozReview-Commit-ID: 3V5gyOvPuQi

--HG--
extra : rebase_source : 6adf7908e8a84bc2cfb86d8f7823662f1b72170f
2016-08-03 17:18:04 +09:00
Masayuki Nakano
91380f92d1 Bug 1259672 Rename InternalFormEvent::originator to mOriginator r=smaug
MozReview-Commit-ID: 1RoHVeziNr3

--HG--
extra : rebase_source : 85c63944e477603cee3a36e435c83890ea037715
2016-08-03 17:06:10 +09:00
Kartikaya Gupta
ae07f3795d Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
MozReview-Commit-ID: 9lwASRAobar

--HG--
extra : rebase_source : b10f236a2f9c7b366876b955b8ffeee95a2d9f74
2016-08-02 15:42:41 -04:00
Gerald Squelart
c3a55e84c8 Bug 1198815 - Blacklist ATI 15.200.0.0-15.200.1062.1004 - r=kentuckyfriedtakahe
As 15.200.1062.1004 is quite old already, I'm also blacklisting previous
15.200.x.y versions, to catch a few more crashes.

MozReview-Commit-ID: LeLMf7bWNf7

--HG--
extra : rebase_source : 0c9791cb5e94dffe184d868ce85b8829b513ece0
2016-08-02 11:12:34 +10:00
Matt Woodrow
af772b40e6 Bug 1292288 - Don't hold both the effects lock and the GL lock at the same time in PrepareWindowEffects to avoid deadlock. r=mstange
--HG--
extra : rebase_source : f80ae0cfca630b7a414eea8921047996a9122104
2016-08-05 11:33:06 +12:00
David Anderson
27679a9d30 Move UseXRender from gfxPlatformGtk to gfxVars. (bug 1288259 part 5, r=jrmuizel)
--HG--
extra : rebase_source : e2f8337fe9063ba4bd316c5ae4cb6b475f70d36f
2016-08-04 11:33:44 -07:00
Decky Coss
b69450d2ea Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07

--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Kartikaya Gupta
9d9124f381 Bug 1289435 - Support native event synthesization even for non-touch windows devices. r=jimm
MozReview-Commit-ID: IeHmDOiWOW2
2016-08-03 12:06:59 -04:00
Kartikaya Gupta
713c58caee Bug 1289435 - Extract a helper function to dispatch MultiTouchInput to APZ if applicable and then to Gecko. r=mstange
This also modifies the windows widget code to use this new helper function, as
it avoids an unnecessary round-trip where a MultiTouchInput gets converted to
a WidgetTouchEvent (in nsWindow.cpp) and then back to a MultiTouchInput (in
APZCTreeManager.cpp)

MozReview-Commit-ID: 1WGbfINTW6c
2016-08-03 12:06:58 -04:00
Kartikaya Gupta
ebadfda552 Bug 1289435 - Ensure that the synthesized native touch events have sane timestamps. r=mstange
MozReview-Commit-ID: 6QxB7XBx7T7
2016-08-03 12:06:58 -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
Botond Ballo
77a19465e3 Bug 1290823 - Send Gesture:SingleTap even if we're in a chrome document. r=rbarker
MozReview-Commit-ID: 8fRAVdUpM9j

--HG--
extra : rebase_source : 1e29b96467390b2d11b4b1f8976eda1e4fe9aca0
2016-08-08 15:24:11 -04:00
Botond Ballo
7230352e0f Bug 1290823 - Factor out the code for dispatching a single tap event to observers into its own function. r=rbarker
This is not just a refactoring. It ensures that the early return in the
factored-out code only skips the dispatch to observers, *not* the
additional processing by ChromeProcessController.

MozReview-Commit-ID: F7xCoORKRlG

--HG--
extra : rebase_source : f9ef57d25a54442dd083560029437fcad885149c
2016-08-08 16:12:40 -04:00
Martin Stransky
e2cbfe0761 Bug 1291769 - use correct "checked" state for treeview expanders, r=acomminos 2016-08-03 14:53:00 +02:00
Martin Stransky
0bbcee935c Bug 1289763 - Move gImageMenuItemWidget/gCheckMenuItemWidget to WidgetCache, r=acomminos 2016-07-28 03:54:00 +02:00
Martin Stransky
d055a30b27 Bug 1289764 - Move gHPanedWidget/gVPanedWidget to WidgetCache, r=acomminos 2016-07-29 05:30:00 +02:00
Martin Stransky
ec30e6e963 Bug 1288413 - Move GtkTreeView widgets to WidgetCache, r=acomminos 2016-07-29 05:15:00 +02:00
Martin Stransky
83d5f7415d Bug 1286482 - use gdk_display_get_default() instead of mIsX11Display attribute, r=karlt
--HG--
extra : rebase_source : 136ed4085294eb7ff4908a3439e8dbb78efac768
2016-08-01 01:52:00 +02: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
Hector Zhao
4a0bfda8d9 Bug 664717 - Part 2: Pass requestingPrincipal to parent process with nsITransferable. r=smaug
MozReview-Commit-ID: B0k10UplydR

--HG--
extra : transplant_source : %D5h%03%7F%D9F%90%E6q%C8%9D%142b%9C%5E%F4%D1%E8%B3
2016-06-30 15:12:56 +08:00
Hector Zhao
6b5f4e624b Bug 664717 - Part 1: Switch to requestingPrincipal in nsITransferable. r=ckerschb
MozReview-Commit-ID: Hndb5ftbEuL

--HG--
extra : transplant_source : %A5z%B2%C8%A7%7C%20%98rx%8A%89%E6%80a%E5%B65%19%26
2016-07-01 16:01:11 +08:00
James Cheng
b85064a2c6 Bug 1291229 - Fix typo for moving Java bindings to mozilla::java namespace. r=jchen
MozReview-Commit-ID: KGAS6EhnwAI
2016-08-05 13:23:44 -04:00
Igor
4efade90d4 Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd
--HG--
extra : rebase_source : a19f77db06e68bd3d69faf56b8bbdc1825f13249
2016-08-04 16:41:00 +02:00
Chih-Yi Leu
3e3fd845b4 Bug 1299757 - Only use build id for Intel blocklist entry 'FEATURE_FAILURE_BUG_594877'. r=ethlin, r=milan 2016-09-05 01:03:00 +02:00
Chih-Yi Leu
9a2500bfb6 Bug 1295902 - Only use build id for Intel blocklist entry 'FEATURE_FAILURE_BUG_1203199_1'. r=ethlin 2016-08-31 20:34:00 +02:00
Nicholas Nethercote
34dcc7b852 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Matt Woodrow
f5298ba1b7 Bug 1297879 - Don't allow the cocoa GL context to be opaque if we vibrant regions within the window. r=mstange 2016-09-07 15:35:03 +12:00
Randall Barker
8adc72b766 Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats 2016-09-06 18:01:36 -07:00
Jimmy Wang
271a7cfaa2 Bug 1261299 - Add method nsCopySupport::ClearSelectionTransferable() to clear the nsClipboard::sSelectionTransferable when you have no content selection. r=mstange
MozReview-Commit-ID: AjUe94N0Iiw

--HG--
extra : rebase_source : bf1bf642212add9227c185a6cfa3f8f94a7f0248
2016-06-08 14:11:39 -04:00
Jimmy Wang
7c6ec2835f Bug 1261299 - Add sSelectionTransferable and to get the current selection (chrome/content) needed for the OSX service menu. r=mstange
MozReview-Commit-ID: 4n5clge2tr8
***
Bug 1261299 - Add sSelectionTransferable and use in e10s to get the content selection needed for the OSX service menu.

MozReview-Commit-ID: HbZ7S4HfFtn

--HG--
extra : rebase_source : 6a520189d735c0c900e08d474ed838a68afbb4f8
2016-07-08 11:21:43 -04:00
Jimmy Wang
6c6d5a3ec1 Bug 1261299 - Add new clipboard kSelectionCache to cache the current selection for OSX service menu. Add a constructor to nsAutoCopyListener which sets the clipboard to copy to. Pass in kSelectionCache for OSX or kSelectionClipboard for linux. r=mstange
MozReview-Commit-ID: B9mzVnJxUjl

--HG--
extra : rebase_source : 5329f87a958dcb372d552b6aa17442ea7f9b9762
2016-06-03 12:04:22 -04:00
Martin Stransky
db4ee506fc Bug 1278108 - Implement <input type="range"> on gtk 3.20. r=karlt 2016-08-19 05:20:00 -04:00
David Anderson
f0ab54253c Add feature level to D3D11DeviceStatus. (bug 1294988 part 6, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson
396d5d1191 Refactor cross-process acceleration controls. (bug 1294988 part 4, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
Stephen A Pohl
8f756a0ba5 Bug 1293593: Fix crash due to an Objective-C exception when calling getRed:green:blue:alpha on an NSColor instance with an incompatible NSColorSpace. r=mstange 2016-08-19 23:17:58 -04:00
Wes Kocher
431cc3777c Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07:00
Bill McCloskey
3a7ee5574b Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 14:41:26 -07:00
Jim Chen
7b67a45c6a Bug 1294479 - Update auto-generated bindings; r=me 2016-08-19 17:17:25 -04:00
Jim Chen
3bd8918fcf Bug 1294479 - Remove ANativeWindow methods from AndroidBridge; r=snorp
The ANativeWindow methods in AndroidBridge are just wrappers around
ANativeWindow calls in the NDK. We should just use those calls instead
of going through the wrappers.
2016-08-19 17:17:24 -04:00
Jim Chen
39e01a1284 Bug 1294479 - Remove presentation methods from nsWindow/AndroidBridge; r=snorp
Remove the presentation methods from nsWindow/AndroidBridge now that
they are not used. This also eliminates gGeckoViewWindow from nsWindow.
NS_PRESENTATION_WINDOW and NS_PRESENTATION_SURFACE constants are added
for GetNativeData/SetNativeData to provide replacements that support
multiple GeckoViews/nsWindows.
2016-08-19 17:17:24 -04:00
Jim Chen
a13d864c61 Bug 1294479 - Add native methods in PresentationMediaPlayerManager; r=snorp
Put presentation surface native methods in PMPM Instead of in
GeckoAppShell, and also make these methods work with multiple GeckoViews
by having them take a GeckoView parameter if necessary. This also lets
us eliminate the static nsWindow reference in nsWindow.cpp.
2016-08-19 17:17:24 -04:00
Randall Barker
6db3f09efd Bug 1294998 - In Fennec only show overscroll effect for root content r=botond 2016-08-19 13:41:30 -07:00
Wes Kocher
3a31be9c17 Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey
3799faa926 Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 09:59:40 -07:00
Andi-Bogdan Postelnicu
e47f652b04 Bug 1273423 - removed useless null pointer check on |aFrame|. r=karlt+@karlt.net
MozReview-Commit-ID: 1HCh1pKVUh1

--HG--
extra : rebase_source : 348d3ea21d6dc512dc711e1e82db005db2d9c314
2016-05-23 11:04:51 +03: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
Jeff Muizelaar
9081a72fea Bug 1289236. Remove ResizeTransparentWindow. r=dvander
We can just recreate the surface when needed.
2016-07-29 09:29:35 -04:00
Martin Stransky
ce52ea148e Bug 1290048 - Remove gtk_style_context_set_state/gtk_style_context_set_direction after ClaimStyleContext() call. r=acomminos 2016-07-28 04:13:00 -04:00
Carsten "Tomcat" Book
e7165f9b1e merge fx-team to mozilla-central a=merge 2016-07-29 11:55:36 +02:00
Wes Kocher
2e8a001926 Merge m-c to fx-team, a=merge 2016-07-28 17:04:33 -07:00
Carsten "Tomcat" Book
99e55461fb Merge mozilla-central to autoland 2016-07-28 17:46:12 +02:00
Carsten "Tomcat" Book
37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Cameron McCormack
8f06979688 Bug 1289710 - Allow KTableEntry objects to be initialized with enum values of appropriate size. r=xidorn
MozReview-Commit-ID: JluYrYmy5z1

--HG--
extra : rebase_source : a79d94130c339c58f3c1055da68f118d1320ccf3
2016-07-28 15:40:09 +08:00
Iris Hsiao
f9707fb68a Backed out changeset 48d06bcb9c65 (bug 1273635) for Mochitest failures 2016-07-28 14:25:47 +08:00
Alexandre Lissy
ceb1dc3eac Bug 1290073 - Remove ICS Gonk widget support r=sotaro
MozReview-Commit-ID: JOWaHvPwnZI

--HG--
extra : rebase_source : 1f9c81b0bb79572365d98944fc8923f1859540c1
2016-07-28 14:38:07 +02:00
Xidorn Quan
b83b9e7406 Bug 991899 part 1 - Add unprefixed API for PointerLock. r=smaug
MozReview-Commit-ID: 3af2D9IWI1Q

--HG--
extra : source : 527777bea747fb8ab363960e41b0a1ddb26d7749
2016-07-28 17:15:21 +10:00
Carsten "Tomcat" Book
1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Dão Gottwald
e08989c77b Backed out changeset 0f052f1a6a05 (bug 1272332) 2016-07-28 08:35:17 +02:00
Benoit Girard
27dab6f2a1 Bug 1289917 - Rename FEATURE_FAILURE_TEST to FEATURE_FAILURE_UNKNOWN_DEVICE_VENDOR. r=me
MozReview-Commit-ID: LvFUE9UMxFA

--HG--
extra : rebase_source : 593fa2e6942c9fb04374ae3bf5199f44a8b11b3d
2016-07-27 17:33:28 -04:00
Masatoshi Kimura
0ce2b1771e Bug 1288760 - Fix point conversion in nsDragService::StartInvokingDragSession. r=jfkthame
MozReview-Commit-ID: DgNtnsvEPnR

--HG--
extra : rebase_source : 0c2c077cd36047bdce5f74b6a4672682e8120073
2016-07-28 19:57:28 +09:00
Carsten "Tomcat" Book
7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Mike Hommey
4fdd5ca717 Bug 1289248 - Stop using MOZ_WINSDK_MAXVER outside configure. r=blassey,cpearce
Its value was only used in a couple C++ files, and a corresponding value
can be gotten directly from including winsdkver.h.

--HG--
extra : rebase_source : 618f1eb2ee0243a6c1c652ccce45b2aeba959edf
2016-07-22 18:52:13 +09: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
Martin Stransky
0c9bdc3477 Bug 1288696 - Move MenuSeparatorWidget to WidgetCache, r=acomminos 2016-07-25 05:40:00 +02:00
Martin Stransky
87696b003b Bug 1288412 - Move GtkScrolledWindow to WidgetCache, r=acomminos
Land Bug 1282753 before this one.
2016-07-25 06:46:00 +02:00
Martin Stransky
1130b1827c Bug 1282753 - move button and entry widgets from gtk3drawing to WidgetCache, r=andrew@comminos 2016-07-20 01:57:00 +02:00
isangelawu
5362a0f92e Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
Bonstra
b7bdb9fa19 Bug 1289531 - Make float to int conversion explicit. r=nical 2016-07-27 01:02:53 -07:00
Carsten "Tomcat" Book
574d0d452b merge mozilla-inbound to mozilla-central a=merge 2016-07-26 11:55:54 +02:00
Kartikaya Gupta
166816e4b0 Bug 1287576 - Update the touch-behavior notification code to behave like the set-target-apzc notification code. r=botond
In particular, this change uses the root frame of the touch target document,
so that the correct presShell resolution is used when doing the touch-action
hit test.

MozReview-Commit-ID: 2bra6PIRqkR
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
f27c48490f Bug 1288187 - Allow synthesizing widget touch events on OS X. r=mstange
MozReview-Commit-ID: AGvZQZtbPh
2016-07-25 17:33:09 -07:00
Kartikaya Gupta
d8e85035dd Bug 1288187 - Extract a helper function to manage synthetic touch points for widgets that don't have more specific handling. r=botond
MozReview-Commit-ID: EFlHnN700vc
2016-07-25 17:33:09 -07:00
Jeff Gilbert
6790ba91a7 Bug 1288649 - Remove NextPowerOfTwo. - r=jrmuizel
MozReview-Commit-ID: 9CR6lscs3d2
2016-07-25 14:46:28 -07:00
Andrew Comminos
8bec715c96 Bug 1287666 - Avoid a round trip to the X server in nsShmImage::CreateDrawTarget. r=lsalzman
MozReview-Commit-ID: LpvsntOCMab

--HG--
extra : rebase_source : e13ad6f33b875bcae59110347b696ea640085bbb
2016-07-21 13:41:09 -04:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Manish Goregaokar
52b9ca33f3 Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI

--HG--
extra : rebase_source : b893331b173a306143e546f0d403ae25f827fae2
2016-07-25 11:56:40 +05:30
Masayuki Nakano
464384943c Bug 1288318 Initialize TSFTextStore::mInputScopes at initializing its members rather than after setting focus to the context r=m_kato
In CreateAndSetFocus(), SetInputScope() is called *after* setting focus to the context. At this time, Google Japanese Input retrieves InputScopes. Therefore, TSFTextStore returns IS_DEFAULT. But after that, Google Japanese Input tries to retrieve InputScopes after every notification (in this case, a call of ITextStoreACPSink::OnLayoutChange()). Then, we return IS_URL due to set after returns IS_DEFAULT.

This is actually our fault, but according to the other TIPs, Google Japanese Input shouldn't commit composition at detecting an InputScope change, though.

MozReview-Commit-ID: 2tPlcEA0MI0

--HG--
extra : rebase_source : 0956bf79ed84b7b901b6314bb483e40436d49751
2016-07-22 23:30:12 +09: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
Nate Weaver
e04b07cbb9 Bug 426680 - Set allowedFileTypes on NSSavePanel so the file extension isn't selected. r=mstange. 2016-07-22 08:24:02 +02:00
Makoto Kato
fce35d00ac Bug 1288595 - Guard DPI_AWARENESS_CONTEXT defines against Windows SDK beta (10.0.14383.0). r=jfkthame
MozReview-Commit-ID: 6CMZ3mVhWd5

--HG--
extra : rebase_source : 4aac1b1b9d8b06414022ce350c28e72bf3a2fdeb
2016-07-22 12:43:15 +09: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
Gerald Squelart
7bed0135a2 Bug 1288295 - Revert bug 1277526 (ATI driver 8.850 blacklisting) - r=kentuckyfriedtakahe
This might revive some crashes, but we think the initial targeted blacklisting
was not the appropriate solution for this.

MozReview-Commit-ID: C5uPnIEkMPB

--HG--
extra : rebase_source : bceaca8844dbff996e0286109eb91a22059982ee
2016-07-21 12:18:09 +10:00
Alexandre Lissy
59d732dd3b Bug 1288720 - Add use of MULTITOUCH_SENTINEL on gonk r=kats
MozReview-Commit-ID: FS5zcFDr5E4

--HG--
extra : rebase_source : fb7eb0896165ff3717bcb0e40543a4b7f4b72b3d
2016-07-22 14:49:08 +02:00
Wes Kocher
1f49af4fc0 Backed out 2 changesets (bug 1297850) for robocop bustage a=backout CLOSED TREE
Backed out changeset e83c9eb279a9 (bug 1297850)
Backed out changeset 979694026137 (bug 1297850)
2016-08-25 11:29:35 -07:00
Randall Barker
4839c748eb Bug 1297850 - part 1, Remove dead code left behind after JPZ removal. r=jchen 2016-08-25 08:14:52 -07:00
Wes Kocher
f11c79a662 Merge m-c to inbound, a=merge CLOSED TREE 2016-07-21 15:59:28 -07: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
Carsten "Tomcat" Book
bc1b31b01b Merge mozilla-central to autoland 2016-07-21 16:27:58 +02:00
Carsten "Tomcat" Book
4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02: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
Alexandre Lissy
f481ca8daa Bug 1288373 - Add missing task.h for NewRunnableFunction r=tzimmermann
MozReview-Commit-ID: 5uubahXWY6x

--HG--
extra : rebase_source : 85031e6ca526c212a77028952319fd5401ad5cb0
2016-07-21 13:45:43 +02:00
Chris Peterson
d634a99cad Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07: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
Carsten "Tomcat" Book
361b6edfc1 Backed out changeset b95ebdb96050 (bug 1281575) 2016-07-21 06:26:47 +02:00
Ryan Hunt
aa91ba815f Bug 1281575 - Create IPDL protocol implementation of IAPZCTreeManager. r=kats 2016-07-20 13:37:00 +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
Andi-Bogdan Postelnicu
734204078e Bug 1258383 - initialize |mInputSource| with |aMouseEvent.inputSource|. r=kats
MozReview-Commit-ID: GpOQyrAlsr3

--HG--
extra : rebase_source : 5d66829d7bce7b5b86efa5aa62e233bd25dfe201
2016-03-21 16:47:43 +02:00
Carsten "Tomcat" Book
8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Martin Stransky
23f7a86584 Bug 1287080 - Move Toolbar, Frame and Gripper widgets from gtk3drawing to WidgetCache, r=acomminos 2016-07-18 05:29:00 +02:00
Martin Stransky
70d7e929fe Bug 1287082 - Move GtkExpander widget from gtk3drawing.cpp to WidgetCache, r=acomminos 2016-07-18 04:27:00 +02: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