Commit Graph

13 Commits

Author SHA1 Message Date
Stone Shih
07a1a01198 Bug 1340085 - [Pointer Event] Stop firing pointer events after firing eTouchCancel. f=smaug. r=kats 2017-02-16 15:05:09 +08:00
Ting-Yu Lin
4bcb7044df Bug 1304598 Part 1 - Move PresShell to mozilla namespace. r=dholbert
MozReview-Commit-ID: 3nsP8Ukxfw9
2016-11-30 11:14:27 +08:00
Kartikaya Gupta
e681f5715b Bug 1162771 - Store the non-anonymous ancestor content along with the touch info the captured touch list. r=smaug
MozReview-Commit-ID: Hs9dHBloO2z
2016-08-18 07:13:29 -04:00
Kartikaya Gupta
e55c5f396c Bug 1162771 - Rename gCaptureTouchList to sCaptureTouchList. r=smaug
MozReview-Commit-ID: 68HvuKZSZ8D
2016-08-18 07:13:29 -04:00
Kartikaya Gupta
fd91b77b2a Bug 1162771 - Encapsulate the gCaptureTouchList so that it's not exposed outside of the TouchManager class. r=smaug
MozReview-Commit-ID: FkaJxTvJOzQ
2016-08-18 07:13:28 -04:00
Tooru Fujisawa
1b5f79d9ec Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel 2015-09-10 19:24:34 +09:00
Ting-Yu Lin
c4c4aa42d2 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu
db46f1d573 Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Ting-Yu Lin
c4d155eb8e Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Kartikaya Gupta
b6a34f683b Bug 1219898 - Remove unneccessary gPreventMouseEvents flag. r=smaug 2015-10-30 22:22:32 -04:00
Nathan Froyd
4e6d8f6705 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
Maksim Lebedev
8809ef0de2 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Maksim Lebedev
ce6cdec278 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-20 02:12:00 -05:00