gecko-dev/editor/txmgr/moz.build
Masayuki Nakano 9fd1e2d108 Bug 1767876 - part 3: Get rid of nsITransactionListener interface r=m_kato
Now, nobody (including comm-central) uses `nsITransactionListener` interface.

This patch also optimizes the notifying methods of `HTMLEditor` from
`TransactionManager` to make them safer and simpler.  The `HTMLEditor`'s methods
can drop some arguments, but I'd like to keep them to make new listeners in the
future handle them easier and safer, but the `ComposerCommandsUpdater` does not
require them.  This is the reason why the difference of the methods' arguments.

Depends on D145664

Differential Revision: https://phabricator.services.mozilla.com/D145667
2022-05-09 12:13:11 +00:00

32 lines
676 B
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ["tests"]
XPIDL_SOURCES += [
"nsITransaction.idl",
"nsITransactionManager.idl",
]
XPIDL_MODULE = "txmgr"
EXPORTS += [
"nsTransactionManagerCID.h",
]
EXPORTS.mozilla += [
"TransactionManager.h",
"TransactionStack.h",
]
UNIFIED_SOURCES += [
"TransactionItem.cpp",
"TransactionManager.cpp",
"TransactionStack.cpp",
]
FINAL_LIBRARY = "xul"