Bug 27788

Summary: Don't export WebPluginController.h as a private header
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit Misc.Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, mrowe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch v1
none
Patch v2 mrowe: review+

David Kilzer (:ddkilzer)
Reported 2009-07-28 17:52:20 PDT
Created attachment 33684 [details] Patch v1 Reviewed by NOBODY (OOPS!). WebPluginContainerCheck.h must be a private header because it is included from WebPluginController.h, which is a private header. WebKit: * WebKit.xcodeproj/project.pbxproj: Export WebPluginContainerCheck.h as a private header. WebKit/mac: * Plugins/WebPluginController.h: Changed #import of WebPluginContainerCheck.h to use a framework-style path. --- 4 files changed, 26 insertions(+), 2 deletions(-)
Attachments
Patch v1 (3.32 KB, patch)
2009-07-28 17:52 PDT, David Kilzer (:ddkilzer)
no flags
Patch v2 (3.38 KB, patch)
2009-07-29 13:55 PDT, David Kilzer (:ddkilzer)
mrowe: review+
Mark Rowe (bdash)
Comment 1 2009-07-28 18:26:55 PDT
Is WebPluginController.h even used outside of WebKit? If not, a better fix would be to remove it from the private headers. Since the include in WebPluginController.h has been like this since April I'd would have expected that we would have noticed that this header wasn't usable as-is.
David Kilzer (:ddkilzer)
Comment 2 2009-07-28 18:41:34 PDT
(In reply to comment #1) > Is WebPluginController.h even used outside of WebKit? If not, a better fix > would be to remove it from the private headers. Since the include in > WebPluginController.h has been like this since April I'd would have expected > that we would have noticed that this header wasn't usable as-is. Yes, +[WebPluginController plugInViewWithArguments:fromPluginPackage:] is being used outside of WebKit on iPhone OS.
David Kilzer (:ddkilzer)
Comment 3 2009-07-28 19:05:18 PDT
(In reply to comment #1) > Is WebPluginController.h even used outside of WebKit? If not, a better fix > would be to remove it from the private headers. Since the include in > WebPluginController.h has been like this since April I'd would have expected > that we would have noticed that this header wasn't usable as-is. WebPluginController.h has been a private header since r9857 (July 21, 2005). http://trac.webkit.org/changeset/9857 However, I can't find any uses of it outside WebKit.
David Kilzer (:ddkilzer)
Comment 4 2009-07-28 19:09:15 PDT
(In reply to comment #3) > However, I can't find any uses of it outside WebKit. On Mac OS X.
David Kilzer (:ddkilzer)
Comment 5 2009-07-29 13:55:55 PDT
Created attachment 33740 [details] Patch v2
David Kilzer (:ddkilzer)
Comment 6 2009-07-29 17:10:02 PDT
Note You need to log in before you can comment on or make changes to this bug.