mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +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
|
||||
|
||||
#include "mozilla/WritingModes.h"
|
||||
#include "ReflowInput.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
#include "mozilla/ReflowOutput.h"
|
||||
#include "mozilla/ReflowInput.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
void
|
||||
nsOverflowAreas::UnionWith(const nsOverflowAreas& aOther)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
#include "nsTArray.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsCSSAnonBoxes.h"
|
||||
#include "nsIFrame.h"
|
||||
|
||||
#define RTC_ARRAY_SIZE 1
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@
|
|||
#ifndef mozilla_layout_ScrollSnap_h_
|
||||
#define mozilla_layout_ScrollSnap_h_
|
||||
|
||||
#include "nsIScrollableFrame.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
namespace layers {
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ EXPORTS.mozilla.layout += [
|
|||
'FrameChildList.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'AsyncScrollBase.cpp',
|
||||
'BlockReflowInput.cpp',
|
||||
'CSSAlignUtils.cpp',
|
||||
|
|
@ -157,9 +157,11 @@ UNIFIED_SOURCES += [
|
|||
'nsIntervalSet.cpp',
|
||||
'nsLeafFrame.cpp',
|
||||
'nsLineBox.cpp',
|
||||
'nsLineLayout.cpp',
|
||||
'nsPageContentFrame.cpp',
|
||||
'nsPageFrame.cpp',
|
||||
'nsPlaceholderFrame.cpp',
|
||||
'nsPluginFrame.cpp',
|
||||
'nsRubyBaseContainerFrame.cpp',
|
||||
'nsRubyBaseFrame.cpp',
|
||||
'nsRubyContentFrame.cpp',
|
||||
|
|
@ -185,13 +187,6 @@ UNIFIED_SOURCES += [
|
|||
'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')
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
#include "nsPresContext.h"
|
||||
#include "nsCSSFrameConstructor.h"
|
||||
#include "nsGridContainerFrame.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
|
||||
#include "mozilla/Sprintf.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
/* rendering object for HTML <br> elements */
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsContainerframe.h"
|
||||
#include "nsFontMetrics.h"
|
||||
#include "nsFrame.h"
|
||||
#include "nsPresContext.h"
|
||||
|
|
|
|||
|
|
@ -29,10 +29,12 @@
|
|||
#include "nsBoxLayoutState.h"
|
||||
#include "nsCSSFrameConstructor.h"
|
||||
#include "nsBlockFrame.h"
|
||||
#include "nsBulletFrame.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
#include "mozilla/AutoRestore.h"
|
||||
#include "nsIFrameInlines.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#include "nsAttrValueInlines.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace mozilla;
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
#include "nsGkAtoms.h"
|
||||
#include "nsHtml5Atoms.h"
|
||||
#include "nsCSSAnonBoxes.h"
|
||||
#include "nsGenericHTMLElement.h"
|
||||
|
||||
#include "nsFrameTraversal.h"
|
||||
#include "nsRange.h"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#include "RubyUtils.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::gfx;
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
#include "nsUnicharUtils.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
static bool IsDiscardable(char16_t ch, uint32_t* aFlags)
|
||||
{
|
||||
// Unlike IS_DISCARDABLE, we don't discard \r. \r will be ignored by gfxTextRun
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
#include "IrishCasing.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::gfx;
|
||||
|
||||
// Unicode characters needing special casing treatment in tr/az languages
|
||||
#define LATIN_CAPITAL_LETTER_I_WITH_DOT_ABOVE 0x0130
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
#include "gfxTextRun.h"
|
||||
#include "nsStyleContext.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
class nsTransformedTextRun;
|
||||
|
||||
struct nsTransformedCharStyle final {
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
#include "nsAbsoluteContainingBlock.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsIMozBrowserFrame.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
|
||||
using namespace mozilla;
|
||||
typedef nsAbsoluteContainingBlock::AbsPosReflowFlags AbsPosReflowFlags;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue