⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 271607 in webkit


Ignore:
Timestamp:
Jan 19, 2021, 1:09:28 PM (6 years ago)
Author:
Keith Rollin
Message:

Modularize WebKitLegacy.framework
https://bugs.webkit.org/show_bug.cgi?id=220026
<rdar://57173237>

Reviewed by Darin Adler.

Add .modulemap files to WebKitLegacy to help speed up client builds.

Source/WebKit:

For MigrateHeadersFromWebKitLegacy.make, remove the newly-created
umbrella header files from WEBKIT_LEGACY_PRIVATE_HEADERS in order to
avoid some processing that the non-umbrella headers receive.

  • mac/MigrateHeadersFromWebKitLegacy.make:

Source/WebKitLegacy:

  • Modules/WebKitLegacy_iOS.private.modulemap: Added.
  • Modules/WebKitLegacy_macOS.private.modulemap: Added.
  • WebKitLegacy.xcodeproj/project.pbxproj:

Source/WebKitLegacy/ios:

For WebUIKitDelegate.h, ensure that ENABLE_ORIENTATION_EVENTS is
defined before checking its value, thereby avoiding a compiler
warning-turned-error that an uninitialized symbol is being used.

  • WebView/WebUIKitDelegate.h:

Source/WebKitLegacy/mac:

In WebKitLegacy.xcconfig, enable module creation for macOS and iOS.
Add the associated umbrella header files, and enable the validation of
the module files.

For WebHTMLViewPrivate.h, ensure that ENABLE_NETSCAPE_PLUGIN_API is
defined before checking its value, thereby avoiding a compiler
warning-turned-error that an uninitialized symbol is being used.

For WebBackForwardListPrivate.h, make the parameter name in a function
comment match the actual parameter name, thereby avoiding a
warning-turned-error from the tool that processes headers into built
modules.

  • Configurations/WebKitLegacy.xcconfig:
  • History/WebBackForwardListPrivate.h:
  • Misc/WebKitLegacy_Private.h: Added.
  • Misc/WebKitLegacy_iOS_Private.h: Added.
  • Misc/WebKitLegacy_macOS_Private.h: Copied from Source/WebKitLegacy/mac/History/WebBackForwardListPrivate.h.
  • WebView/WebHTMLViewPrivate.h:
Location:
trunk/Source
Files:
5 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r271601 r271607  
     12021-01-19  Keith Rollin  <krollin@apple.com>
     2
     3        Modularize WebKitLegacy.framework
     4        https://bugs.webkit.org/show_bug.cgi?id=220026
     5        <rdar://57173237>
     6
     7        Reviewed by Darin Adler.
     8
     9        Add .modulemap files to WebKitLegacy to help speed up client builds.
     10
     11        For MigrateHeadersFromWebKitLegacy.make, remove the newly-created
     12        umbrella header files from WEBKIT_LEGACY_PRIVATE_HEADERS in order to
     13        avoid some processing that the non-umbrella headers receive.
     14
     15        * mac/MigrateHeadersFromWebKitLegacy.make:
     16
    1172021-01-19  Chris Dumez  <cdumez@apple.com>
    218
  • trunk/Source/WebKit/mac/MigrateHeadersFromWebKitLegacy.make

    r260366 r271607  
    1 # Copyright (C) 2006, 2007, 2008, 2014 Apple Inc. All rights reserved.
     1# Copyright (C) 2006, 2007, 2008, 2014, 2021 Apple Inc. All rights reserved.
    22# Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
    33#
     
    204204WEBKIT_LEGACY_PUBLIC_HEADERS = $(addprefix $(PUBLIC_HEADERS_DIR)/, $(filter $(WEBKIT_PUBLIC_HEADERS), $(notdir $(wildcard $(WEBKIT_LEGACY_PRIVATE_HEADERS_DIR)/*.h))) WebKitLegacy.h)
    205205
    206 WEBKIT_LEGACY_PRIVATE_HEADERS = $(addprefix $(PRIVATE_HEADERS_DIR)/, $(filter-out $(WEBKIT_PUBLIC_HEADERS) $(RECENTLY_REMOVED_WEBKIT_LEGACY_PRIVATE_HEADERS) WebKit.h, $(notdir $(wildcard $(WEBKIT_LEGACY_PRIVATE_HEADERS_DIR)/*.h))))
     206WEBKIT_LEGACY_PRIVATE_HEADERS = $(addprefix $(PRIVATE_HEADERS_DIR)/, $(filter-out $(WEBKIT_PUBLIC_HEADERS) $(RECENTLY_REMOVED_WEBKIT_LEGACY_PRIVATE_HEADERS) WebKit.h WebKitLegacy_Private.h WebKitLegacy_iOS_Private.h WebKitLegacy_macOS_Private.h, $(notdir $(wildcard $(WEBKIT_LEGACY_PRIVATE_HEADERS_DIR)/*.h))))
    207207
    208208WEBKIT_LEGACY_HEADER_REPLACE_RULES = -e s/\<WebKitLegacy/\<WebKit/
     
    226226else
    227227
    228 WEBKIT_LEGACY_PRIVATE_HEADERS = $(addprefix $(PRIVATE_HEADERS_DIR)/, $(filter-out $(RECENTLY_REMOVED_WEBKIT_LEGACY_PRIVATE_HEADERS) WebKit.h, $(notdir $(wildcard $(WEBKIT_LEGACY_PRIVATE_HEADERS_DIR)/*.h))))
     228WEBKIT_LEGACY_PRIVATE_HEADERS = $(addprefix $(PRIVATE_HEADERS_DIR)/, $(filter-out $(RECENTLY_REMOVED_WEBKIT_LEGACY_PRIVATE_HEADERS) WebKit.h WebKitLegacy_Private.h WebKitLegacy_iOS_Private.h WebKitLegacy_macOS_Private.h, $(notdir $(wildcard $(WEBKIT_LEGACY_PRIVATE_HEADERS_DIR)/*.h))))
    229229
    230230all : $(WEBKIT_LEGACY_PRIVATE_HEADERS) $(PUBLIC_HEADERS_DIR)/WebKitLegacy.h
  • trunk/Source/WebKitLegacy/ChangeLog

    r270690 r271607  
     12021-01-19  Keith Rollin  <krollin@apple.com>
     2
     3        Modularize WebKitLegacy.framework
     4        https://bugs.webkit.org/show_bug.cgi?id=220026
     5        <rdar://57173237>
     6
     7        Reviewed by Darin Adler.
     8
     9        Add .modulemap files to WebKitLegacy to help speed up client builds.
     10
     11        * Modules/WebKitLegacy_iOS.private.modulemap: Added.
     12        * Modules/WebKitLegacy_macOS.private.modulemap: Added.
     13        * WebKitLegacy.xcodeproj/project.pbxproj:
     14
    1152020-12-11  Don Olmstead  <don.olmstead@sony.com>
    216
  • trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj

    r269380 r271607  
    162162                535E08CF225463B200DF00CA /* WebKitPluginHost.defs in Copy Mig Files into Private Framework Headers */ = {isa = PBXBuildFile; fileRef = 1AAF588D0EDCCEA3008D883D /* WebKitPluginHost.defs */; };
    163163                535E08D0225463B200DF00CA /* WebKitPluginHostTypes.defs in Copy Mig Files into Private Framework Headers */ = {isa = PBXBuildFile; fileRef = 1AAF588E0EDCCEA3008D883D /* WebKitPluginHostTypes.defs */; };
     164                5365AEDB2566345800704679 /* WebKitLegacy_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 5365AED92566345800704679 /* WebKitLegacy_Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
     165                536A202A258B196700E39054 /* WebKitLegacy_macOS_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 536A2028258B196700E39054 /* WebKitLegacy_macOS_Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
     166                536A202B258B196700E39054 /* WebKitLegacy_iOS_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 536A2029258B196700E39054 /* WebKitLegacy_iOS_Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
    164167                598AD91A1201CEC900ABAE4E /* WebDeviceOrientationClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 598AD9191201CEC900ABAE4E /* WebDeviceOrientationClient.h */; };
    165168                598AD91E1201CECF00ABAE4E /* WebDeviceOrientationClient.mm in Sources */ = {isa = PBXBuildFile; fileRef = 598AD91D1201CECF00ABAE4E /* WebDeviceOrientationClient.mm */; };
     
    917920                5241ADF30B1BC48A004012BD /* WebCache.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = WebCache.h; sourceTree = "<group>"; };
    918921                5241ADF40B1BC48A004012BD /* WebCache.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCache.mm; sourceTree = "<group>"; };
     922                5365AED92566345800704679 /* WebKitLegacy_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitLegacy_Private.h; sourceTree = "<group>"; };
     923                536A2028258B196700E39054 /* WebKitLegacy_macOS_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitLegacy_macOS_Private.h; sourceTree = "<group>"; };
     924                536A2029258B196700E39054 /* WebKitLegacy_iOS_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitLegacy_iOS_Private.h; sourceTree = "<group>"; };
     925                536A202C258B199500E39054 /* WebKitLegacy_iOS.private.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = WebKitLegacy_iOS.private.modulemap; sourceTree = "<group>"; };
     926                536A202D258B199600E39054 /* WebKitLegacy_macOS.private.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = WebKitLegacy_macOS.private.modulemap; sourceTree = "<group>"; };
    919927                598AD9191201CEC900ABAE4E /* WebDeviceOrientationClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebDeviceOrientationClient.h; sourceTree = "<group>"; };
    920928                598AD91D1201CECF00ABAE4E /* WebDeviceOrientationClient.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebDeviceOrientationClient.mm; sourceTree = "<group>"; };
     
    16381646                                089C1665FE841158C02AAC07 /* Resources */,
    16391647                                7C02320E251B8E3A00BA7BB6 /* Scripts */,
     1648                                534F75362578AAE8005BE7D8 /* Modules */,
    16401649                                0867D69AFE84028FC02AAC07 /* Frameworks and Libraries */,
    16411650                                034768DFFF38A50411DB9C8B /* Products */,
     
    17701779                                83730F9803FB1E660004736E /* WebKitErrors.m */,
    17711780                                84CA5F7E042685E800CA2ACA /* WebKitErrorsPrivate.h */,
     1781                                536A2029258B196700E39054 /* WebKitLegacy_iOS_Private.h */,
     1782                                536A2028258B196700E39054 /* WebKitLegacy_macOS_Private.h */,
     1783                                5365AED92566345800704679 /* WebKitLegacy_Private.h */,
    17721784                                93AEB17D032C1735008635CE /* WebKitLogging.h */,
    17731785                                93AEB17E032C1735008635CE /* WebKitLogging.m */,
     
    19111923                        );
    19121924                        name = PDF;
     1925                        sourceTree = "<group>";
     1926                };
     1927                534F75362578AAE8005BE7D8 /* Modules */ = {
     1928                        isa = PBXGroup;
     1929                        children = (
     1930                                536A202C258B199500E39054 /* WebKitLegacy_iOS.private.modulemap */,
     1931                                536A202D258B199600E39054 /* WebKitLegacy_macOS.private.modulemap */,
     1932                        );
     1933                        path = Modules;
    19131934                        sourceTree = "<group>";
    19141935                };
     
    30763097                                9398106D0824BF01008DF038 /* WebKitErrorsPrivate.h in Headers */,
    30773098                                CD8BFCE815531224005AFB25 /* WebKitFullScreenListener.h in Headers */,
     3099                                536A202B258B196700E39054 /* WebKitLegacy_iOS_Private.h in Headers */,
     3100                                536A202A258B196700E39054 /* WebKitLegacy_macOS_Private.h in Headers */,
     3101                                5365AEDB2566345800704679 /* WebKitLegacy_Private.h in Headers */,
    30783102                                9398101D0824BF01008DF038 /* WebKitLogging.h in Headers */,
    30793103                                9398101E0824BF01008DF038 /* WebKitNSStringExtras.h in Headers */,
  • trunk/Source/WebKitLegacy/ios/ChangeLog

    r271493 r271607  
     12021-01-19  Keith Rollin  <krollin@apple.com>
     2
     3        Modularize WebKitLegacy.framework
     4        https://bugs.webkit.org/show_bug.cgi?id=220026
     5        <rdar://57173237>
     6
     7        Reviewed by Darin Adler.
     8
     9        Add .modulemap files to WebKitLegacy to help speed up client builds.
     10
     11        For WebUIKitDelegate.h, ensure that ENABLE_ORIENTATION_EVENTS is
     12        defined before checking its value, thereby avoiding a compiler
     13        warning-turned-error that an uninitialized symbol is being used.
     14
     15        * WebView/WebUIKitDelegate.h:
     16
    1172021-01-14  Geoffrey Garen  <ggaren@apple.com>
    218
  • trunk/Source/WebKitLegacy/ios/WebView/WebUIKitDelegate.h

    r261966 r271607  
    11/*
    2  * Copyright (C) 2006 Apple Inc. All rights reserved.
     2 * Copyright (C) 2006, 2021 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    131131- (BOOL)shouldSuppressPasswordEcho;
    132132
    133 #if ENABLE_ORIENTATION_EVENTS
     133#if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
    134134- (int)deviceOrientation;
    135135#endif
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r271585 r271607  
     12021-01-19  Keith Rollin  <krollin@apple.com>
     2
     3        Modularize WebKitLegacy.framework
     4        https://bugs.webkit.org/show_bug.cgi?id=220026
     5        <rdar://57173237>
     6
     7        Reviewed by Darin Adler.
     8
     9        Add .modulemap files to WebKitLegacy to help speed up client builds.
     10
     11        In WebKitLegacy.xcconfig, enable module creation for macOS and iOS.
     12        Add the associated umbrella header files, and enable the validation of
     13        the module files.
     14
     15        For WebHTMLViewPrivate.h, ensure that ENABLE_NETSCAPE_PLUGIN_API is
     16        defined before checking its value, thereby avoiding a compiler
     17        warning-turned-error that an uninitialized symbol is being used.
     18
     19        For WebBackForwardListPrivate.h, make the parameter name in a function
     20        comment match the actual parameter name, thereby avoiding a
     21        warning-turned-error from the tool that processes headers into built
     22        modules.
     23
     24        * Configurations/WebKitLegacy.xcconfig:
     25        * History/WebBackForwardListPrivate.h:
     26        * Misc/WebKitLegacy_Private.h: Added.
     27        * Misc/WebKitLegacy_iOS_Private.h: Added.
     28        * Misc/WebKitLegacy_macOS_Private.h: Copied from Source/WebKitLegacy/mac/History/WebBackForwardListPrivate.h.
     29        * WebView/WebHTMLViewPrivate.h:
     30
    1312021-01-18  Nikolas Zimmermann  <nzimmermann@igalia.com>
    232
  • trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig

    r270651 r271607  
    1 // Copyright (C) 2009, 2010, 2014, 2019 Apple Inc. All rights reserved.
     1// Copyright (C) 2009, 2010, 2014, 2019, 2021 Apple Inc. All rights reserved.
    22//
    33// Redistribution and use in source and binary forms, with or without
     
    2727
    2828EXCLUDED_SOURCE_FILE_NAMES = $(EXCLUDED_SOURCE_FILE_NAMES_$(WK_COCOA_TOUCH));
    29 EXCLUDED_SOURCE_FILE_NAMES_cocoatouch = *.defs *.xib *.pdf *.tiff OutlookQuirksUserScript.js PopupMenuMac.* SearchPopupMenuMac.* WebClipView.* WebDashboardRegion.* WebDynamicScrollBarsView.* WebIconDatabase.* WebInspectorClient.* WebJavaScriptTextInputPanel.* WebNSEventExtras.* WebNSPasteboardExtras.* WebNSWindowExtras.* WebPanelAuthenticationHandler.* WebPluginsPrivate.* WebStringTruncator.* WebTextCompletionController.*;
    30 EXCLUDED_SOURCE_FILE_NAMES_ = *IOS.mm WebCaretChangeListener.h WebFixedPositionContent.h WebFrameIOS.h WebFrameIPhone.h WebGeolocationCoreLocationProvider.h WebGeolocationPrivate.h WebGeolocationProviderIOS.h WebMIMETypeRegistry.h WebNSStringExtrasIOS.h WebNSStringExtrasIPhone.h WebPDFViewIOS.h WebPDFViewIPhone.h WebPDFViewPlaceholder.h WebSelectionRect.h WebUIKitDelegate.h WebUIKitSupport.h WebVisiblePosition.h DOMHTMLTextAreaElementPrivate.h DOMUIKitExtensions.h LaBanquePostaleQuirks.js;
     29EXCLUDED_SOURCE_FILE_NAMES_cocoatouch = *.defs *.xib *.pdf *.tiff OutlookQuirksUserScript.js PopupMenuMac.* SearchPopupMenuMac.* WebClipView.* WebDashboardRegion.* WebDynamicScrollBarsView.* WebIconDatabase.* WebInspectorClient.* WebJavaScriptTextInputPanel.* WebNSEventExtras.* WebNSPasteboardExtras.* WebNSWindowExtras.* WebPanelAuthenticationHandler.* WebPluginsPrivate.* WebStringTruncator.* WebTextCompletionController.* WebKitLegacy_macOS_Private.h;
     30EXCLUDED_SOURCE_FILE_NAMES_ = *IOS.mm WebCaretChangeListener.h WebFixedPositionContent.h WebFrameIOS.h WebFrameIPhone.h WebGeolocationCoreLocationProvider.h WebGeolocationPrivate.h WebGeolocationProviderIOS.h WebMIMETypeRegistry.h WebNSStringExtrasIOS.h WebNSStringExtrasIPhone.h WebPDFViewIOS.h WebPDFViewIPhone.h WebPDFViewPlaceholder.h WebSelectionRect.h WebUIKitDelegate.h WebUIKitSupport.h WebVisiblePosition.h DOMHTMLTextAreaElementPrivate.h DOMUIKitExtensions.h LaBanquePostaleQuirks.js WebKitLegacy_iOS_Private.h;
    3131
    3232EXPORTED_SYMBOLS_FILE = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.generated.exp;
     
    155155SUPPORTS_TEXT_BASED_API[sdk=appletv*] = NO;
    156156SUPPORTS_TEXT_BASED_API[sdk=watch*] = NO;
    157 OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=gnu++1z -fno-rtti $(WK_CFLAGS_BUILD_FOR_TESTING_$(WK_BUILD_FOR_TESTING)) -DRELEASE_WITHOUT_OPTIMIZATIONS -exclude-private-header $(BUILT_PRODUCTS_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/NSURLDownloadSPI.h -extra-private-header $(SOURCE_ROOT)/mac/TestingFunctions.h;
     157OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=gnu++1z -fno-rtti $(WK_CFLAGS_BUILD_FOR_TESTING_$(WK_BUILD_FOR_TESTING)) -DRELEASE_WITHOUT_OPTIMIZATIONS -exclude-private-header $(BUILT_PRODUCTS_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/WebKitLegacy_iOS_Private.h -exclude-private-header $(BUILT_PRODUCTS_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/NSURLDownloadSPI.h -extra-private-header $(SOURCE_ROOT)/mac/TestingFunctions.h;
    158158TAPI_VERIFY_MODE[sdk=iphone*] = Pedantic;
     159
     160DEFINES_MODULE = YES;
     161CLANG_MODULES_ENABLE_VERIFIER_TOOL = YES;
     162MODULEMAP_PRIVATE_FILE = $(MODULEMAP_PRIVATE_FILE_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH));
     163MODULEMAP_PRIVATE_FILE_COCOA_TOUCH_YES = $(SRCROOT)/Modules/WebKitLegacy_iOS.private.modulemap;
     164MODULEMAP_PRIVATE_FILE_COCOA_TOUCH_NO = $(SRCROOT)/Modules/WebKitLegacy_macOS.private.modulemap;
  • trunk/Source/WebKitLegacy/mac/History/WebBackForwardListPrivate.h

    r168047 r271607  
    11/*
    2  * Copyright (C) 2005 Apple Inc.  All rights reserved.
     2 * Copyright (C) 2005, 2021 Apple Inc.  All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    3535    @method removeItem:
    3636    @abstract Removes an entry from the list.
    37     @param entry The entry to remove.  Cannot be the current item.
     37    @param item The entry to remove.  Cannot be the current item.
    3838*/   
    3939- (void)removeItem:(WebHistoryItem *)item;
  • trunk/Source/WebKitLegacy/mac/Misc/WebKitLegacy_macOS_Private.h

    r271606 r271607  
    11/*
    2  * Copyright (C) 2005 Apple Inc.  All rights reserved.
     2 * Copyright (C) 2021 Apple Inc.  All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    77 *
    88 * 1.  Redistributions of source code must retain the above copyright
    9  *     notice, this list of conditions and the following disclaimer. 
     9 *     notice, this list of conditions and the following disclaimer.
    1010 * 2.  Redistributions in binary form must reproduce the above copyright
    1111 *     notice, this list of conditions and the following disclaimer in the
    12  *     documentation and/or other materials provided with the distribution. 
     12 *     documentation and/or other materials provided with the distribution.
    1313 * 3.  Neither the name of Apple Inc. ("Apple") nor the names of
    1414 *     its contributors may be used to endorse or promote products derived
    15  *     from this software without specific prior written permission. 
     15 *     from this software without specific prior written permission.
    1616 *
    1717 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
     
    2727 */
    2828
    29 #import <Foundation/Foundation.h>
    30 #import <WebKitLegacy/WebBackForwardList.h>
     29#import <WebKitLegacy/WebKitLegacy_Private.h>
    3130
    32 @interface WebBackForwardList (WebBackForwardListPrivate)
     31// Include below only header files for macOS, and that can be included from
     32// both C and C++ source files. Non-macOS header files should be enumerated in
     33// WebKitLegacy_iOS_Private.h. Files that should only be included from C++
     34// source files should be enumerated in the special "cpp" section in
     35// WebKitLegacy_macOS.private.modulemap.
    3336
    34 /*!
    35     @method removeItem:
    36     @abstract Removes an entry from the list.
    37     @param entry The entry to remove.  Cannot be the current item.
    38 */   
    39 - (void)removeItem:(WebHistoryItem *)item;
    40 
    41 #if TARGET_OS_IPHONE
    42 // These methods are used by MobileSafari to save the back/forward state
    43 // to disk.
    44 - (NSDictionary *)dictionaryRepresentation;
    45 - (void)setToMatchDictionaryRepresentation:(NSDictionary *)dictionary;
    46 #endif
    47 
    48 @end
     37#import <WebKitLegacy/WebDashboardRegion.h>
     38#import <WebKitLegacy/WebDynamicScrollBarsView.h>
     39#import <WebKitLegacy/WebIconDatabase.h>
     40#import <WebKitLegacy/WebJavaScriptTextInputPanel.h>
     41#import <WebKitLegacy/WebNSEventExtras.h>
     42#import <WebKitLegacy/WebNSPasteboardExtras.h>
     43#import <WebKitLegacy/WebNSWindowExtras.h>
     44#import <WebKitLegacy/WebPanelAuthenticationHandler.h>
     45#import <WebKitLegacy/WebStringTruncator.h>
     46#import <WebKitLegacy/npapi.h>
     47#import <WebKitLegacy/npfunctions.h>
     48#import <WebKitLegacy/npruntime.h>
     49#import <WebKitLegacy/nptypes.h>
  • trunk/Source/WebKitLegacy/mac/WebView/WebHTMLViewPrivate.h

    r246429 r271607  
    11/*
    2  * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
     2 * Copyright (C) 2005, 2006, 2007, 2008, 2021 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    114114#endif
    115115
    116 #if ENABLE_NETSCAPE_PLUGIN_API
     116#if defined(ENABLE_NETSCAPE_PLUGIN_API) && ENABLE_NETSCAPE_PLUGIN_API
    117117- (void)_resumeNullEventsForAllNetscapePlugins;
    118118- (void)_pauseNullEventsForAllNetscapePlugins;
Note: See TracChangeset for help on using the changeset viewer.