Title: [107037] trunk/Source/WebKit/chromium
Revision
107037
Author
commit-qu...@webkit.org
Date
2012-02-07 21:34:09 -0800 (Tue, 07 Feb 2012)

Log Message

Plumb through webGLErrorsToConsoleEnable in WebSettings
https://bugs.webkit.org/show_bug.cgi?id=78061

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

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (107036 => 107037)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-02-08 05:06:33 UTC (rev 107036)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-02-08 05:34:09 UTC (rev 107037)
@@ -1,3 +1,17 @@
+2012-02-07  Gregg Tavares  <g...@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  <rjkro...@chromium.org>
 
         [chromium] Remove no longer necessary Chromium gesture recognizer code.

Modified: trunk/Source/WebKit/chromium/public/WebSettings.h (107036 => 107037)


--- trunk/Source/WebKit/chromium/public/WebSettings.h	2012-02-08 05:06:33 UTC (rev 107036)
+++ trunk/Source/WebKit/chromium/public/WebSettings.h	2012-02-08 05:34:09 UTC (rev 107037)
@@ -98,6 +98,7 @@
     virtual void setExperimentalWebGLEnabled(bool) = 0;
     virtual void setOpenGLMultisamplingEnabled(bool) = 0;
     virtual void setPrivilegedWebGLExtensionsEnabled(bool) = 0;
+    virtual void setWebGLErrorsToConsoleEnabled(bool) = 0;
     virtual void setShowDebugBorders(bool) = 0;
     virtual void setShowFPSCounter(bool) = 0;
     virtual bool showFPSCounter() const = 0;

Modified: trunk/Source/WebKit/chromium/src/WebSettingsImpl.cpp (107036 => 107037)


--- trunk/Source/WebKit/chromium/src/WebSettingsImpl.cpp	2012-02-08 05:06:33 UTC (rev 107036)
+++ trunk/Source/WebKit/chromium/src/WebSettingsImpl.cpp	2012-02-08 05:34:09 UTC (rev 107037)
@@ -298,6 +298,11 @@
     m_settings->setPrivilegedWebGLExtensionsEnabled(enabled);
 }
 
+void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled)
+{
+    m_settings->setWebGLErrorsToConsoleEnabled(enabled);
+}
+
 void WebSettingsImpl::setShowDebugBorders(bool show)
 {
     m_settings->setShowDebugBorders(show);

Modified: trunk/Source/WebKit/chromium/src/WebSettingsImpl.h (107036 => 107037)


--- trunk/Source/WebKit/chromium/src/WebSettingsImpl.h	2012-02-08 05:06:33 UTC (rev 107036)
+++ trunk/Source/WebKit/chromium/src/WebSettingsImpl.h	2012-02-08 05:34:09 UTC (rev 107037)
@@ -90,6 +90,7 @@
     virtual void setExperimentalWebGLEnabled(bool);
     virtual void setOpenGLMultisamplingEnabled(bool);
     virtual void setPrivilegedWebGLExtensionsEnabled(bool);
+    virtual void setWebGLErrorsToConsoleEnabled(bool);
     virtual void setShowDebugBorders(bool);
     virtual void setShowFPSCounter(bool);
     virtual bool showFPSCounter() const { return m_showFPSCounter; }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to