mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
9fd1e2d108
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
32 lines
676 B
Python
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"
|