summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/nsIAbsorbingTransaction.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-05-22 11:48:40 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-06-27 02:20:28 +0200
commitd4cd571021b3651f4f2c6f3a2846e48ad726bcae (patch)
treeda7e203bfcd3b8d1060f1b177b2ec4d966bd7b1a /editor/libeditor/nsIAbsorbingTransaction.h
parent016c55f4094d99cc4aaa2f8ac0f2c22adbf96a5b (diff)
downloadUXP-d4cd571021b3651f4f2c6f3a2846e48ad726bcae.tar
UXP-d4cd571021b3651f4f2c6f3a2846e48ad726bcae.tar.gz
UXP-d4cd571021b3651f4f2c6f3a2846e48ad726bcae.tar.lz
UXP-d4cd571021b3651f4f2c6f3a2846e48ad726bcae.tar.xz
UXP-d4cd571021b3651f4f2c6f3a2846e48ad726bcae.zip
Bug 1316302 - Part 3: Create EditActionResult class for making the methods which return nsresult, handled and canceled with out params
In a lot of places, edit action handlers and their helper methods return nsresult and aHandled and aCanceled with out params. However, the out params cause the code complicated since: * it's not unclear if the method will overwrite aHandled and aCanceled value. * callers need to create temporary variable event if some of them are not necessary. This patch rewrites the helper methods of HTMLEditRules::WillDeleteSelection() with it. Tag #1563
Diffstat (limited to 'editor/libeditor/nsIAbsorbingTransaction.h')
0 files changed, 0 insertions, 0 deletions