Changeset 167488 in webkit


Ignore:
Timestamp:
Apr 18, 2014 5:34:03 AM (10 years ago)
Author:
Philippe Normand
Message:

Remove NETWORK_INFO support
https://bugs.webkit.org/show_bug.cgi?id=131841

.:
Reviewed by Gyuyoung Kim.

  • Source/cmake/OptionsEfl.cmake:
  • Source/cmake/OptionsGTK.cmake:
  • Source/cmake/WebKitFeatures.cmake:
  • Source/cmakeconfig.h.cmake:

Source/WebCore:
Reviewed by Gyuyoung Kim.

  • CMakeLists.txt:
  • Modules/networkinfo/NavigatorNetworkInfoConnection.cpp: Removed.
  • Modules/networkinfo/NavigatorNetworkInfoConnection.h: Removed.
  • Modules/networkinfo/NavigatorNetworkInfoConnection.idl: Removed.
  • Modules/networkinfo/NetworkInfo.cpp: Removed.
  • Modules/networkinfo/NetworkInfo.h: Removed.
  • Modules/networkinfo/NetworkInfoClient.h: Removed.
  • Modules/networkinfo/NetworkInfoConnection.cpp: Removed.
  • Modules/networkinfo/NetworkInfoConnection.h: Removed.
  • Modules/networkinfo/NetworkInfoConnection.idl: Removed.
  • Modules/networkinfo/NetworkInfoController.cpp: Removed.
  • Modules/networkinfo/NetworkInfoController.h: Removed.
  • PlatformEfl.cmake:
  • dom/EventTargetFactory.in:
  • platform/efl/NetworkInfoProviderEfl.cpp: Removed.
  • platform/efl/NetworkInfoProviderEfl.h: Removed.
  • testing/Internals.cpp:

(WebCore::Internals::setNetworkInformation): Deleted.

  • testing/Internals.h:
  • testing/Internals.idl:

Source/WebKit:
Reviewed by NOBODY (OOPS!).

  • PlatformEfl.cmake:

Source/WebKit/efl:
Reviewed by Gyuyoung Kim.

  • WebCoreSupport/NetworkInfoClientEfl.cpp: Removed.
  • WebCoreSupport/NetworkInfoClientEfl.h: Removed.
  • ewk/ewk_view.cpp:

(_ewk_view_priv_new):

Source/WebKit2:
Reviewed by Gyuyoung Kim.

  • CMakeLists.txt:
  • PlatformEfl.cmake:
  • Shared/API/c/WKBase.h:
  • Shared/APIObject.h:
  • Shared/WebNetworkInfo.cpp: Removed.
  • Shared/WebNetworkInfo.h: Removed.
  • UIProcess/API/C/WKAPICast.h:
  • UIProcess/API/C/WKContext.cpp:

(WKContextGetNetworkInfoManager): Deleted.

  • UIProcess/API/C/WKContext.h:
  • UIProcess/API/C/WKNetworkInfo.cpp: Removed.
  • UIProcess/API/C/WKNetworkInfo.h: Removed.
  • UIProcess/API/C/WKNetworkInfoManager.cpp: Removed.
  • UIProcess/API/C/WKNetworkInfoManager.h: Removed.
  • UIProcess/API/efl/ewk_context.cpp:

(EwkContext::EwkContext):

  • UIProcess/API/efl/ewk_context_private.h:
  • UIProcess/WebContext.cpp:

(WebKit::WebContext::WebContext):

  • UIProcess/WebContext.h:
  • UIProcess/WebNetworkInfoManagerProxy.cpp: Removed.
  • UIProcess/WebNetworkInfoManagerProxy.h: Removed.
  • UIProcess/WebNetworkInfoManagerProxy.messages.in: Removed.
  • UIProcess/WebNetworkInfoProvider.cpp: Removed.
  • UIProcess/WebNetworkInfoProvider.h: Removed.
  • UIProcess/efl/NetworkInfoProvider.cpp: Removed.
  • UIProcess/efl/NetworkInfoProvider.h: Removed.
  • WebProcess/NetworkInfo/WebNetworkInfoManager.cpp: Removed.
  • WebProcess/NetworkInfo/WebNetworkInfoManager.h: Removed.
  • WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in: Removed.
  • WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp: Removed.
  • WebProcess/WebCoreSupport/WebNetworkInfoClient.h: Removed.
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage):

  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::WebProcess):

Source/WTF:
Reviewed by Gyuyoung Kim.

  • wtf/FeatureDefines.h:

Tools:
Reviewed by Gyuyoung Kim.

  • Scripts/webkitperl/FeatureList.pm:

LayoutTests:
Reviewed by Gyuyoung Kim.

  • networkinformation/add-listener-from-callback-expected.txt: Removed.
  • networkinformation/add-listener-from-callback.html: Removed.
  • networkinformation/basic-all-types-of-events-expected.txt: Removed.
  • networkinformation/basic-all-types-of-events.html: Removed.
  • networkinformation/basic-operation-expected.txt: Removed.
  • networkinformation/basic-operation.html: Removed.
  • networkinformation/event-after-navigation-expected.txt: Removed.
  • networkinformation/event-after-navigation.html: Removed.
  • networkinformation/multiple-frames-expected.txt: Removed.
  • networkinformation/multiple-frames.html: Removed.
  • networkinformation/resources/event-after-navigation-new.html: Removed.
  • networkinformation/script-tests/add-listener-from-callback.js: Removed.
  • networkinformation/script-tests/basic-all-types-of-events.js: Removed.
  • networkinformation/script-tests/basic-operation.js: Removed.
  • networkinformation/script-tests/event-after-navigation.js: Removed.
  • networkinformation/script-tests/multiple-frames.js: Removed.
  • networkinformation/script-tests/updates.js: Removed.
  • networkinformation/script-tests/window-property.js: Removed.
  • networkinformation/updates-expected.txt: Removed.
  • networkinformation/updates.html: Removed.
  • networkinformation/window-property-expected.txt: Removed.
  • networkinformation/window-property.html: Removed.
Location:
trunk
Files:
55 deleted
42 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r167436 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * Source/cmake/OptionsEfl.cmake:
     9        * Source/cmake/OptionsGTK.cmake:
     10        * Source/cmake/WebKitFeatures.cmake:
     11        * Source/cmakeconfig.h.cmake:
     12
    1132014-04-17  Darin Adler  <darin@apple.com>
    214
  • trunk/LayoutTests/ChangeLog

    r167483 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * networkinformation/add-listener-from-callback-expected.txt: Removed.
     9        * networkinformation/add-listener-from-callback.html: Removed.
     10        * networkinformation/basic-all-types-of-events-expected.txt: Removed.
     11        * networkinformation/basic-all-types-of-events.html: Removed.
     12        * networkinformation/basic-operation-expected.txt: Removed.
     13        * networkinformation/basic-operation.html: Removed.
     14        * networkinformation/event-after-navigation-expected.txt: Removed.
     15        * networkinformation/event-after-navigation.html: Removed.
     16        * networkinformation/multiple-frames-expected.txt: Removed.
     17        * networkinformation/multiple-frames.html: Removed.
     18        * networkinformation/resources/event-after-navigation-new.html: Removed.
     19        * networkinformation/script-tests/add-listener-from-callback.js: Removed.
     20        * networkinformation/script-tests/basic-all-types-of-events.js: Removed.
     21        * networkinformation/script-tests/basic-operation.js: Removed.
     22        * networkinformation/script-tests/event-after-navigation.js: Removed.
     23        * networkinformation/script-tests/multiple-frames.js: Removed.
     24        * networkinformation/script-tests/updates.js: Removed.
     25        * networkinformation/script-tests/window-property.js: Removed.
     26        * networkinformation/updates-expected.txt: Removed.
     27        * networkinformation/updates.html: Removed.
     28        * networkinformation/window-property-expected.txt: Removed.
     29        * networkinformation/window-property.html: Removed.
     30
    1312014-04-17  Commit Queue  <commit-queue@webkit.org>
    232
  • trunk/LayoutTests/platform/efl-wk2/TestExpectations

    r167471 r167488  
    5050webkit.org/b/102200 fast/dom/HTMLAnchorElement/anchor-download.html [ Crash Failure ]
    5151webkit.org/b/102200 fast/dom/HTMLAnchorElement/anchor-nodownload-set.html [ Crash Failure ]
    52 
    53 # Hitting !decoder.destinationID() assertion.
    54 webkit.org/b/102651 [ Debug ] networkinformation/multiple-frames.html [ Crash ]
    55 webkit.org/b/102651 [ Debug ] networkinformation/basic-all-types-of-events.html [ Crash ]
    56 webkit.org/b/102651 [ Debug ] networkinformation/updates.html [ Crash ]
    57 webkit.org/b/102651 [ Debug ] networkinformation/add-listener-from-callback.html [ Crash ]
    58 webkit.org/b/102651 [ Debug ] networkinformation/basic-operation.html [ Crash ]
    5952
    6053# WebGL test cases crashing in WebCore::GraphicsContext3D::readPixels().
  • trunk/LayoutTests/platform/efl/TestExpectations

    r167470 r167488  
    18131813webkit.org/b/128670 fast/forms/form-hides-table.html [ Failure ]
    18141814webkit.org/b/128670 js/dom/dom-static-property-for-in-iteration.html [ Failure ]
    1815 webkit.org/b/128670 networkinformation/window-property.html [ Failure ]
    18161815
    18171816webkit.org/b/128901 accessibility/list-detection.html [ Failure ]
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r167438 r167488  
    283283webkit.org/b/95582 batterystatus [ Failure ]
    284284webkit.org/b/95582 batterystatus/event-after-navigation.html [ Timeout ]
    285 
    286 # Network Information API support not yet.
    287 webkit.org/b/99052 networkinformation [ Skip ]
    288285
    289286# Touch adjustment not enabled
  • trunk/LayoutTests/platform/ios-sim/Skipped

    r167372 r167488  
    11381138# batterystatus not supported on iOS
    11391139batterystatus/
    1140 
    1141 # networkinformation not supported on iOS
    1142 networkinformation/
    11431140
    11441141# gamepad not supported on iOS
  • trunk/LayoutTests/platform/mac/TestExpectations

    r167367 r167488  
    436436webkit.org/b/62698 batterystatus/
    437437
    438 #Network Information is not supported yet.
    439 webkit.org/b/73528 networkinformation
    440 
    441438# Proximity Events is not supported.
    442439proximity
  • trunk/LayoutTests/platform/win/TestExpectations

    r167366 r167488  
    14841484# Needs BatteryClient implementation.
    14851485webkit.org/b/62698 batterystatus/
    1486 
    1487 #Network Information is not supported yet.
    1488 webkit.org/b/73528 networkinformation
    14891486
    14901487# Proximity Events is not supported.
  • trunk/LayoutTests/platform/wincairo/TestExpectations

    r167366 r167488  
    22512251ietestcenter/css3/valuesandunits/units-000.htm
    22522252
    2253 # Network Information is not supported yet.
    2254 networkinformation
    2255 
    22562253# Asserts/crashes in PluginView::didFinishLoading
    22572254fast/loader/reload-zero-byte-plugin.html
  • trunk/Source/WTF/ChangeLog

    r167453 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * wtf/FeatureDefines.h:
     9
    1102014-04-17  Filip Pizlo  <fpizlo@apple.com>
    211
  • trunk/Source/WTF/wtf/FeatureDefines.h

    r167427 r167488  
    619619#endif
    620620
    621 #if !defined(ENABLE_NETWORK_INFO)
    622 #define ENABLE_NETWORK_INFO 0
    623 #endif
    624 
    625621#if !defined(ENABLE_NOTIFICATIONS)
    626622#define ENABLE_NOTIFICATIONS 0
  • trunk/Source/WebCore/CMakeLists.txt

    r167335 r167488  
    1212    "${WEBCORE_DIR}/Modules/mediastream"
    1313    "${WEBCORE_DIR}/Modules/navigatorcontentutils"
    14     "${WEBCORE_DIR}/Modules/networkinfo"
    1514    "${WEBCORE_DIR}/Modules/notifications"
    1615    "${WEBCORE_DIR}/Modules/plugins"
     
    135134    Modules/indieui
    136135    Modules/mediastream
    137     Modules/networkinfo
    138136    Modules/notifications
    139137    Modules/proximity
     
    241239
    242240    Modules/navigatorcontentutils/NavigatorContentUtils.idl
    243 
    244     Modules/networkinfo/NavigatorNetworkInfoConnection.idl
    245     Modules/networkinfo/NetworkInfoConnection.idl
    246241
    247242    Modules/notifications/DOMWindowNotifications.idl
     
    877872
    878873    Modules/navigatorcontentutils/NavigatorContentUtils.cpp
    879 
    880     Modules/networkinfo/NavigatorNetworkInfoConnection.cpp
    881     Modules/networkinfo/NetworkInfo.cpp
    882     Modules/networkinfo/NetworkInfoConnection.cpp
    883     Modules/networkinfo/NetworkInfoController.cpp
    884874
    885875    Modules/notifications/DOMWindowNotifications.cpp
  • trunk/Source/WebCore/ChangeLog

    r167483 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * CMakeLists.txt:
     9        * Modules/networkinfo/NavigatorNetworkInfoConnection.cpp: Removed.
     10        * Modules/networkinfo/NavigatorNetworkInfoConnection.h: Removed.
     11        * Modules/networkinfo/NavigatorNetworkInfoConnection.idl: Removed.
     12        * Modules/networkinfo/NetworkInfo.cpp: Removed.
     13        * Modules/networkinfo/NetworkInfo.h: Removed.
     14        * Modules/networkinfo/NetworkInfoClient.h: Removed.
     15        * Modules/networkinfo/NetworkInfoConnection.cpp: Removed.
     16        * Modules/networkinfo/NetworkInfoConnection.h: Removed.
     17        * Modules/networkinfo/NetworkInfoConnection.idl: Removed.
     18        * Modules/networkinfo/NetworkInfoController.cpp: Removed.
     19        * Modules/networkinfo/NetworkInfoController.h: Removed.
     20        * PlatformEfl.cmake:
     21        * dom/EventTargetFactory.in:
     22        * platform/efl/NetworkInfoProviderEfl.cpp: Removed.
     23        * platform/efl/NetworkInfoProviderEfl.h: Removed.
     24        * testing/Internals.cpp:
     25        (WebCore::Internals::setNetworkInformation): Deleted.
     26        * testing/Internals.h:
     27        * testing/Internals.idl:
     28
    1292014-04-17  Commit Queue  <commit-queue@webkit.org>
    230
  • trunk/Source/WebCore/PlatformEfl.cmake

    r167016 r167488  
    7878    platform/efl/LoggingEfl.cpp
    7979    platform/efl/MIMETypeRegistryEfl.cpp
    80     platform/efl/NetworkInfoProviderEfl.cpp
    8180    platform/efl/PasteboardEfl.cpp
    8281    platform/efl/PlatformKeyboardEventEfl.cpp
  • trunk/Source/WebCore/dom/EventTargetFactory.in

    r163440 r167488  
    2121MediaStreamTrack conditional=MEDIA_STREAM
    2222MessagePort
    23 NetworkInfoConnection conditional=NETWORK_INFO
    2423Node
    2524Notification conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS
  • trunk/Source/WebCore/testing/Internals.cpp

    r167401 r167488  
    114114#endif
    115115
    116 #if ENABLE(NETWORK_INFO)
    117 #include "NetworkInfo.h"
    118 #include "NetworkInfoController.h"
    119 #endif
    120 
    121116#if ENABLE(PROXIMITY_EVENTS)
    122117#include "DeviceProximityController.h"
     
    12581253    UNUSED_PARAM(dischargingTime);
    12591254    UNUSED_PARAM(level);
    1260 #endif
    1261 }
    1262 
    1263 void Internals::setNetworkInformation(const String& eventType, double bandwidth, bool metered, ExceptionCode& ec)
    1264 {
    1265     Document* document = contextDocument();
    1266     if (!document || !document->page()) {
    1267         ec = INVALID_ACCESS_ERR;
    1268         return;
    1269     }
    1270 
    1271 #if ENABLE(NETWORK_INFO)
    1272     NetworkInfoController::from(document->page())->didChangeNetworkInformation(eventType, NetworkInfo::create(bandwidth, metered));
    1273 #else
    1274     UNUSED_PARAM(eventType);
    1275     UNUSED_PARAM(bandwidth);
    1276     UNUSED_PARAM(metered);
    12771255#endif
    12781256}
  • trunk/Source/WebCore/testing/Internals.h

    r167401 r167488  
    198198    void setBatteryStatus(const String& eventType, bool charging, double chargingTime, double dischargingTime, double level, ExceptionCode&);
    199199
    200     void setNetworkInformation(const String& eventType, double bandwidth, bool metered, ExceptionCode&);
    201 
    202200    void setDeviceProximity(const String& eventType, double value, double min, double max, ExceptionCode&);
    203201
  • trunk/Source/WebCore/testing/Internals.idl

    r167401 r167488  
    177177#endif
    178178
    179 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO
    180     [RaisesException] void setNetworkInformation(DOMString eventType, double bandwidth, boolean metered);
    181 #endif
    182 
    183179#if defined(ENABLE_PROXIMITY_EVENTS) && ENABLE_PROXIMITY_EVENTS
    184180    [RaisesException] void setDeviceProximity(DOMString eventType, double value, double min, double max);
  • trunk/Source/WebKit/ChangeLog

    r167443 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * PlatformEfl.cmake:
     9
    1102014-04-17  Brent Fulgham  <bfulgham@apple.com>
    211
  • trunk/Source/WebKit/PlatformEfl.cmake

    r167428 r167488  
    108108    efl/WebCoreSupport/InspectorClientEfl.cpp
    109109    efl/WebCoreSupport/NavigatorContentUtilsClientEfl.cpp
    110     efl/WebCoreSupport/NetworkInfoClientEfl.cpp
    111110    efl/WebCoreSupport/NotificationPresenterClientEfl.cpp
    112111    efl/WebCoreSupport/PlatformStrategiesEfl.cpp
  • trunk/Source/WebKit/efl/ChangeLog

    r167475 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * WebCoreSupport/NetworkInfoClientEfl.cpp: Removed.
     9        * WebCoreSupport/NetworkInfoClientEfl.h: Removed.
     10        * ewk/ewk_view.cpp:
     11        (_ewk_view_priv_new):
     12
    1132014-04-17  Jeongeun Kim  <je_julie.kim@samsung.com>
    214
  • trunk/Source/WebKit/efl/ewk/ewk_view.cpp

    r167428 r167488  
    109109#endif
    110110
    111 #if ENABLE(NETWORK_INFO)
    112 #include "NetworkInfoClientEfl.h"
    113 #endif
    114 
    115111#if ENABLE(INPUT_TYPE_COLOR)
    116112#include "ColorChooserClient.h"
     
    620616#endif
    621617
    622 #if ENABLE(NETWORK_INFO)
    623     WebCore::provideNetworkInfoTo(priv->page.get(), new WebCore::NetworkInfoClientEfl);
    624 #endif
    625 
    626618#if ENABLE(VIBRATION)
    627619    WebCore::provideVibrationTo(priv->page.get(), new WebCore::VibrationClientEfl(smartData->self));
  • trunk/Source/WebKit2/CMakeLists.txt

    r167398 r167488  
    4242    "${WEBKIT2_DIR}/WebProcess/FullScreen"
    4343    "${WEBKIT2_DIR}/WebProcess/Geolocation"
    44     "${WEBKIT2_DIR}/WebProcess/NetworkInfo"
    4544    "${WEBKIT2_DIR}/WebProcess/IconDatabase"
    4645    "${WEBKIT2_DIR}/WebProcess/InjectedBundle"
     
    227226    Shared/WebMemorySampler.cpp
    228227    Shared/WebMouseEvent.cpp
    229     Shared/WebNetworkInfo.cpp
    230228    Shared/WebOpenPanelParameters.cpp
    231229    Shared/WebPageCreationParameters.cpp
     
    333331    UIProcess/WebKeyValueStorageManager.cpp
    334332    UIProcess/WebMediaCacheManagerProxy.cpp
    335     UIProcess/WebNetworkInfoManagerProxy.cpp
    336     UIProcess/WebNetworkInfoProvider.cpp
    337333    UIProcess/WebOpenPanelResultListenerProxy.cpp
    338334    UIProcess/WebOriginDataManagerProxy.cpp
     
    375371    UIProcess/API/C/WKMediaCacheManager.cpp
    376372    UIProcess/API/C/WKNavigationDataRef.cpp
    377     UIProcess/API/C/WKNetworkInfo.cpp
    378     UIProcess/API/C/WKNetworkInfoManager.cpp
    379373    UIProcess/API/C/WKNotification.cpp
    380374    UIProcess/API/C/WKNotificationManager.cpp
     
    487481    WebProcess/Network/WebResourceLoader.cpp
    488482
    489     WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
    490 
    491483    WebProcess/Notifications/NotificationPermissionRequestManager.cpp
    492484    WebProcess/Notifications/WebNotificationManager.cpp
     
    528520    WebProcess/WebCoreSupport/WebInspectorClient.cpp
    529521    WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
    530     WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
    531522    WebProcess/WebCoreSupport/WebNotificationClient.cpp
    532523    WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
     
    588579    UIProcess/WebInspectorProxy.messages.in
    589580    UIProcess/WebMediaCacheManagerProxy.messages.in
    590     UIProcess/WebNetworkInfoManagerProxy.messages.in
    591581    UIProcess/WebOriginDataManagerProxy.messages.in
    592582    UIProcess/WebPageProxy.messages.in
     
    623613    WebProcess/Network/NetworkProcessConnection.messages.in
    624614    WebProcess/Network/WebResourceLoader.messages.in
    625 
    626     WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
    627615
    628616    WebProcess/Notifications/WebNotificationManager.messages.in
  • trunk/Source/WebKit2/ChangeLog

    r167481 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * CMakeLists.txt:
     9        * PlatformEfl.cmake:
     10        * Shared/API/c/WKBase.h:
     11        * Shared/APIObject.h:
     12        * Shared/WebNetworkInfo.cpp: Removed.
     13        * Shared/WebNetworkInfo.h: Removed.
     14        * UIProcess/API/C/WKAPICast.h:
     15        * UIProcess/API/C/WKContext.cpp:
     16        (WKContextGetNetworkInfoManager): Deleted.
     17        * UIProcess/API/C/WKContext.h:
     18        * UIProcess/API/C/WKNetworkInfo.cpp: Removed.
     19        * UIProcess/API/C/WKNetworkInfo.h: Removed.
     20        * UIProcess/API/C/WKNetworkInfoManager.cpp: Removed.
     21        * UIProcess/API/C/WKNetworkInfoManager.h: Removed.
     22        * UIProcess/API/efl/ewk_context.cpp:
     23        (EwkContext::EwkContext):
     24        * UIProcess/API/efl/ewk_context_private.h:
     25        * UIProcess/WebContext.cpp:
     26        (WebKit::WebContext::WebContext):
     27        * UIProcess/WebContext.h:
     28        * UIProcess/WebNetworkInfoManagerProxy.cpp: Removed.
     29        * UIProcess/WebNetworkInfoManagerProxy.h: Removed.
     30        * UIProcess/WebNetworkInfoManagerProxy.messages.in: Removed.
     31        * UIProcess/WebNetworkInfoProvider.cpp: Removed.
     32        * UIProcess/WebNetworkInfoProvider.h: Removed.
     33        * UIProcess/efl/NetworkInfoProvider.cpp: Removed.
     34        * UIProcess/efl/NetworkInfoProvider.h: Removed.
     35        * WebProcess/NetworkInfo/WebNetworkInfoManager.cpp: Removed.
     36        * WebProcess/NetworkInfo/WebNetworkInfoManager.h: Removed.
     37        * WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in: Removed.
     38        * WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp: Removed.
     39        * WebProcess/WebCoreSupport/WebNetworkInfoClient.h: Removed.
     40        * WebProcess/WebPage/WebPage.cpp:
     41        (WebKit::WebPage::WebPage):
     42        * WebProcess/WebProcess.cpp:
     43        (WebKit::WebProcess::WebProcess):
     44
    1452014-04-17  Daniel Bates  <dabates@apple.com>
    246
  • trunk/Source/WebKit2/PlatformEfl.cmake

    r167398 r167488  
    141141    UIProcess/efl/FormClientEfl.cpp
    142142    UIProcess/efl/InputMethodContextEfl.cpp
    143     UIProcess/efl/NetworkInfoProvider.cpp
    144143    UIProcess/efl/PageLoadClientEfl.cpp
    145144    UIProcess/efl/PagePolicyClientEfl.cpp
  • trunk/Source/WebKit2/Shared/API/c/WKBase.h

    r161542 r167488  
    112112typedef const struct OpaqueWKMediaCacheManager* WKMediaCacheManagerRef;
    113113typedef const struct OpaqueWKNavigationData* WKNavigationDataRef;
    114 typedef const struct OpaqueWKNetworkInfoManager* WKNetworkInfoManagerRef;
    115 typedef const struct OpaqueWKNetworkInfo* WKNetworkInfoRef;
    116114typedef const struct OpaqueWKNotification* WKNotificationRef;
    117115typedef const struct OpaqueWKNotificationManager* WKNotificationManagerRef;
  • trunk/Source/WebKit2/Shared/APIObject.h

    r163886 r167488  
    119119        MediaCacheManager,
    120120        NavigationData,
    121         NetworkInfo,
    122         NetworkInfoManager,
    123121        Notification,
    124122        NotificationManager,
  • trunk/Source/WebKit2/UIProcess/API/C/WKAPICast.h

    r166025 r167488  
    8484class WebKeyValueStorageManager;
    8585class WebMediaCacheManagerProxy;
    86 class WebNetworkInfoManagerProxy;
    87 class WebNetworkInfo;
    8886class WebNotification;
    8987class WebNotificationProvider;
     
    130128WK_ADD_API_MAPPING(WKMediaCacheManagerRef, WebMediaCacheManagerProxy)
    131129WK_ADD_API_MAPPING(WKNavigationDataRef, API::NavigationData)
    132 WK_ADD_API_MAPPING(WKNetworkInfoManagerRef, WebNetworkInfoManagerProxy)
    133 WK_ADD_API_MAPPING(WKNetworkInfoRef, WebNetworkInfo)
    134130WK_ADD_API_MAPPING(WKNotificationManagerRef, WebNotificationManagerProxy)
    135131WK_ADD_API_MAPPING(WKNotificationPermissionRequestRef, NotificationPermissionRequest)
  • trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp

    r166186 r167488  
    5454#include "WebBatteryManagerProxy.h"
    5555#endif
    56 #if ENABLE(NETWORK_INFO)
    57 #include "WebNetworkInfoManagerProxy.h"
    58 #endif
    5956
    6057namespace API {
     
    410407}
    411408
    412 WKNetworkInfoManagerRef WKContextGetNetworkInfoManager(WKContextRef contextRef)
    413 {
    414 #if ENABLE(NETWORK_INFO)
    415     return toAPI(toImpl(contextRef)->supplement<WebNetworkInfoManagerProxy>());
    416 #else
    417     UNUSED_PARAM(contextRef);
    418     return 0;
    419 #endif
    420 }
    421 
    422409WKIconDatabaseRef WKContextGetIconDatabase(WKContextRef contextRef)
    423410{
  • trunk/Source/WebKit2/UIProcess/API/C/WKContext.h

    r163999 r167488  
    137137WK_EXPORT WKKeyValueStorageManagerRef WKContextGetKeyValueStorageManager(WKContextRef context);
    138138WK_EXPORT WKMediaCacheManagerRef WKContextGetMediaCacheManager(WKContextRef context);
    139 WK_EXPORT WKNetworkInfoManagerRef WKContextGetNetworkInfoManager(WKContextRef context);
    140139WK_EXPORT WKNotificationManagerRef WKContextGetNotificationManager(WKContextRef context);
    141140WK_EXPORT WKPluginSiteDataManagerRef WKContextGetPluginSiteDataManager(WKContextRef context);
  • trunk/Source/WebKit2/UIProcess/API/efl/ewk_context.cpp

    r167062 r167488  
    2525#include "ContextHistoryClientEfl.h"
    2626#include "DownloadManagerEfl.h"
    27 #include "NetworkInfoProvider.h"
    2827#include "RequestManagerClientEfl.h"
    2928#include "WKAPICast.h"
     
    7271    , m_batteryProvider(BatteryProvider::create(context))
    7372#endif
    74 #if ENABLE(NETWORK_INFO)
    75     , m_networkInfoProvider(NetworkInfoProvider::create(context))
    76 #endif
    7773    , m_downloadManager(std::make_unique<DownloadManagerEfl>(context))
    7874    , m_requestManagerClient(std::make_unique<RequestManagerClientEfl>(context))
  • trunk/Source/WebKit2/UIProcess/API/efl/ewk_context_private.h

    r166497 r167488  
    4141#if ENABLE(BATTERY_STATUS)
    4242class BatteryProvider;
    43 #endif
    44 #if ENABLE(NETWORK_INFO)
    45 class NetworkInfoProvider;
    4643#endif
    4744}
     
    118115    RefPtr<WebKit::BatteryProvider> m_batteryProvider;
    119116#endif
    120 #if ENABLE(NETWORK_INFO)
    121     RefPtr<WebKit::NetworkInfoProvider> m_networkInfoProvider;
    122 #endif
    123117    std::unique_ptr<WebKit::DownloadManagerEfl> m_downloadManager;
    124118    std::unique_ptr<WebKit::RequestManagerClientEfl> m_requestManagerClient;
  • trunk/Source/WebKit2/UIProcess/WebContext.cpp

    r166096 r167488  
    7575#endif
    7676
    77 #if ENABLE(NETWORK_INFO)
    78 #include "WebNetworkInfoManagerProxy.h"
    79 #endif
    80 
    8177#if ENABLE(DATABASE_PROCESS)
    8278#include "DatabaseProcessCreationParameters.h"
     
    193189    addSupplement<WebBatteryManagerProxy>();
    194190#endif
    195 #if ENABLE(NETWORK_INFO)
    196     addSupplement<WebNetworkInfoManagerProxy>();
    197 #endif
    198191
    199192    contexts().append(this);
  • trunk/Source/WebKit2/UIProcess/WebContext.h

    r166441 r167488  
    8585typedef GenericCallback<ImmutableDictionary*> DictionaryCallback;
    8686
    87 #if ENABLE(NETWORK_INFO)
    88 class WebNetworkInfoManagerProxy;
    89 #endif
    9087#if ENABLE(NETWORK_PROCESS)
    9188struct NetworkProcessCreationParameters;
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r167481 r167488  
    163163#endif
    164164
    165 #if ENABLE(NETWORK_INFO)
    166 #include "WebNetworkInfoClient.h"
    167 #endif
    168 
    169165#if ENABLE(VIBRATION)
    170166#include "WebVibrationClient.h"
     
    357353#if ENABLE(GEOLOCATION)
    358354    WebCore::provideGeolocationTo(m_page.get(), new WebGeolocationClient(this));
    359 #endif
    360 #if ENABLE(NETWORK_INFO)
    361     WebCore::provideNetworkInfoTo(m_page.get(), new WebNetworkInfoClient(this));
    362355#endif
    363356#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
  • trunk/Source/WebKit2/WebProcess/WebProcess.cpp

    r166258 r167488  
    8989#include <wtf/text/StringHash.h>
    9090
    91 #if ENABLE(NETWORK_INFO)
    92 #include "WebNetworkInfoManager.h"
    93 #include "WebNetworkInfoManagerMessages.h"
    94 #endif
    95 
    9691#if ENABLE(NETWORK_PROCESS)
    9792#if PLATFORM(COCOA)
     
    199194#if ENABLE(BATTERY_STATUS)
    200195    addSupplement<WebBatteryManager>();
    201 #endif
    202 #if ENABLE(NETWORK_INFO)
    203     addSupplement<WebNetworkInfoManager>();
    204196#endif
    205197#if USE(SOUP) && !ENABLE(CUSTOM_PROTOCOLS)
  • trunk/Source/cmake/OptionsEfl.cmake

    r167436 r167488  
    8282WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NAVIGATOR_CONTENT_UTILS ON)
    8383WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETSCAPE_PLUGIN_API ON)
    84 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_INFO ON)
    8584WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_PROCESS ON)
    8685WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NOSNIFF ON)
  • trunk/Source/cmake/OptionsGTK.cmake

    r167436 r167488  
    5353WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NAVIGATOR_CONTENT_UTILS OFF)
    5454WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETSCAPE_PLUGIN_API ON)
    55 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_INFO ON)
    5655WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PAGE_VISIBILITY_API ON)
    5756WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_QUOTA OFF)
  • trunk/Source/cmake/WebKitFeatures.cmake

    r166301 r167488  
    9191    WEBKIT_OPTION_DEFINE(ENABLE_NOSNIFF "Toggle support for 'X-Content-Type-Options: nosniff'" OFF)
    9292    WEBKIT_OPTION_DEFINE(ENABLE_NETSCAPE_PLUGIN_API "Toggle Netscape Plugin support" ON)
    93     WEBKIT_OPTION_DEFINE(ENABLE_NETWORK_INFO "Toggle Network Information API support" OFF)
    9493    WEBKIT_OPTION_DEFINE(ENABLE_NETWORK_PROCESS "Toggle dedicated network process support in WebKit2" OFF)
    9594    WEBKIT_OPTION_DEFINE(ENABLE_NOTIFICATIONS "Toggle Desktop Notifications Support" OFF)
  • trunk/Source/cmakeconfig.h.cmake

    r167436 r167488  
    8585#cmakedefine01 ENABLE_NOSNIFF
    8686#cmakedefine01 ENABLE_NETSCAPE_PLUGIN_API
    87 #cmakedefine01 ENABLE_NETWORK_INFO
    8887#cmakedefine01 ENABLE_NETWORK_PROCESS
    8988#cmakedefine01 ENABLE_NOTIFICATIONS
  • trunk/Tools/ChangeLog

    r167482 r167488  
     12014-04-18  Philippe Normand  <pnormand@igalia.com>
     2
     3        Remove NETWORK_INFO support
     4        https://bugs.webkit.org/show_bug.cgi?id=131841
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * Scripts/webkitperl/FeatureList.pm:
     9
    1102014-04-17  ChangSeok Oh  <changseok.oh@collabora.com>
    211
  • trunk/Tools/Scripts/webkitperl/FeatureList.pm

    r166851 r167488  
    345345      define => "ENABLE_NETSCAPE_PLUGIN_API", default => !isIOSWebKit(), value => \$netscapePluginAPISupport },
    346346
    347     { option => "network-info", desc => "Toggle Network Info support",
    348       define => "ENABLE_NETWORK_INFO", default => isEfl(), value => \$networkInfoSupport },
    349 
    350347    { option => "nosniff", desc => "Toggle support for 'X-Content-Type-Options: nosniff'",
    351348      define => "ENABLE_NOSNIFF", default => 0, value => \$nosniffSupport },
Note: See TracChangeset for help on using the changeset viewer.