Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1375833003: Chrome currently doesn't ignore transitions when using "@media print" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Space issues Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 9cf6cb243af61170676e69ee90e113c907c1321c..a219f3fda55a18e07642e6a7aa0d4f45ccb8b651 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -537,7 +537,8 @@ public:
ScriptableDocumentParser* scriptableDocumentParser() const;
bool printing() const { return m_printing; }
- void setPrinting(bool p) { m_printing = p; }
+ void setPrinting(bool isPrinting) { m_printing = isPrinting; }
+ bool wasPrinting() const { return m_wasPrinting; }
bool paginatedForScreen() const { return m_paginatedForScreen; }
void setPaginatedForScreen(bool p) { m_paginatedForScreen = p; }
@@ -1195,6 +1196,7 @@ private:
RefPtrWillBeMember<CSSStyleSheet> m_elemSheet;
bool m_printing;
+ bool m_wasPrinting;
bool m_paginatedForScreen;
CompatibilityMode m_compatibilityMode;
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698