Title: [174016] trunk/Source/WebKit2
Revision
174016
Author
[email protected]
Date
2014-09-26 11:51:18 -0700 (Fri, 26 Sep 2014)

Log Message

Add WKInspector back function stubs that went missing from r173929.
My changes to WKDeprecatedFunctions.cpp got lost in the shuffle.

* Shared/API/c/WKDeprecatedFunctions.cpp:
(WKInspectorIsDebuggingJavaScript):
(WKInspectorToggleJavaScriptDebugging):
(WKInspectorIsProfilingJavaScript):
(WKInspectorToggleJavaScriptProfiling):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (174015 => 174016)


--- trunk/Source/WebKit2/ChangeLog	2014-09-26 18:49:30 UTC (rev 174015)
+++ trunk/Source/WebKit2/ChangeLog	2014-09-26 18:51:18 UTC (rev 174016)
@@ -1,3 +1,14 @@
+2014-09-26  Timothy Hatcher  <[email protected]>
+
+        Add WKInspector back function stubs that went missing from r173929.
+        My changes to WKDeprecatedFunctions.cpp got lost in the shuffle.
+
+        * Shared/API/c/WKDeprecatedFunctions.cpp:
+        (WKInspectorIsDebuggingJavaScript):
+        (WKInspectorToggleJavaScriptDebugging):
+        (WKInspectorIsProfilingJavaScript):
+        (WKInspectorToggleJavaScriptProfiling):
+
 2014-09-26  Carlos Garcia Campos  <[email protected]>
 
         REGRESSION(r173929): Web inspector doesn't work after r173929 when INSPECTOR_SERVER is enabled

Modified: trunk/Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp (174015 => 174016)


--- trunk/Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp	2014-09-26 18:49:30 UTC (rev 174015)
+++ trunk/Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp	2014-09-26 18:51:18 UTC (rev 174016)
@@ -53,6 +53,12 @@
 WK_EXPORT void WKPreferencesSetMultithreadedWebGLEnabled(WKPreferencesRef, bool);
 WK_EXPORT bool WKPreferencesGetMultithreadedWebGLEnabled(WKPreferencesRef);
 
+WK_EXPORT bool WKInspectorIsDebuggingJavaScript(WKInspectorRef);
+WK_EXPORT void WKInspectorToggleJavaScriptDebugging(WKInspectorRef);
+
+WK_EXPORT bool WKInspectorIsProfilingJavaScript(WKInspectorRef);
+WK_EXPORT void WKInspectorToggleJavaScriptProfiling(WKInspectorRef);
+
 #if PLATFORM(MAC)
 WK_EXPORT CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext);
 #endif
@@ -100,6 +106,24 @@
     return false;
 }
 
+bool WKInspectorIsDebuggingJavaScript(WKInspectorRef)
+{
+    return false;
+}
+
+void WKInspectorToggleJavaScriptDebugging(WKInspectorRef)
+{
+}
+
+bool WKInspectorIsProfilingJavaScript(WKInspectorRef)
+{
+    return false;
+}
+
+void WKInspectorToggleJavaScriptProfiling(WKInspectorRef)
+{
+}
+
 #if PLATFORM(MAC)
 CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to