Title: [196823] trunk/Source/WebKit2
- Revision
- 196823
- Author
- ander...@apple.com
- Date
- 2016-02-19 10:06:32 -0800 (Fri, 19 Feb 2016)
Log Message
Purge as much as we can from WKDeprecatedFunctions.cpp
https://bugs.webkit.org/show_bug.cgi?id=154459
Reviewed by Sam Weinig.
* Shared/API/c/WKDeprecatedFunctions.cpp:
(WKArrayIsMutable): Deleted.
(WKPageSetVisibilityState): Deleted.
(WKDictionaryIsMutable): Deleted.
(WKDictionaryAddItem): Deleted.
(WKDictionaryRemoveItem): Deleted.
(WKPreferencesSetRegionBasedColumnsEnabled): Deleted.
(WKPreferencesGetRegionBasedColumnsEnabled): Deleted.
(WKPreferencesSetMultithreadedWebGLEnabled): Deleted.
(WKPreferencesGetMultithreadedWebGLEnabled): Deleted.
(WKPreferencesSetScreenFontSubstitutionEnabled): Deleted.
(WKPreferencesGetScreenFontSubstitutionEnabled): Deleted.
(WKInspectorIsDebuggingJavaScript): Deleted.
(WKInspectorToggleJavaScriptDebugging): Deleted.
(WKInspectorIsProfilingJavaScript): Deleted.
(WKInspectorToggleJavaScriptProfiling): Deleted.
(WKContextGetProcessModel): Deleted.
(WKGraphicsContextGetCGContext): Deleted.
(WKContextGetProcessSuppressionEnabled): Deleted.
(WKContextSetProcessSuppressionEnabled): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (196822 => 196823)
--- trunk/Source/WebKit2/ChangeLog 2016-02-19 18:05:55 UTC (rev 196822)
+++ trunk/Source/WebKit2/ChangeLog 2016-02-19 18:06:32 UTC (rev 196823)
@@ -1,3 +1,31 @@
+2016-02-19 Anders Carlsson <ander...@apple.com>
+
+ Purge as much as we can from WKDeprecatedFunctions.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=154459
+
+ Reviewed by Sam Weinig.
+
+ * Shared/API/c/WKDeprecatedFunctions.cpp:
+ (WKArrayIsMutable): Deleted.
+ (WKPageSetVisibilityState): Deleted.
+ (WKDictionaryIsMutable): Deleted.
+ (WKDictionaryAddItem): Deleted.
+ (WKDictionaryRemoveItem): Deleted.
+ (WKPreferencesSetRegionBasedColumnsEnabled): Deleted.
+ (WKPreferencesGetRegionBasedColumnsEnabled): Deleted.
+ (WKPreferencesSetMultithreadedWebGLEnabled): Deleted.
+ (WKPreferencesGetMultithreadedWebGLEnabled): Deleted.
+ (WKPreferencesSetScreenFontSubstitutionEnabled): Deleted.
+ (WKPreferencesGetScreenFontSubstitutionEnabled): Deleted.
+ (WKInspectorIsDebuggingJavaScript): Deleted.
+ (WKInspectorToggleJavaScriptDebugging): Deleted.
+ (WKInspectorIsProfilingJavaScript): Deleted.
+ (WKInspectorToggleJavaScriptProfiling): Deleted.
+ (WKContextGetProcessModel): Deleted.
+ (WKGraphicsContextGetCGContext): Deleted.
+ (WKContextGetProcessSuppressionEnabled): Deleted.
+ (WKContextSetProcessSuppressionEnabled): Deleted.
+
2016-02-19 Brady Eidson <beid...@apple.com>
Add "databaseProcessDidCrash" to the WKContextClient; Adopt it in WKTR.
Modified: trunk/Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp (196822 => 196823)
--- trunk/Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp 2016-02-19 18:05:55 UTC (rev 196822)
+++ trunk/Source/WebKit2/Shared/API/c/WKDeprecatedFunctions.cpp 2016-02-19 18:06:32 UTC (rev 196823)
@@ -40,101 +40,6 @@
using namespace WebKit;
-extern "C" {
-WK_EXPORT bool WKArrayIsMutable(WKArrayRef array);
-
-WK_EXPORT void WKPageSetVisibilityState(WKPageRef, WKPageVisibilityState, bool);
-
-WK_EXPORT bool WKDictionaryIsMutable(WKDictionaryRef dictionary);
-WK_EXPORT bool WKDictionaryAddItem(WKMutableDictionaryRef dictionary, WKStringRef key, WKTypeRef item);
-WK_EXPORT void WKDictionaryRemoveItem(WKMutableDictionaryRef dictionary, WKStringRef key);
-
-WK_EXPORT void WKPreferencesSetRegionBasedColumnsEnabled(WKPreferencesRef, bool flag);
-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
-}
-
-bool WKArrayIsMutable(WKArrayRef)
-{
- return false;
-}
-
-void WKPageSetVisibilityState(WKPageRef, WKPageVisibilityState, bool)
-{
-}
-
-bool WKDictionaryIsMutable(WKDictionaryRef)
-{
- return true;
-}
-
-bool WKDictionaryAddItem(WKMutableDictionaryRef dictionaryRef, WKStringRef keyRef, WKTypeRef itemRef)
-{
- return toImpl(dictionaryRef)->add(toImpl(keyRef)->string(), toImpl(itemRef));
-}
-
-void WKDictionaryRemoveItem(WKMutableDictionaryRef dictionaryRef, WKStringRef keyRef)
-{
- toImpl(dictionaryRef)->remove(toImpl(keyRef)->string());
-}
-
-void WKPreferencesSetRegionBasedColumnsEnabled(WKPreferencesRef, bool)
-{
-}
-
-bool WKPreferencesGetRegionBasedColumnsEnabled(WKPreferencesRef)
-{
- return true;
-}
-
-void WKPreferencesSetMultithreadedWebGLEnabled(WKPreferencesRef, bool)
-{
-}
-
-bool WKPreferencesGetMultithreadedWebGLEnabled(WKPreferencesRef)
-{
- return false;
-}
-
-void WKPreferencesSetScreenFontSubstitutionEnabled(WKPreferencesRef, bool)
-{
-}
-
-bool WKPreferencesGetScreenFontSubstitutionEnabled(WKPreferencesRef)
-{
- return false;
-}
-
-bool WKInspectorIsDebuggingJavaScript(WKInspectorRef)
-{
- return false;
-}
-
-void WKInspectorToggleJavaScriptDebugging(WKInspectorRef)
-{
-}
-
-bool WKInspectorIsProfilingJavaScript(WKInspectorRef)
-{
- return false;
-}
-
-void WKInspectorToggleJavaScriptProfiling(WKInspectorRef)
-{
-}
-
void WKContextSetUsesNetworkProcess(WKContextRef, bool)
{
}
@@ -142,24 +47,3 @@
void WKContextSetProcessModel(WKContextRef, WKProcessModel)
{
}
-
-WKProcessModel WKContextGetProcessModel(WKContextRef)
-{
- return kWKProcessModelMultipleSecondaryProcesses;
-}
-
-#if PLATFORM(MAC)
-CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext)
-{
- return nullptr;
-}
-
-bool WKContextGetProcessSuppressionEnabled(WKContextRef)
-{
- return true;
-}
-
-void WKContextSetProcessSuppressionEnabled(WKContextRef, bool)
-{
-}
-#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes