Commit Graph

189 Commits

Author SHA1 Message Date
Masayuki Nakano
3ac6163545 Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug 2015-09-15 00:14:33 +09:00
Botond Ballo
745ddc036b Bug 1202312 - Use mozilla::Function for the ContentReceivedInputBlock callback. r=kats 2015-09-11 12:52:43 -04:00
Botond Ballo
21e7afbe57 Bug 1202312 - Use mozilla::Function for the SetAllowedTouchBehavior callback. r=kats 2015-09-11 12:27:49 -04:00
Masayuki Nakano
0b79e5dd83 Bug 895274 part.176 Rename NS_AFTER_SCRIPT_EXECUTE to eAfterScriptExecute r=smaug 2015-09-11 01:59:54 +09:00
Masayuki Nakano
edd3b9006c Bug 895274 part.175 Rename NS_BEFORE_SCRIPT_EXECUTE to eBeforeScriptExecute r=smaug 2015-09-11 01:59:53 +09:00
Masayuki Nakano
68fd6e4dff Bug 895274 part.92 Rename NS_XUL_COMMAND_UPDATE to eXULCommandUpdate r=smaug 2015-09-04 19:54:12 +09:00
Masayuki Nakano
7defa1d7b4 Bug 895274 part.91 Rename NS_XUL_BROADCAST to eXULBroadcast r=smaug 2015-09-04 19:54:12 +09:00
Jim Mathies
708b1d9117 Bug 1137944 - Simplify the api associated with hiding e10s plugin widgets. r=roc 2015-09-03 10:01:33 -05:00
Masayuki Nakano
775fe149e7 Bug 895274 part.85 Rename NS_DRAGDROP_GESTURE to eLegacyDragGesture r=smaug 2015-09-02 15:08:03 +09:00
Masayuki Nakano
cb4d528a54 Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
5761c87ab2 Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
d443240a54 Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
05598ebcf2 Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
Masayuki Nakano
d4d6d9f1a2 Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
e2ac3a5b13 Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
70465bdd05 Bug 895274 part.66 Rename NS_FORM_SELECTED to eFormSelect r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
b4c9424c6a Bug 895274 part.65 Rename NS_FORM_CHANGE to eFormChange r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
5cfc519d5f Bug 895274 part.64 Rename NS_FORM_RESET to eFormReset r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
51a01db12d Bug 895274 part.63 Rename NS_FORM_SUBMIT to eFormSubmit r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
17f273c93e Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
fe9005bf09 Bug 895274 part.60 Rename NS_PAGE_UNLOAD to eUnload r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
596d9b3fc4 Bug 895274 part.59 Rename NS_HASHCHANGE to eHashChange r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
2c5fbc3bc8 Bug 895274 part.58 Rename NS_IMAGE_ABORT to eImageAbort r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
2e46149552 Bug 895274 part.57 Rename NS_LOAD_ERROR to eLoadError r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
d661831aa0 Bug 895274 part.56 Rename NS_POPSTATE to ePopState r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
9bdb541845 Bug 895274 part.54 Rename NS_READYSTATECHANGE to eReadyStateChange r=smaug 2015-09-02 15:07:58 +09:00
Markus Stange
f6f5ca0131 Bug 1016035 - Add nsIWidget::ReportSwipeStart and call it after processing wheel events that can trigger swipes. r=kats 2015-08-28 01:10:48 -04:00
Xidorn Quan
d466352a8c Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc 2015-08-29 11:12:41 +10:00
Masayuki Nakano
b81a488a6b Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
4c9e1bc9c7 Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
6d175d6d42 Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
b01e83cd00 Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
4d5cd63d14 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
cd786809b4 Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
1fe1d7a51e Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano
139fd7c4bd Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
fbeb8a34b6 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
56f12a5cf3 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Markus Stange
b6bf1ea0e1 Bug 1193062 - Only send a content response for wheel events that have also been processed by APZ. r=kats 2015-08-12 15:15:49 -04:00
Mason Chang
47d7b94a15 Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats 2015-08-24 11:27:23 -04:00
Masayuki Nakano
451161e458 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Masayuki Nakano
e1a6c379f6 Bug 1189396 part.3 Make IMENotification::SelectionChangeData useful even outside of IMENotification r=smaug 2015-08-22 01:43:41 +09:00
Randall Barker
035223e3e1 Bug 1188225 - Implement ChromeProcessController::HandleDoubleTap. r=botond 2015-08-13 18:26:00 -04:00
Masayuki Nakano
855a8206b8 Bug 1191213 nsBaseWidget::NotifyWindowMoved() shouldn't notify IME when native IME handler doesn't have focus r=m_kato 2015-08-06 15:57:58 +09:00
George Wright
44888c310e Bug 1157941 - If the current PresShell is suppressed, paint the old one if it is available r=tn,Enn 2015-07-21 21:09:02 -04:00
David Anderson
f5470b0b98 Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
Ryan VanderMeulen
33b7a9fa01 Backed out changesets 90446493d402 and c4f4027f9f3a (bug 1179051) for crashes. 2015-07-19 22:39:20 -04:00
David Anderson
6668d7f4f2 Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
Nicolas Silva
369d15187a Bug 1180688 - Reset the appropriate widget states if creating a compositor fails. r=mstange 2015-07-19 21:50:17 +02:00
David Anderson
966456c514 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow) 2015-07-16 15:18:05 -07:00
Jeff Muizelaar
1f2e10f9ba Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00
Nicolas Silva
586d92046c Bug 1180688 - Backout previous fix to try another solution. r=me 2015-07-13 16:46:44 +02: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
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
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
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
Nicolas Silva
6ad393dff3 Bug 1180688 - Disable the basic compositor backend on Mac. r=mstange 2015-07-09 12:07:51 +02:00
Nathan Froyd
8780083336 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Jim Mathies
ff4d648127 Bug 1152326 - When processing plugin updates only update the visibility of the set of plugins associated with the same compositor. r=aklotz 2015-06-17 15:39:09 -05:00
Kartikaya Gupta
d38c245003 Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00
Kartikaya Gupta
c87431caf0 Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
Ted Mielczarek
5e8b5bd11b bug 1171113 - Add widget/uikit. r=roc (NPOTB) 2015-06-12 08:49:57 -04:00
David Anderson
b49b86d935 Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey) 2015-06-04 14:19:06 -07:00
David Anderson
979c0fb922 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Botond Ballo
ad4aea9284 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Phil Ringnalda
7886a51923 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
eeb3ca1139 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Kan-Ru Chen
90dfbea883 Bug 1167085 - Initialize nsBaseWidget::mLayerManager to nullptr. r=roc 2015-05-22 07:08:21 +08:00
Phil Ringnalda
46bb542e23 Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
d1e2fa0547 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 23:11:44 -04:00
David Anderson
ad7e67dd62 Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE 2015-05-17 21:46:30 -04:00
David Anderson
5d41109b11 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Maksim Lebedev
513de9dca0 Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Masayuki Nakano
42e80d41ca Bug 1130935 part.6 Selection change notification should have selection range and writing mode information r=smaug 2015-05-15 10:18:08 +09:00
David Anderson
74ce6aa434 Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Kartikaya Gupta
88df218627 Bug 1162179 - Don't create APZCTreeManagers for windows which aren't multiprocess. r=dvander 2015-05-06 19:15:10 -04:00
Anthony Tseng
c3e1645f26 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Mason Chang
df541fb650 Bug 1155823 - Properly shutdown the CompositorVsyncDispatcher. r=kats 2015-04-29 08:48:31 -07:00
Milan Sreckovic
a55c3233a1 Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond 2015-04-24 12:33:35 -07:00
Kartikaya Gupta
70e70e0611 Bug 1154739 - On desktop platforms, only enable APZ in e10s windows. r=dvander,mstange 2015-04-27 16:13:29 -04:00
Kartikaya Gupta
23ef8bada5 Bug 1154739 - Rename flag to be more general. r=billm 2015-04-27 16:13:29 -04:00
Jim Mathies
58395d3080 Bug 1156283 - Avoid shutdown observer race when shutting down gfx on Mac. r=roc 2015-04-21 05:24:21 -05:00
L. David Baron
953b8b0670 Bug 1153570 - Remove AutoUseBasicLayerManager, which has been unused since 78b90e6c491b (bug 676241 part 3). r=mstange 2015-04-16 18:13:14 -07:00
Jim Mathies
2071e80766 Bug 1153939 - Avoid a race condition with setting nsBaseWidgets WidgetShutdownObserver widget pointer to null. Fixes a crash in nsBaseWidget::DestroyCompositor(). r=roc 2015-04-16 10:16:04 -05:00
Nicolas Silva
90063ec981 Bug 1151644 - Don't disallow the basic compositor backend. r=jrmuizel 2015-04-16 07:57:00 +02:00
David Anderson
2d7478c400 Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats) 2015-04-14 12:24:32 -04:00
Kartikaya Gupta
595f53686c Bug 1146349 - Wire up native event synthesization in child processes. r=smaug 2015-04-14 11:36:36 -04:00
Kartikaya Gupta
8a87c2918e Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Bob Owen
b588ebc14b Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander 2015-04-01 13:59:20 +01:00
Nicolas Silva
6fad0503a8 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen
734bb8f7d2 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
David Anderson
177f5dab76 Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats) 2015-03-26 14:23:02 -07:00
Maksim Lebedev
24171e69cd Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Ehsan Akhgari
5cccea6f0f 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
Kartikaya Gupta
af299ba137 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Kartikaya Gupta
f709915b5c Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
David Anderson
c404777b56 Add helper for applying async transforms to widget input events. (bug 1143567 part 1, r=kats) 2015-03-16 16:29:53 -07:00
Nicolas Silva
f5fb91c2c1 Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00