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

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

Issue 669803002: Optimize for horizontal writing mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: w compile fix Created 6 years, 2 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: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 1dc82d0421ca71ffdd68fc136f47d99e86112afe..c86cb669dda4d1762f74df795cf7ea52fc127d12 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -782,6 +782,9 @@ public:
void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElement = b; }
void setWritingModeSetOnDocumentElement(bool b) { m_writingModeSetOnDocumentElement = b; }
+ bool containsAnyRareWritingMode() const { return m_containsAnyRareWritingMode; }
+ void setContainsAnyRareWritingMode(bool b) { m_containsAnyRareWritingMode = b; }
+
bool execCommand(const String& command, bool userInterface = false, const String& value = String());
bool queryCommandEnabled(const String& command);
bool queryCommandIndeterm(const String& command);
@@ -1331,6 +1334,7 @@ private:
bool m_directionSetOnDocumentElement;
bool m_writingModeSetOnDocumentElement;
+ bool m_containsAnyRareWritingMode;
DocumentTiming m_documentTiming;
RefPtrWillBeMember<MediaQueryMatcher> m_mediaQueryMatcher;
bool m_writeRecursionIsTooDeep;

Powered by Google App Engine
This is Rietveld 408576698