Add WKInspector back function stubs that went missing from r173929.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Sep 2014 18:51:18 +0000 (18:51 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Sep 2014 18:51:18 +0000 (18:51 +0000)
My changes to WKDeprecatedFunctions.cpp got lost in the shuffle.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174016 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp

index bb4521d..fba0a78 100644 (file)
@@ -1,3 +1,14 @@
+2014-09-26  Timothy Hatcher  <timothy@apple.com>
+
+        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  <cgarcia@igalia.com>
 
         REGRESSION(r173929): Web inspector doesn't work after r173929 when INSPECTOR_SERVER is enabled
index e7d8e70..af027af 100644 (file)
@@ -53,6 +53,12 @@ WK_EXPORT bool WKPreferencesGetRegionBasedColumnsEnabled(WKPreferencesRef);
 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 @@ bool WKPreferencesGetMultithreadedWebGLEnabled(WKPreferencesRef)
     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)
 {