mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Issue #80 - De-unify layout/xul and tree, grid
This commit is contained in:
parent
a892cb0808
commit
22a865ad05
9 changed files with 14 additions and 4 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#define mozilla_dom_ContainerBoxObject_h
|
||||
|
||||
#include "mozilla/dom/BoxObject.h"
|
||||
#include "nsIDocShell.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ EXPORTS += [
|
|||
'nsIGridPart.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'nsGrid.cpp',
|
||||
'nsGridCell.cpp',
|
||||
'nsGridLayout2.cpp',
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ EXPORTS.mozilla.dom += [
|
|||
'ScrollBoxObject.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'BoxObject.cpp',
|
||||
'nsBox.cpp',
|
||||
'nsBoxFrame.cpp',
|
||||
|
|
@ -64,7 +64,7 @@ UNIFIED_SOURCES += [
|
|||
]
|
||||
|
||||
if CONFIG['MOZ_XUL']:
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'ContainerBoxObject.cpp',
|
||||
'ListBoxObject.cpp',
|
||||
'MenuBoxObject.cpp',
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
#include "nsPresContext.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDOMEvent.h"
|
||||
#include "nsDisplayList.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#include "mozilla/BasicEvents.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/TextEvents.h"
|
||||
#include "mozilla/dom/Event.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
#include <algorithm>
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
||||
#define NS_MENU_POPUP_LIST_INDEX 0
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
#include "nsMenuBarFrame.h"
|
||||
#include "nsPopupSetFrame.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsIDOMEvent.h"
|
||||
#include "nsIDOMKeyEvent.h"
|
||||
#include "nsIDOMScreen.h"
|
||||
#include "nsIPresShell.h"
|
||||
|
|
@ -45,6 +46,7 @@
|
|||
#include "nsThemeConstants.h"
|
||||
#include "nsTransitionManager.h"
|
||||
#include "nsDisplayList.h"
|
||||
#include "nsIDOMXULMenuListElement.h"
|
||||
#include "nsIDOMXULSelectCntrlItemEl.h"
|
||||
#include "mozilla/EventDispatcher.h"
|
||||
#include "mozilla/EventStateManager.h"
|
||||
|
|
@ -53,6 +55,7 @@
|
|||
#include "mozilla/LookAndFeel.h"
|
||||
#include "mozilla/MouseEvents.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/Event.h"
|
||||
#include "mozilla/dom/PopupBoxObject.h"
|
||||
#include <algorithm>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,9 +8,12 @@
|
|||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/EventForwards.h"
|
||||
#include "nsTitleBarFrame.h"
|
||||
#include "Units.h"
|
||||
|
||||
class nsIBaseWindow;
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
class nsResizerFrame : public nsTitleBarFrame
|
||||
{
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ EXPORTS.mozilla.dom += [
|
|||
'TreeBoxObject.h'
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'nsTreeBodyFrame.cpp',
|
||||
'nsTreeColFrame.cpp',
|
||||
'nsTreeColumns.cpp',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue