Diff
Modified: branches/safari-534.59-branch/Source/WebKit2/ChangeLog (144557 => 144558)
--- branches/safari-534.59-branch/Source/WebKit2/ChangeLog 2013-03-03 06:55:45 UTC (rev 144557)
+++ branches/safari-534.59-branch/Source/WebKit2/ChangeLog 2013-03-03 06:59:45 UTC (rev 144558)
@@ -1,5 +1,24 @@
2013-03-02 Brady Eidson <[email protected]>
+ Merge r142919
+
+ 2013-02-14 Anders Carlsson <[email protected]>
+
+ Add WKContextIsPlugInUpdateAvailable
+ https://bugs.webkit.org/show_bug.cgi?id=109862
+ <rdar://problem/13173140>
+
+ Reviewed by Sam Weinig.
+
+ * UIProcess/API/C/mac/WKContextPrivateMac.h:
+ * UIProcess/API/C/mac/WKContextPrivateMac.mm: Renamed from Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.cpp.
+ (WKContextGetProcessSuppressionEnabled):
+ (WKContextSetProcessSuppressionEnabled):
+ (WKContextIsPlugInUpdateAvailable):
+ * WebKit2.xcodeproj/project.pbxproj:
+
+2013-03-02 Brady Eidson <[email protected]>
+
Merge r142017
2013-02-06 Anders Carlsson <[email protected]>
Added: branches/safari-534.59-branch/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.h (0 => 144558)
--- branches/safari-534.59-branch/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.h (rev 0)
+++ branches/safari-534.59-branch/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.h 2013-03-03 06:59:45 UTC (rev 144558)
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef WKContextPrivateMac_h
+#define WKContextPrivateMac_h
+
+#include <WebKit2/WKBase.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+WK_EXPORT bool WKContextIsPlugInUpdateAvailable(WKContextRef context, WKStringRef plugInBundleIdentifier);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* WKContextPrivateMac_h */
Added: branches/safari-534.59-branch/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.mm (0 => 144558)
--- branches/safari-534.59-branch/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.mm (rev 0)
+++ branches/safari-534.59-branch/Source/WebKit2/UIProcess/API/C/mac/WKContextPrivateMac.mm 2013-03-03 06:59:45 UTC (rev 144558)
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "WKContextPrivateMac.h"
+
+#import "WKAPICast.h"
+#import "WKStringCF.h"
+#import "WebContext.h"
+#import <WebKitSystemInterface.h>
+#import <wtf/RetainPtr.h>
+
+using namespace WebKit;
+
+bool WKContextIsPlugInUpdateAvailable(WKContextRef context, WKStringRef plugInBundleIdentifier)
+{
+ return WKIsPluginUpdateAvailable((NSString *)adoptCF(WKStringCopyCFString(kCFAllocatorDefault, plugInBundleIdentifier)).get());
+}
Modified: branches/safari-534.59-branch/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (144557 => 144558)
--- branches/safari-534.59-branch/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2013-03-03 06:55:45 UTC (rev 144557)
+++ branches/safari-534.59-branch/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2013-03-03 06:59:45 UTC (rev 144558)
@@ -388,6 +388,8 @@
51D130561382EAC000351EDD /* SecItemResponseData.h in Headers */ = {isa = PBXBuildFile; fileRef = 51D130521382EAC000351EDD /* SecItemResponseData.h */; };
51D130581382F10500351EDD /* WebProcessProxyMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 51D130571382F10500351EDD /* WebProcessProxyMac.mm */; };
51EA7D0116E2EFAC00BA328A /* PluginModuleInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 51EA7D0016E2EFAC00BA328A /* PluginModuleInfo.h */; };
+ 51EA7D1116E32A2200BA328A /* WKContextPrivateMac.h in Headers */ = {isa = PBXBuildFile; fileRef = 51EA7D0F16E32A2200BA328A /* WKContextPrivateMac.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 51EA7D1216E32A2200BA328A /* WKContextPrivateMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 51EA7D1016E32A2200BA328A /* WKContextPrivateMac.mm */; };
5272B28A1406985D0096A5D0 /* StatisticsData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5272B2881406985D0096A5D0 /* StatisticsData.cpp */; };
5272B28B1406985D0096A5D0 /* StatisticsData.h in Headers */ = {isa = PBXBuildFile; fileRef = 5272B2891406985D0096A5D0 /* StatisticsData.h */; };
5DA6ED0A1490606900B41D12 /* DynamicLinkerEnvironmentExtractor.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DA6ED081490606900B41D12 /* DynamicLinkerEnvironmentExtractor.h */; };
@@ -1336,6 +1338,8 @@
51D130521382EAC000351EDD /* SecItemResponseData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SecItemResponseData.h; sourceTree = "<group>"; };
51D130571382F10500351EDD /* WebProcessProxyMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebProcessProxyMac.mm; sourceTree = "<group>"; };
51EA7D0016E2EFAC00BA328A /* PluginModuleInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PluginModuleInfo.h; sourceTree = "<group>"; };
+ 51EA7D0F16E32A2200BA328A /* WKContextPrivateMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WKContextPrivateMac.h; path = mac/WKContextPrivateMac.h; sourceTree = "<group>"; };
+ 51EA7D1016E32A2200BA328A /* WKContextPrivateMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WKContextPrivateMac.mm; path = mac/WKContextPrivateMac.mm; sourceTree = "<group>"; };
5272B2881406985D0096A5D0 /* StatisticsData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StatisticsData.cpp; sourceTree = "<group>"; };
5272B2891406985D0096A5D0 /* StatisticsData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StatisticsData.h; sourceTree = "<group>"; };
5DA6ED081490606900B41D12 /* DynamicLinkerEnvironmentExtractor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DynamicLinkerEnvironmentExtractor.h; sourceTree = "<group>"; };
@@ -2517,6 +2521,8 @@
6EE849C41368D9040038D481 /* mac */ = {
isa = PBXGroup;
children = (
+ 51EA7D0F16E32A2200BA328A /* WKContextPrivateMac.h */,
+ 51EA7D1016E32A2200BA328A /* WKContextPrivateMac.mm */,
6EE849C61368D92D0038D481 /* WKInspectorMac.h */,
BCE17B7B1381F1170012A641 /* WKPagePrivateMac.cpp */,
BCE17B7C1381F1170012A641 /* WKPagePrivateMac.h */,
@@ -3883,6 +3889,7 @@
5272B28B1406985D0096A5D0 /* StatisticsData.h in Headers */,
5DA6ED0A1490606900B41D12 /* DynamicLinkerEnvironmentExtractor.h in Headers */,
51EA7D0116E2EFAC00BA328A /* PluginModuleInfo.h in Headers */,
+ 51EA7D1116E32A2200BA328A /* WKContextPrivateMac.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -4559,6 +4566,7 @@
E199875E142C045400BB2DE7 /* BuiltInPDFView.cpp in Sources */,
5272B28A1406985D0096A5D0 /* StatisticsData.cpp in Sources */,
5DA6ED0B1490606900B41D12 /* DynamicLinkerEnvironmentExtractor.mm in Sources */,
+ 51EA7D1216E32A2200BA328A /* WKContextPrivateMac.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Modified: branches/safari-534.59-branch/WebKitLibraries/ChangeLog (144557 => 144558)
--- branches/safari-534.59-branch/WebKitLibraries/ChangeLog 2013-03-03 06:55:45 UTC (rev 144557)
+++ branches/safari-534.59-branch/WebKitLibraries/ChangeLog 2013-03-03 06:59:45 UTC (rev 144558)
@@ -1,3 +1,21 @@
+2013-03-02 Brady Eidson <[email protected]>
+
+ Merge r142919
+
+ 2013-02-14 Anders Carlsson <[email protected]>
+
+ Add WKContextIsPlugInUpdateAvailable
+ https://bugs.webkit.org/show_bug.cgi?id=109862
+ <rdar://problem/13173140>
+
+ Reviewed by Sam Weinig.
+
+ Roll WebKitSystemInterface DEPS.
+
+ * WebKitSystemInterface.h:
+ * libWebKitSystemInterfaceLion.a:
+ * libWebKitSystemInterfaceMountainLion.a:
+
2012-08-20 Andy Estes <[email protected]>
Merge r116695.
Modified: branches/safari-534.59-branch/WebKitLibraries/WebKitSystemInterface.h (144557 => 144558)
--- branches/safari-534.59-branch/WebKitLibraries/WebKitSystemInterface.h 2013-03-03 06:55:45 UTC (rev 144557)
+++ branches/safari-534.59-branch/WebKitLibraries/WebKitSystemInterface.h 2013-03-03 06:59:45 UTC (rev 144558)
@@ -88,6 +88,7 @@
void WKUnregisterUniqueIdForElement(id element);
BOOL WKShouldBlockPlugin(NSString *bundleIdentifier, NSString *bundleVersionString);
+BOOL WKIsPluginUpdateAvailable(NSString *bundleIdentifier);
#if !defined(BUILDING_ON_LEOPARD)
// Remote Accessibility API.