Changeset 174742 in webkit


Ignore:
Timestamp:
Oct 15, 2014 12:39:05 PM (9 years ago)
Author:
mitz@apple.com
Message:

[Cocoa] "Plug-in will handle load" error isn't declared in the modern API
https://bugs.webkit.org/show_bug.cgi?id=137747

Reviewed by Anders Carlsson.

  • UIProcess/API/Cocoa/WKError.mm: Define _WKLegacyErrorDomain.
  • UIProcess/API/Cocoa/WKErrorInternal.h: Changed to import WKErrorPrivate.h.
  • UIProcess/API/Cocoa/WKErrorPrivate.h: Added. Declares _WKLegacyErrorDomain

and _WKLegacyErrorPlugInWillHandleLoad.

  • WebKit2.xcodeproj/project.pbxproj: Added new private header.
Location:
trunk/Source/WebKit2
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r174739 r174742  
     12014-10-15  Dan Bernstein  <mitz@apple.com>
     2
     3        [Cocoa] "Plug-in will handle load" error isn't declared in the modern API
     4        https://bugs.webkit.org/show_bug.cgi?id=137747
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * UIProcess/API/Cocoa/WKError.mm: Define _WKLegacyErrorDomain.
     9        * UIProcess/API/Cocoa/WKErrorInternal.h: Changed to import WKErrorPrivate.h.
     10        * UIProcess/API/Cocoa/WKErrorPrivate.h: Added. Declares _WKLegacyErrorDomain
     11        and _WKLegacyErrorPlugInWillHandleLoad.
     12        * WebKit2.xcodeproj/project.pbxproj: Added new private header.
     13
    1142014-10-15  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKError.mm

    r169765 r174742  
    3434
    3535NSString * const WKErrorDomain = @"WKErrorDomain";
     36NSString * const _WKLegacyErrorDomain = @"WebKitErrorDomain";
    3637
    3738static NSString *localizedDescriptionForErrorCode(WKErrorCode errorCode)
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKErrorInternal.h

    r169765 r174742  
    2424 */
    2525
    26 #import "WKError.h"
     26#import "WKErrorPrivate.h"
    2727
    2828#if WK_API_ENABLED
  • trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj

    r174524 r174742  
    759759                37A64E5518F38E3C00EB30F1 /* _WKFormDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 37A64E5418F38E3C00EB30F1 /* _WKFormDelegate.h */; settings = {ATTRIBUTES = (Private, ); }; };
    760760                37A64E5718F38F4600EB30F1 /* _WKFormInputSession.h in Headers */ = {isa = PBXBuildFile; fileRef = 37A64E5618F38F4600EB30F1 /* _WKFormInputSession.h */; settings = {ATTRIBUTES = (Private, ); }; };
     761                37B5045219EEF31300CE2CF8 /* WKErrorPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 37B5045119EEF31300CE2CF8 /* WKErrorPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
    761762                37BEC4DD1948FC6A008B4286 /* WebCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AA1C79A100E7FC50078DEBC /* WebCore.framework */; };
    762763                37BEC4E019491486008B4286 /* CompletionHandlerCallChecker.mm in Sources */ = {isa = PBXBuildFile; fileRef = 37BEC4DE19491486008B4286 /* CompletionHandlerCallChecker.mm */; };
     
    27682769                37A64E5418F38E3C00EB30F1 /* _WKFormDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKFormDelegate.h; sourceTree = "<group>"; };
    27692770                37A64E5618F38F4600EB30F1 /* _WKFormInputSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKFormInputSession.h; sourceTree = "<group>"; };
     2771                37B5045119EEF31300CE2CF8 /* WKErrorPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKErrorPrivate.h; sourceTree = "<group>"; };
    27702772                37BEC4DE19491486008B4286 /* CompletionHandlerCallChecker.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CompletionHandlerCallChecker.mm; sourceTree = "<group>"; };
    27712773                37BEC4DF19491486008B4286 /* CompletionHandlerCallChecker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CompletionHandlerCallChecker.h; sourceTree = "<group>"; };
     
    50225024                                37C4C08818149F23003688B9 /* WKBackForwardListItemInternal.h */,
    50235025                                1AF4592D19464B2000F9D4A2 /* WKError.h */,
     5026                                37B5045119EEF31300CE2CF8 /* WKErrorPrivate.h */,
    50245027                                1AF4592C19464B2000F9D4A2 /* WKError.mm */,
    50255028                                1A2D252A194688FD004537B0 /* WKErrorInternal.h */,
     
    72847287                                1AEFCC1211D01F96008219D3 /* PluginInfoStore.h in Headers */,
    72857288                                1A3D610213A7CC2A00F95D4E /* PluginModuleInfo.h in Headers */,
     7289                                37B5045219EEF31300CE2CF8 /* WKErrorPrivate.h in Headers */,
    72867290                                1A043976124D034800FFBFB5 /* PluginProcess.h in Headers */,
    72877291                                1AC5FFC2174BFD1B0001483D /* PluginProcessAttributes.h in Headers */,
Note: See TracChangeset for help on using the changeset viewer.