Jim Mathies
7df1406e6c
Bug 1222662 - In the content process, detect when the mouse exists a plugin frame and update the content cursor accordingly. r=enn
2015-11-20 11:00:12 -06:00
Randall Barker
d93f8381b4
Bug 1220925 - Event::GetScreenCoords should return CSSIntPoint instead of LayoutDevicePoint. r=botond
...
This patch converts Event::GetScreenCoords to return the same type as Event::GetClientCoords
and Event::GetPageCoords which is a CSSIntPoint. When the function was originally updated it
was switched to returning LayoutDevicePoint. Additionally the redundant functions
UIEvent::CalculateClientPoint and UIEvent::CalculateScreenPoint were removed.
2015-11-10 11:32:40 -05:00
Masayuki Nakano
202a8b8c34
Bug 1218032 part.4 Notify IMEContentObserver of enough safe timing to notify IME of something r=smaug
2015-11-10 11:49:05 +09:00
Nathan Froyd
e4e2da55c9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Masayuki Nakano
d71134525a
Bug 376679 part.3 Compute default action target frame for wheel event before deciding the action because plugin should decide what is the default action when the target is a plugin frame r=smaug
2015-10-16 13:19:27 +09:00
Masayuki Nakano
40af506d54
Bug 376679 part.2 EventStateManager should treat plugin frame as scrollable frame if the plugin wants to handle wheel events as default action r=smaug
2015-10-16 13:19:27 +09:00
Masayuki Nakano
e5723ebc13
Bug 376679 part.1 Change the result of EventStateManager::ComputeScrollTarget() from nsIScrollableFrame* to nsIFrame* r=smaug
2015-10-16 13:19:27 +09:00
Neil Deakin
c6da9972ad
Bug 1168042, restructure HandleAccessKey so that accesskey candidates are only determined once, and clean up return value to use a bool, r=masayuki
2015-09-18 08:18:07 -04:00
Masayuki Nakano
0a18818029
Bug 895274 part.148 Rename NS_MOUSE_PIXEL_SCROLL to eLegacyMousePixelScroll r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
32c33e0500
Bug 895274 part.147 Rename NS_MOUSE_SCROLL to eLegacyMouseLineOrPageScroll r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
16e0e202df
Bug 1200980 part.2 QueryContentEvent should be handled via IMEContentObserver if there is an instance of it r=smaug
2015-09-08 12:54:14 +09: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
08c1409ff7
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Masayuki Nakano
451161e458
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Andrew McCreight
c979f253c0
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Maksim Lebedev
8bce9ef498
Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug
2015-04-14 11:46:39 -04:00
Olli Pettay
d7df95fdb8
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
02c28e6477
Backed out changesets 33d37539c4ab and 55524bdeb708 (bug 936092) for suspicion of causing e10s test_bug417418.html asserts on Linux.
...
CLOSED TREE
2015-04-08 13:52:21 -04:00
Olli Pettay
c299942977
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
2015-04-08 18:30:03 +03:00
David Anderson
a939ce2deb
Don't route wheel events through APZ if they require custom deltas. (bug 1146674, r=kats)
2015-03-24 14:58:49 -07: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
dvander@alliedmods.net
82c3273e96
Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond)
2015-03-06 14:26:59 -08:00
Kartikaya Gupta
81487ec136
Bug 1132464 - Remove EventStateManager::GetChildProcessOffset in favor of TabParent::GetChildProcessOffset. r=smaug
2015-02-16 21:35:03 -05:00
David Zbarsky
2a13fc70a1
Bug 1125040: Use LayoutDeviceIntPoint for GetScreenCoords r=botond
2015-02-15 13:52:28 -05:00
David Anderson
c6695ca0aa
Detect wheel zoom via WheelPrefs instead of the Ctrl modifier. (bug 1127700, r=smaug)
2015-02-02 11:28:19 -08:00
Masatoshi Kimura
f1b5ace064
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
858165fd65
Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo
2015-01-21 22:35:19 +09:00
Jehan
8916090c19
Bug 1114357 - Firefox does not understand XF86 ZoomIn and ZoomOut keys. r=masayuki
2015-01-15 20:00:58 +01:00
Akshendra Pratap Singh
f351f81f46
Bug 1037990 - AccessLabelKey is now accessible event if the element is detached. r=bzbarsky
2014-10-15 07:42:00 +02:00
Trevor Saunders
dcbd7db871
bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug
2014-07-09 17:27:49 -04:00
Andrew Comminos
0ed1a0f5e1
Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug
2014-07-07 18:54:14 +09:00
Carsten "Tomcat" Book
e4e57eea11
Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE
2014-06-24 12:49:47 +02:00
Andrew Comminos
3f3031e6fb
Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug
2014-06-24 18:02:11 +09:00
Benoit Jacob
84b13c683d
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Maksim Lebedev
8f2b7229d4
Bug 1018113 - Do correct behavior of pen after pointer_up event. r=smaug
2014-06-18 01:12:00 -04:00
Masayuki Nakano
327ceb0493
Bug 976673 part.4 Allow nested mouse button event handling for modal dialog r=smaug+enndeakin
2014-06-18 15:13:01 +09:00
Masayuki Nakano
99eb437da6
Bug 976673 part.2 Allow to steal focus by JS at handling mouseup event r=enndeakin
2014-06-18 15:13:00 +09:00
Jim Mathies
5eae755302
Bug 1003943 - Properly update widget cursors when the mouse passes between remote frames. r=smaug
2014-05-27 20:12:29 -05:00
Jim Mathies
485a2fbcac
Bug 1003934 - Forward NS_MOUSE_EXIT events to content processes so they know the mouse has exited their frame. r=smaug
2014-05-27 20:12:26 -05:00
Masayuki Nakano
2e70e745d1
Bug 810179 part.2 EventStateManager should include IMEContentObserver into cycle collector r=smaug
2014-04-24 09:36:15 +09:00
Masayuki Nakano
5c4524957a
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Masayuki Nakano
0e807881d8
Bug 984271 part.3 Move OverOutElementsWrapper into mozilla:: namespace r=smaug
2014-04-01 13:09:24 +09:00
Masayuki Nakano
a63f35fff1
Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
...
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00