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

Unified Diff: Source/core/page/Settings.h

Issue 14840015: Lose/restore WebGL contexts if multisampling blackist status changes at runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replaced erroniously removed default attributes Created 7 years, 7 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/page/Settings.h
diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h
index 7ef12c80fd873454a40ddfbf68988d005cf6485d..c86f6ee5cf4aa00dfca56777caab097fcec612a3 100644
--- a/Source/core/page/Settings.h
+++ b/Source/core/page/Settings.h
@@ -160,6 +160,9 @@ public:
void setTouchEventEmulationEnabled(bool enabled) { m_touchEventEmulationEnabled = enabled; }
bool isTouchEventEmulationEnabled() const { return m_touchEventEmulationEnabled; }
+ void setOpenGLMultisamplingEnabled(bool flag);
+ bool openGLMultisamplingEnabled();
+
private:
explicit Settings(Page*);
@@ -195,6 +198,7 @@ private:
bool m_dnsPrefetchingEnabled : 1;
bool m_touchEventEmulationEnabled : 1;
+ bool m_openGLMultisamplingEnabled : 1;
Timer<Settings> m_setImageLoadingSettingsTimer;
void imageLoadingSettingsTimerFired(Timer<Settings>*);

Powered by Google App Engine
This is Rietveld 408576698