diff options
Diffstat (limited to 'WebCore/dom/Document.h')
-rw-r--r-- | WebCore/dom/Document.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/dom/Document.h b/WebCore/dom/Document.h index ebe22cb..fc57ddb 100644 --- a/WebCore/dom/Document.h +++ b/WebCore/dom/Document.h @@ -32,7 +32,6 @@ #include "CollectionType.h" #include "Color.h" #include "ContainerNode.h" -#include "Document.h" #include "DocumentMarker.h" #include "QualifiedName.h" #include "ScriptExecutionContext.h" @@ -571,6 +570,11 @@ public: bool printing() const { return m_printing; } void setPrinting(bool p) { m_printing = p; } + bool paginatedForScreen() const { return m_paginatedForScreen; } + void setPaginatedForScreen(bool p) { m_paginatedForScreen = p; } + + bool paginated() const { return printing() || paginatedForScreen(); } + enum ParseMode { Compat, AlmostStrict, Strict }; void setParseMode(ParseMode m) { m_parseMode = m; } @@ -1121,7 +1125,8 @@ private: mutable bool m_pageGroupUserSheetCacheValid; bool m_printing; - + bool m_paginatedForScreen; + bool m_ignoreAutofocus; ParseMode m_parseMode; |