mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 08:47:31 +09:00
Issue #80 - De-unify layout/PITA... I mean layout/generic
This commit is contained in:
parent
118743b970
commit
aaa7be1091
14 changed files with 21 additions and 8 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
#define mozilla_CSSAlignUtils_h
|
#define mozilla_CSSAlignUtils_h
|
||||||
|
|
||||||
#include "mozilla/WritingModes.h"
|
#include "mozilla/WritingModes.h"
|
||||||
|
#include "ReflowInput.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@
|
||||||
#include "mozilla/ReflowOutput.h"
|
#include "mozilla/ReflowOutput.h"
|
||||||
#include "mozilla/ReflowInput.h"
|
#include "mozilla/ReflowInput.h"
|
||||||
|
|
||||||
|
using namespace mozilla;
|
||||||
|
|
||||||
void
|
void
|
||||||
nsOverflowAreas::UnionWith(const nsOverflowAreas& aOther)
|
nsOverflowAreas::UnionWith(const nsOverflowAreas& aOther)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
#include "nsTArray.h"
|
#include "nsTArray.h"
|
||||||
#include "nsGkAtoms.h"
|
#include "nsGkAtoms.h"
|
||||||
#include "nsCSSAnonBoxes.h"
|
#include "nsCSSAnonBoxes.h"
|
||||||
|
#include "nsIFrame.h"
|
||||||
|
|
||||||
#define RTC_ARRAY_SIZE 1
|
#define RTC_ARRAY_SIZE 1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@
|
||||||
#ifndef mozilla_layout_ScrollSnap_h_
|
#ifndef mozilla_layout_ScrollSnap_h_
|
||||||
#define mozilla_layout_ScrollSnap_h_
|
#define mozilla_layout_ScrollSnap_h_
|
||||||
|
|
||||||
|
#include "nsIScrollableFrame.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
|
||||||
namespace layers {
|
namespace layers {
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ EXPORTS.mozilla.layout += [
|
||||||
'FrameChildList.h',
|
'FrameChildList.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
SOURCES += [
|
||||||
'AsyncScrollBase.cpp',
|
'AsyncScrollBase.cpp',
|
||||||
'BlockReflowInput.cpp',
|
'BlockReflowInput.cpp',
|
||||||
'CSSAlignUtils.cpp',
|
'CSSAlignUtils.cpp',
|
||||||
|
|
@ -157,9 +157,11 @@ UNIFIED_SOURCES += [
|
||||||
'nsIntervalSet.cpp',
|
'nsIntervalSet.cpp',
|
||||||
'nsLeafFrame.cpp',
|
'nsLeafFrame.cpp',
|
||||||
'nsLineBox.cpp',
|
'nsLineBox.cpp',
|
||||||
|
'nsLineLayout.cpp',
|
||||||
'nsPageContentFrame.cpp',
|
'nsPageContentFrame.cpp',
|
||||||
'nsPageFrame.cpp',
|
'nsPageFrame.cpp',
|
||||||
'nsPlaceholderFrame.cpp',
|
'nsPlaceholderFrame.cpp',
|
||||||
|
'nsPluginFrame.cpp',
|
||||||
'nsRubyBaseContainerFrame.cpp',
|
'nsRubyBaseContainerFrame.cpp',
|
||||||
'nsRubyBaseFrame.cpp',
|
'nsRubyBaseFrame.cpp',
|
||||||
'nsRubyContentFrame.cpp',
|
'nsRubyContentFrame.cpp',
|
||||||
|
|
@ -185,13 +187,6 @@ UNIFIED_SOURCES += [
|
||||||
'TextOverflow.cpp',
|
'TextOverflow.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
# nsLineLayout.cpp needs to be built separately because it uses plarena.h.
|
|
||||||
# nsPluginFrame.cpp needs to be built separately because of name clashes in the OS X headers.
|
|
||||||
SOURCES += [
|
|
||||||
'nsLineLayout.cpp',
|
|
||||||
'nsPluginFrame.cpp',
|
|
||||||
]
|
|
||||||
|
|
||||||
include('/ipc/chromium/chromium-config.mozbuild')
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
#include "nsPresContext.h"
|
#include "nsPresContext.h"
|
||||||
#include "nsCSSFrameConstructor.h"
|
#include "nsCSSFrameConstructor.h"
|
||||||
#include "nsGridContainerFrame.h"
|
#include "nsGridContainerFrame.h"
|
||||||
|
#include "nsPlaceholderFrame.h"
|
||||||
|
|
||||||
#include "mozilla/Sprintf.h"
|
#include "mozilla/Sprintf.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
/* rendering object for HTML <br> elements */
|
/* rendering object for HTML <br> elements */
|
||||||
|
|
||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
|
#include "nsContainerframe.h"
|
||||||
#include "nsFontMetrics.h"
|
#include "nsFontMetrics.h"
|
||||||
#include "nsFrame.h"
|
#include "nsFrame.h"
|
||||||
#include "nsPresContext.h"
|
#include "nsPresContext.h"
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,12 @@
|
||||||
#include "nsBoxLayoutState.h"
|
#include "nsBoxLayoutState.h"
|
||||||
#include "nsCSSFrameConstructor.h"
|
#include "nsCSSFrameConstructor.h"
|
||||||
#include "nsBlockFrame.h"
|
#include "nsBlockFrame.h"
|
||||||
|
#include "nsBulletFrame.h"
|
||||||
#include "nsPlaceholderFrame.h"
|
#include "nsPlaceholderFrame.h"
|
||||||
#include "mozilla/AutoRestore.h"
|
#include "mozilla/AutoRestore.h"
|
||||||
#include "nsIFrameInlines.h"
|
#include "nsIFrameInlines.h"
|
||||||
#include "nsPrintfCString.h"
|
#include "nsPrintfCString.h"
|
||||||
|
#include "nsAttrValueInlines.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@
|
||||||
#include "nsGkAtoms.h"
|
#include "nsGkAtoms.h"
|
||||||
#include "nsHtml5Atoms.h"
|
#include "nsHtml5Atoms.h"
|
||||||
#include "nsCSSAnonBoxes.h"
|
#include "nsCSSAnonBoxes.h"
|
||||||
|
#include "nsGenericHTMLElement.h"
|
||||||
|
|
||||||
#include "nsFrameTraversal.h"
|
#include "nsFrameTraversal.h"
|
||||||
#include "nsRange.h"
|
#include "nsRange.h"
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
#include "RubyUtils.h"
|
#include "RubyUtils.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
using namespace mozilla::gfx;
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@
|
||||||
#include "nsUnicharUtils.h"
|
#include "nsUnicharUtils.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
using namespace mozilla;
|
||||||
|
|
||||||
static bool IsDiscardable(char16_t ch, uint32_t* aFlags)
|
static bool IsDiscardable(char16_t ch, uint32_t* aFlags)
|
||||||
{
|
{
|
||||||
// Unlike IS_DISCARDABLE, we don't discard \r. \r will be ignored by gfxTextRun
|
// Unlike IS_DISCARDABLE, we don't discard \r. \r will be ignored by gfxTextRun
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
#include "IrishCasing.h"
|
#include "IrishCasing.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
using namespace mozilla::gfx;
|
||||||
|
|
||||||
// Unicode characters needing special casing treatment in tr/az languages
|
// Unicode characters needing special casing treatment in tr/az languages
|
||||||
#define LATIN_CAPITAL_LETTER_I_WITH_DOT_ABOVE 0x0130
|
#define LATIN_CAPITAL_LETTER_I_WITH_DOT_ABOVE 0x0130
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
#include "gfxTextRun.h"
|
#include "gfxTextRun.h"
|
||||||
#include "nsStyleContext.h"
|
#include "nsStyleContext.h"
|
||||||
|
|
||||||
|
using namespace mozilla;
|
||||||
|
|
||||||
class nsTransformedTextRun;
|
class nsTransformedTextRun;
|
||||||
|
|
||||||
struct nsTransformedCharStyle final {
|
struct nsTransformedCharStyle final {
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
#include "nsAbsoluteContainingBlock.h"
|
#include "nsAbsoluteContainingBlock.h"
|
||||||
#include "GeckoProfiler.h"
|
#include "GeckoProfiler.h"
|
||||||
#include "nsIMozBrowserFrame.h"
|
#include "nsIMozBrowserFrame.h"
|
||||||
|
#include "nsPlaceholderFrame.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
typedef nsAbsoluteContainingBlock::AbsPosReflowFlags AbsPosReflowFlags;
|
typedef nsAbsoluteContainingBlock::AbsPosReflowFlags AbsPosReflowFlags;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue