Commit 6c7a390c authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

Plumb through webGLErrorsToConsoleEnable in WebSettings

https://bugs.webkit.org/show_bug.cgi?id=78061

Patch by Gregg Tavares <gman@google.com> on 2012-02-07
Reviewed by Kenneth Russell.

* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
(WebKit):
* src/WebSettingsImpl.h:
(WebSettingsImpl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5fadc978
2012-02-07 Gregg Tavares <gman@google.com>
Plumb through webGLErrorsToConsoleEnable in WebSettings
https://bugs.webkit.org/show_bug.cgi?id=78061
Reviewed by Kenneth Russell.
* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
(WebKit):
* src/WebSettingsImpl.h:
(WebSettingsImpl):
2012-02-07 Robert Kroeger <rjkroege@chromium.org> 2012-02-07 Robert Kroeger <rjkroege@chromium.org>
   
[chromium] Remove no longer necessary Chromium gesture recognizer code. [chromium] Remove no longer necessary Chromium gesture recognizer code.
...@@ -98,6 +98,7 @@ public: ...@@ -98,6 +98,7 @@ public:
virtual void setExperimentalWebGLEnabled(bool) = 0; virtual void setExperimentalWebGLEnabled(bool) = 0;
virtual void setOpenGLMultisamplingEnabled(bool) = 0; virtual void setOpenGLMultisamplingEnabled(bool) = 0;
virtual void setPrivilegedWebGLExtensionsEnabled(bool) = 0; virtual void setPrivilegedWebGLExtensionsEnabled(bool) = 0;
virtual void setWebGLErrorsToConsoleEnabled(bool) = 0;
virtual void setShowDebugBorders(bool) = 0; virtual void setShowDebugBorders(bool) = 0;
virtual void setShowFPSCounter(bool) = 0; virtual void setShowFPSCounter(bool) = 0;
virtual bool showFPSCounter() const = 0; virtual bool showFPSCounter() const = 0;
......
...@@ -298,6 +298,11 @@ void WebSettingsImpl::setPrivilegedWebGLExtensionsEnabled(bool enabled) ...@@ -298,6 +298,11 @@ void WebSettingsImpl::setPrivilegedWebGLExtensionsEnabled(bool enabled)
m_settings->setPrivilegedWebGLExtensionsEnabled(enabled); m_settings->setPrivilegedWebGLExtensionsEnabled(enabled);
} }
void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled)
{
m_settings->setWebGLErrorsToConsoleEnabled(enabled);
}
void WebSettingsImpl::setShowDebugBorders(bool show) void WebSettingsImpl::setShowDebugBorders(bool show)
{ {
m_settings->setShowDebugBorders(show); m_settings->setShowDebugBorders(show);
......
...@@ -90,6 +90,7 @@ public: ...@@ -90,6 +90,7 @@ public:
virtual void setExperimentalWebGLEnabled(bool); virtual void setExperimentalWebGLEnabled(bool);
virtual void setOpenGLMultisamplingEnabled(bool); virtual void setOpenGLMultisamplingEnabled(bool);
virtual void setPrivilegedWebGLExtensionsEnabled(bool); virtual void setPrivilegedWebGLExtensionsEnabled(bool);
virtual void setWebGLErrorsToConsoleEnabled(bool);
virtual void setShowDebugBorders(bool); virtual void setShowDebugBorders(bool);
virtual void setShowFPSCounter(bool); virtual void setShowFPSCounter(bool);
virtual bool showFPSCounter() const { return m_showFPSCounter; } virtual bool showFPSCounter() const { return m_showFPSCounter; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment