mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Issue #80 - De-unify layout/printing
This commit is contained in:
parent
aaa7be1091
commit
1b39899185
6 changed files with 11 additions and 4 deletions
|
|
@ -18,7 +18,6 @@
|
|||
#include "nsIDeviceContextSpec.h"
|
||||
#include "nsIPrintSettings.h"
|
||||
#include "nsIWebProgressListener.h"
|
||||
#include "PrintTranslator.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace layout {
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@
|
|||
#include "nsCOMPtr.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "mozilla/layout/PrintTranslator.h"
|
||||
|
||||
class nsDeviceContext;
|
||||
class nsIPrintSettings;
|
||||
class nsIWebProgressListener;
|
||||
class PrintTranslator;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layout {
|
||||
|
|
|
|||
|
|
@ -13,11 +13,12 @@ XPIDL_SOURCES += [
|
|||
EXPORTS.mozilla.layout += [
|
||||
'ipc/RemotePrintJobChild.h',
|
||||
'ipc/RemotePrintJobParent.h',
|
||||
'PrintTranslator.h',
|
||||
]
|
||||
|
||||
XPIDL_MODULE = 'layout_printing'
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'ipc/RemotePrintJobChild.cpp',
|
||||
'ipc/RemotePrintJobParent.cpp',
|
||||
'nsPagePrintTimer.cpp',
|
||||
|
|
|
|||
|
|
@ -7,9 +7,11 @@
|
|||
|
||||
#include "nsIStringBundle.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsPrintObject.h"
|
||||
#include "nsPrintPreviewListener.h"
|
||||
#include "nsIWebProgressListener.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "mozilla/Services.h"
|
||||
|
||||
//-----------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
#include "nsPIDOMWindow.h"
|
||||
#include "nsIDocShell.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsIFile.h"
|
||||
#include "nsITextToSubURI.h"
|
||||
#include "nsError.h"
|
||||
|
||||
|
|
@ -143,7 +144,7 @@ using namespace mozilla::dom;
|
|||
#define DUMP_LAYOUT_LEVEL 9 // this turns on the dumping of each doucment's layout info
|
||||
|
||||
#ifndef PR_PL
|
||||
static mozilla::LazyLogModule gPrintingLog("printing")
|
||||
static mozilla::LazyLogModule gPrintingLog("printing");
|
||||
|
||||
#define PR_PL(_p1) MOZ_LOG(gPrintingLog, mozilla::LogLevel::Debug, _p1);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include "nsPrintObject.h"
|
||||
#include "nsIContentViewer.h"
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsContentUtils.h" // for nsAutoScriptBlocker
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
|
|
@ -14,6 +15,9 @@
|
|||
#include "nsIDocShellTreeItem.h"
|
||||
#include "nsIBaseWindow.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "mozilla/Unused.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
||||
//---------------------------------------------------
|
||||
//-- nsPrintObject Class Impl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue