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

Unified Diff: Source/WebCore/page/Settings.cpp

Issue 8806015: Changes to support a second VM. (Closed) Base URL: svn://svn.chromium.org/dash/experimental/chrome/src/webkit-full
Patch Set: . Created 9 years 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/WebCore/page/Settings.cpp
diff --git a/Source/WebCore/page/Settings.cpp b/Source/WebCore/page/Settings.cpp
index 862bafc8f156201fd7e7ce12132bc01f313f94fc..d60faf16c4ac7a0405359f6e24e25bada28e6901 100644
--- a/Source/WebCore/page/Settings.cpp
+++ b/Source/WebCore/page/Settings.cpp
@@ -136,6 +136,7 @@ Settings::Settings(Page* page)
, m_arePluginsEnabled(false)
, m_localStorageEnabled(false)
, m_isScriptEnabled(false)
+ , m_isDartEnabled(false)
, m_isWebSecurityEnabled(true)
, m_allowUniversalAccessFromFileURLs(true)
, m_allowFileAccessFromFileURLs(true)
@@ -372,6 +373,11 @@ void Settings::setScriptEnabled(bool isScriptEnabled)
m_isScriptEnabled = isScriptEnabled;
}
+void Settings::setDartEnabled(bool isDartEnabled)
+{
+ m_isDartEnabled = isDartEnabled;
+}
+
void Settings::setWebSecurityEnabled(bool isWebSecurityEnabled)
{
m_isWebSecurityEnabled = isWebSecurityEnabled;
« Source/WebCore/bindings/v8/ScriptController.cpp ('K') | « Source/WebCore/page/Settings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698