Jimmy Wang
81ebc7d712
Bug 1162050 - Remove draggesture and eLegacyDragDrop from comments in EventStateManager.cpp/.h. r=enn
...
MozReview-Commit-ID: FXErW3vo36q
--HG--
extra : rebase_source : b57895e5e15f641ce679b0f3082868c397b635c9
2016-05-27 15:43:17 -04:00
Carsten "Tomcat" Book
287942807f
Backed out changeset af0d7fedc60f (bug 1162050)
2016-07-11 11:18:45 +02:00
Jimmy Wang
70443599e6
Bug 1162050 - Remove draggesture from comments in EventStateManager.cpp/.h. r=enn
...
MozReview-Commit-ID: FXErW3vo36q
--HG--
extra : transplant_source : %F4XC/%9EK%E2%7E%98%3C%85%19t%C6%A1%A7%A22jc
2016-05-27 15:43:17 -04:00
Neil Deakin
405358d4b3
Bug 1101975, handle access keys in content process before menus, r=masayuki
2016-05-11 08:56:42 -04:00
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Andrew McCreight
2175118c7d
Bug 1255634 - APZ should scroll by more than a page with large values of mousewheel.default.delta_multiplier_{x,y}. r=masayuki,kats
...
The constants in doTestWholeScroll() have to be reduced because
otherwise some subtests end up returning results that are off by a few
pixels with e10s, presumably due to differences in floating point
precision in APZ compared to non-APZ.
MozReview-Commit-ID: BxmqHrcN8IL
2016-04-12 00:06:49 -04:00
chunminchang
d5f0b6bbe5
Bug 1110030 - part2 - Prevent PostHandleKeyboardEvent if it's handling by IME. r=masayuki
2016-03-15 13:49:19 +08:00
Masayuki Nakano
6e150071f6
Bug 1250050 Add a pref to disable supporting mouse wheel of windowless plugins on Windows r=smaug
2016-02-26 09:41:59 +09:00
Nicholas Nethercote
9fa2681d82
Bug 1187151 (part 14) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=baku.
...
--HG--
extra : rebase_source : c211bfa5c6995b2564c7e356d8edb192a7bdba9e
2016-01-28 14:08:19 -08:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Nicholas Nethercote
16cd9db041
Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc.
2015-12-06 17:15:53 -08:00
David Rajchenbach-Teller
186f04cf6f
Bug 1219150
- EventStateManager::{LatestUserInputStart, UserInputCount};r=smaug
...
To detect slow behaviors, it is useful to find out whether a user
input was handled between two instants.
This patch introduces EventStateManager::UserInputCount, which lets
client code determine whether user input was handled between two
points of execution, and EventStateManager::LatestUserInputStart,
which lets client code find out when the altest user input was
handled.
--HG--
extra : commitid : uK1v8pj0fi
2015-12-03 17:40:45 -08:00
David Anderson
0bf441628c
Add APZ support for mousewheel delta multiplier prefs. (bug 1214170 part 2, r=kats)
...
--HG--
extra : rebase_source : e2847430422f19d872c446524627cbaa526ffe06
2015-12-01 13:46:07 -08:00
Jim Mathies
d44b0e2442
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
658205dc3e
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.
--HG--
extra : commitid : 9BNUzLVMIZ6
2015-11-10 11:32:40 -05:00
Masayuki Nakano
8973128bba
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
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Masayuki Nakano
e868838ac4
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
5f2c3f035e
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
1376b5162b
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
0acaaddd3e
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
861fa3bf52
Bug 895274 part.148 Rename NS_MOUSE_PIXEL_SCROLL to eLegacyMousePixelScroll r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
1b3c9e86cd
Bug 895274 part.147 Rename NS_MOUSE_SCROLL to eLegacyMouseLineOrPageScroll r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
b7165d94e4
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
a516285180
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
0d22745cda
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
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Maksim Lebedev
f60627631d
Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug
...
--HG--
extra : rebase_source : 9556dce20748b3b581f8e39df6992513e90f62ff
2015-04-14 11:46:39 -04:00
Olli Pettay
aad5b35ad2
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
...
--HG--
extra : rebase_source : 070a9902f23d8b47e48ac0f972213815f8e4302c
2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
1b034b250f
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
efdecf747e
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
...
--HG--
extra : rebase_source : f0b1b0fa95dfa5fe16c09ebbc38618cf7c96654f
2015-04-08 18:30:03 +03:00
David Anderson
0edd0b1707
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
883849ee32
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
f1c8e08cdd
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
4c7c740129
Bug 1132464 - Remove EventStateManager::GetChildProcessOffset in favor of TabParent::GetChildProcessOffset. r=smaug
2015-02-16 21:35:03 -05:00
David Zbarsky
8d01c7e428
Bug 1125040: Use LayoutDeviceIntPoint for GetScreenCoords r=botond
2015-02-15 13:52:28 -05:00
David Anderson
f3d97dc62d
Detect wheel zoom via WheelPrefs instead of the Ctrl modifier. (bug 1127700, r=smaug)
2015-02-02 11:28:19 -08:00
Masatoshi Kimura
6cc5dabbee
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
9656ec51c3
Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo
2015-01-21 22:35:19 +09:00
Jehan
1247e9d923
Bug 1114357 - Firefox does not understand XF86 ZoomIn and ZoomOut keys. r=masayuki
2015-01-15 20:00:58 +01:00
Akshendra Pratap Singh
cd19a8d6b0
Bug 1037990 - AccessLabelKey is now accessible event if the element is detached. r=bzbarsky
2014-10-15 07:42:00 +02:00
Trevor Saunders
dfb8d4ea04
bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug
2014-07-09 17:27:49 -04:00
Andrew Comminos
549f1eb82f
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
7cc40ece67
Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE
2014-06-24 12:49:47 +02:00
Andrew Comminos
25358a7059
Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug
2014-06-24 18:02:11 +09:00
Benoit Jacob
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Maksim Lebedev
e5c790bcb3
Bug 1018113 - Do correct behavior of pen after pointer_up event. r=smaug
2014-06-18 01:12:00 -04:00