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

Unified Diff: sky/engine/web/WebSettingsImpl.cpp

Issue 737793006: Add compile flag for enabling the compostior (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years, 1 month 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 | « sky/engine/web/WebSettingsImpl.h ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebSettingsImpl.cpp
diff --git a/sky/engine/web/WebSettingsImpl.cpp b/sky/engine/web/WebSettingsImpl.cpp
index e4d4d579097133f4868fd252ca170f695e63ccc3..9e86de4cc08f1e54c6d3c28ee88a2e3e77c5a190 100644
--- a/sky/engine/web/WebSettingsImpl.cpp
+++ b/sky/engine/web/WebSettingsImpl.cpp
@@ -52,6 +52,15 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings)
ASSERT(settings);
}
+bool WebSettingsImpl::compositorIsEnabled() const
+{
+#if ENABLE(COMPOSITOR)
+ return true;
+#else
+ return false;
+#endif
+}
+
void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode script)
{
if (m_settings->genericFontFamilySettings().updateStandard(font, script))
« no previous file with comments | « sky/engine/web/WebSettingsImpl.h ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698