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

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

Issue 1031543003: Remove inheritance of designMode attribute. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/dom/Document.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 7a035b5b21ccfd188cc5bb2615af712596d3dc62..419b206e4b6296e319106eee56e3e088c427192c 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -803,9 +803,7 @@ public:
KURL openSearchDescriptionURL();
// designMode support
- enum InheritedBool { off = false, on = true, inherit };
- void setDesignMode(InheritedBool value);
- bool inDesignMode() const;
+ bool inDesignMode() const { return m_designMode; }
String designMode() const;
void setDesignMode(const String&);
@@ -1297,7 +1295,7 @@ private:
DocumentEncodingData m_encodingData;
- InheritedBool m_designMode;
+ bool m_designMode;
WillBeHeapHashSet<RawPtrWillBeWeakMember<const LiveNodeListBase>> m_listsInvalidatedAtDocument;
#if ENABLE(OILPAN)
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698