Commit Graph

10191 Commits

Author SHA1 Message Date
Karl Tomlinson
36dcd17cbc bug 1182972 remove mNeedsMove/mNeedsResize logic; instead process changes immediately r=acomminos 2015-07-14 15:23:47 +12:00
Karl Tomlinson
ecc490f679 bug 1182972 create NativeMove helper method r=acomminos 2015-07-13 14:29:05 +12:00
Karl Tomlinson
bf45a70439 bug 1182972 remove unused aRepaint parameter from NativeResize methods r=acomminos 2015-07-13 13:57:23 +12:00
Alex Henrie
5d4e05e288 Bug 941858 - Do not scale down elements passed to setDragImage. r=roc 2015-07-11 10:15:19 -06:00
Andrew Comminos
59b0d0f7d5 Bug 1178799 - Filter X11 SelectionRequest events with an invalid requestor on GTK3. r=karlt 2015-07-13 08:58:00 -04:00
Botond Ballo
329ac5fd09 Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Nicolas Silva
4de07beb5f Bug 1180688 - Detect whether the widget will be able to present frames with BasicCompositor on Mac. r=mstange 2015-07-13 16:46:48 +02:00
Nicolas Silva
586d92046c Bug 1180688 - Backout previous fix to try another solution. r=me 2015-07-13 16:46:44 +02:00
Michael Layzell
355a5ad0bf Bug 1180993 - Part 3: Correct use sites of functions which return already_AddRefed. r=ehsan 2015-07-10 08:36:00 -04:00
Robert O'Callahan
0c40e3aba0 Bug 1167786. Restrict bounds of drawn region to the nsShmImage bounds to avoid X errors. r=karlt 2015-07-14 00:03:44 +12:00
Xidorn Quan
16a6a7578a Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm 2015-07-13 20:44:36 +10:00
Xidorn Quan
af90cc112e Bug 1160014 part 3 - Backout code from bug 634586. r=jimm
The code was for improving fullscreen transition. However, it doesn't seem to
be an improvment anymore. Instead, it causes various bugs like bug 649067,
bug 646374, bug 1053783. Also see bug 634586 comment 33 which shows that this
code causes performance issue on slow machine. According to my test, removing
this code could improve the speed switching to fullscreen from normal mode.
2015-07-13 20:44:36 +10:00
Xidorn Quan
bb3b5284af Bug 1160014 part 2 - Move some procedures in nsBaseWidget::MakeFullScreen to individual methods. r=roc
The two new methods will be reused by code in later patches.
2015-07-13 20:44:36 +10:00
Xidorn Quan
19e7a15768 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-13 20:44:36 +10:00
Xidorn Quan
3deabc119c Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc 2015-07-13 20:44:36 +10:00
David Anderson
3840370f70 Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-07-13 01:12:44 -07:00
David Anderson
48e9e5a64b Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-07-13 01:12:41 -07:00
David Anderson
b6ae4b56b7 Add an nsIGfxInfo function to query monitors. (bug 1175005 part 1, r=mattwoodrow) 2015-07-13 01:12:26 -07:00
Masayuki Nakano
f55ec43f29 Bug 1176950 nsTextStore should keep storing locked content until NOTIFY_IME_OF_COMPOSITION_UPDATE is notified r=emk 2015-07-12 18:56:23 +09:00
Jim Chen
e8ce7456b2 Bug 1178850 - Update generated files; r=me 2015-07-10 23:41:36 -04:00
Jim Chen
78c1bf334a Bug 1178850 - Add supporting classes for native JNI calls; r=snorp 2015-07-10 23:41:36 -04:00
Jim Chen
c46e55d3a0 Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 23:41:35 -04:00
Alex Henrie
da48706823 Bug 1181897 - Do not scale down <img> elements passed to setDragImage. r=roc 2015-07-09 23:16:01 -06:00
Nigel Babu
85c18dc42b Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Mike Conley
96028e803c Bug 1158798 - Properly initialize the LookAndFeel cache in the child. r=mstange.
The old code was just flat-out wrong. The IPDL for getting the LookAndFeel
cache from the parent during child process initialization was passing an
array it wanted to be populated as an argument, rather than using a return
value.
2015-07-10 17:11:59 -04:00
Masayuki Nakano
46a7496f64 Bug 1176954 part.8 ContentCacheInParent::OnEventNeedingAckReceived() should log the event message r=smaug 2015-07-11 10:53:56 +09:00
Masayuki Nakano
def85a51a5 Bug 1176954 part.7 IMENotification::TextChangeData should have a method to merge with another instance and IMENotification::MergeWith() should use it r=smaug 2015-07-11 10:53:56 +09:00
Masayuki Nakano
cc6a2cb9db Bug 1176954 part.6 IMEContentObserver should use IMENotification::TextChangeData r=smaug 2015-07-11 10:53:56 +09:00
Masayuki Nakano
6d5cadaeac 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
250d5cfc91 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
Masayuki Nakano
eb3af12ed8 Bug 1176954 part.3 Don't send selection change, text change nor composition update notification to IME from TabParent until all events sent to the child process is received by it r=smaug 2015-07-11 10:53:55 +09:00
Masayuki Nakano
cc7a6702cb Bug 1176954 part.2 ContentCache in parent process should manage how many events are sent but not yet received r=smaug 2015-07-11 10:53:55 +09:00
Xidorn Quan
48b75ae6e3 Bug 1160014 part 4 - Implement fullscreen transition on Windows. r=jimm 2015-07-11 10:08:59 +10:00
Xidorn Quan
07678e24c1 Bug 1160014 part 3 - Backout code from bug 634586. r=jimm
The code was for improving fullscreen transition. However, it doesn't seem to
be an improvment anymore. Instead, it causes various bugs like bug 649067,
bug 646374, bug 1053783. Also see bug 634586 comment 33 which shows that this
code causes performance issue on slow machine. According to my test, removing
this code could improve the speed switching to fullscreen from normal mode.
2015-07-11 10:08:59 +10:00
Xidorn Quan
b5f75db7bd Bug 1160014 part 2 - Move some procedures in nsBaseWidget::MakeFullScreen to individual methods. r=roc
The two new methods will be reused by code in later patches.
2015-07-11 10:08:59 +10:00
Xidorn Quan
bdd482807d Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-11 10:08:59 +10:00
Wes Kocher
0f07ce99e1 Backed out 5 changesets (bug 1178850) for android build bustage CLOSED TREE
Backed out changeset 79085d3894e8 (bug 1178850)
Backed out changeset c02b603104ea (bug 1178850)
Backed out changeset d6dab7810669 (bug 1178850)
Backed out changeset 8ee5809f349b (bug 1178850)
Backed out changeset 821b22ce79e1 (bug 1178850)
2015-07-10 14:17:53 -07:00
Jim Chen
fc5026eb7c Bug 1178850 - Update generated files; r=me 2015-07-10 16:52:52 -04:00
Jim Chen
1f1f6ebea0 Bug 1178850 - Add supporting classes for native JNI calls; r=snorp 2015-07-10 16:52:52 -04:00
Jim Chen
328f4b5fdc Bug 1178850 - Make mozilla::jni::Param more intuitive to use; r=snorp 2015-07-10 16:52:51 -04:00
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Carsten "Tomcat" Book
728be22d0b Backed out changeset a02884944d45 (bug 1175005) for bustage on a CLOSED TREE 2015-07-10 08:40:38 +02:00
Carsten "Tomcat" Book
9ba3ec0ba2 Backed out changeset 9fac75be77b7 (bug 1175005) 2015-07-10 08:39:38 +02:00
Carsten "Tomcat" Book
7e56f6a789 Backed out changeset 83b04f47bdaf (bug 1175005) 2015-07-10 08:39:33 +02:00
David Anderson
68591e139d Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-06-17 23:12:00 -07:00
David Anderson
77a22be71d Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
David Anderson
84923f3234 Add an nsIGfxInfo function to query monitors. (bug 1175005 part 1, r=mattwoodrow) 2015-06-17 23:11:55 -07:00
Jim Mathies
eb88e69b1d Bug 1174461 - Cache NS_NATIVE_PLUGIN_PORT on the content side since it never changes. r=aklotz 2015-07-09 19:07:48 -05:00
Xidorn Quan
7bd93b93f4 Bug 1181912 - Remove the usage of nsString for window class names. r=jimm
This patch causes change to pref ui.window_class_override not take
effect until next boot of the application.
2015-07-10 10:15:48 +10:00