Bug 1445142 - Move nsGkAtoms into xpcom/. r=froydnj

This list of atoms isn't particularly DOM-ish, and having it in xpcom/ will
help with the next patch.

MozReview-Commit-ID: 1Y3Fhn9lNbh

--HG--
rename : dom/base/nsGkAtomList.h => xpcom/ds/nsGkAtomList.h
rename : dom/base/nsGkAtoms.cpp => xpcom/ds/nsGkAtoms.cpp
rename : dom/base/nsGkAtoms.h => xpcom/ds/nsGkAtoms.h
extra : rebase_source : 0a0f6ab4432e0d58ea4662299b750a8c52325ad5
This commit is contained in:
Nicholas Nethercote 2018-03-14 11:10:55 +11:00
Родитель 554d65c99a
Коммит 23f8a3de52
5 изменённых файлов: 12 добавлений и 13 удалений

Просмотреть файл

@ -74,8 +74,6 @@ EXPORTS += [
'nsFocusManager.h',
'nsFrameMessageManager.h',
'nsGenericDOMDataNode.h',
'nsGkAtomList.h',
'nsGkAtoms.h',
'nsGlobalWindow.h', # Because binding headers include it.
'nsGlobalWindowInner.h', # Because binding headers include it.
'nsGlobalWindowOuter.h', # Because binding headers include it.
@ -299,7 +297,6 @@ UNIFIED_SOURCES += [
'nsFrameLoader.cpp',
'nsGenConImageContent.cpp',
'nsGenericDOMDataNode.cpp',
'nsGkAtoms.cpp',
'nsGlobalWindowCommands.cpp',
'nsHistory.cpp',
'nsHTMLContentSerializer.cpp',

Просмотреть файл

@ -53,6 +53,8 @@ EXPORTS += [
'nsDeque.h',
'nsEnumeratorUtils.h',
'nsExpirationTracker.h',
'nsGkAtomList.h',
'nsGkAtoms.h',
'nsHashKeys.h',
'nsHashPropertyBag.h',
'nsInterfaceHashtable.h',
@ -116,6 +118,11 @@ UNIFIED_SOURCES += [
'Tokenizer.cpp',
]
# XXX: will be moved to UNIFIED_SOURCES in the next patch
SOURCES += [
'nsGkAtoms.cpp',
]
EXTRA_COMPONENTS += [
'nsINIProcessor.js',
'nsINIProcessor.manifest',

Просмотреть файл

@ -6,19 +6,14 @@
// IWYU pragma: private, include "nsGkAtoms.h"
/*
This file contains the list of all atoms used by gklayout;
see nsGkAtoms for access to the atoms.
*/
/*
This file is designed to be used as inline input to nsGkAtoms.cpp and nsGkAtoms.h
*only* through the magic of C preprocessing.
This file is designed to be used as inline input to nsGkAtoms.cpp and
nsGkAtoms.h *only* through the magic of C preprocessing.
All entries must be enclosed in the macro GK_ATOM which will have cruel
and unusual things done to it
and unusual things done to it.
The first argument to GK_ATOM is the C++ name of the atom
The second argument it GK_ATOM is the string value of the atom
The first argument to GK_ATOM is the C++ name of the atom.
The second argument it GK_ATOM is the string value of the atom.
*/
// OUTPUT_CLASS=nsGkAtoms

Просмотреть файл

Просмотреть файл