• seokju@webkit.org's avatar
    Web Inspector: Remove unused overriding protocols. · cb8504d4
    seokju@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=126630
    
    Reviewed by Timothy Hatcher.
    
    Source/WebCore:
    
    No new tests, No change in behavior.
    
    Remove unused overriding protocols as these are not used anymore in Frontned.
    -Page.setGeolocationOverride
    -Page.clearGeolocationOverride
    -Page.canOverrideGeolocation
    -Page.setDeviceOrientationOverride
    -Page.clearDeviceOrientationOverride
    -Page.canOverrideGeolocation
    -Network.setUserAgentOverride
    
    * Modules/geolocation/GeolocationController.cpp:
    (WebCore::GeolocationController::GeolocationController):
    (WebCore::GeolocationController::create):
    (WebCore::GeolocationController::positionChanged):
    (WebCore::provideGeolocationTo):
    * Modules/geolocation/GeolocationController.h:
    * dom/DeviceOrientationController.cpp:
    (WebCore::DeviceOrientationController::DeviceOrientationController):
    (WebCore::DeviceOrientationController::create):
    (WebCore::DeviceOrientationController::didChangeDeviceOrientation):
    (WebCore::provideDeviceOrientationTo):
    * dom/DeviceOrientationController.h:
    * inspector/InspectorInstrumentation.cpp:
    * inspector/InspectorInstrumentation.h:
    * inspector/InspectorPageAgent.cpp:
    (WebCore::InspectorPageAgent::InspectorPageAgent):
    * inspector/InspectorPageAgent.h:
    * inspector/InspectorResourceAgent.cpp:
    (WebCore::InspectorResourceAgent::disable):
    * inspector/InspectorResourceAgent.h:
    * inspector/protocol/Network.json:
    * inspector/protocol/Page.json:
    * loader/FrameLoader.cpp:
    (WebCore::FrameLoader::userAgent):
    
    Source/WebInspectorUI:
    
    Update InspectorWebBackendCommands.js after removing unused overriding protocols.
    
    * UserInterface/InspectorWebBackendCommands.js:
    * UserInterface/Legacy/6.0/InspectorWebBackendCommands.js:
    * UserInterface/Legacy/7.0/InspectorWebBackendCommands.js:
    * Versions/Inspector-iOS-6.0.json:
    * Versions/Inspector-iOS-7.0.json:
    
    LayoutTests:
    
    * http/tests/inspector/extensions-useragent-expected.txt: Removed.
    * http/tests/inspector/extensions-useragent.html: Removed.
    * inspector/device-orientation-success-expected.txt: Removed.
    * inspector/device-orientation-success.html: Removed.
    * inspector/geolocation-error-expected.txt: Removed.
    * inspector/geolocation-error.html: Removed.
    * inspector/geolocation-success-expected.txt: Removed.
    * inspector/geolocation-success.html: Removed.
    * inspector/geolocation-watchPosition-expected.txt: Removed.
    * inspector/geolocation-watchPosition.html: Removed.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cb8504d4
Name
Last commit
Last update
..
audits Loading commit data...
console Loading commit data...
debugger Loading commit data...
editor Loading commit data...
elements Loading commit data...
extensions Loading commit data...
profiler Loading commit data...
runtime Loading commit data...
styles Loading commit data...
timeline Loading commit data...
cookie-parser-expected.txt Loading commit data...
cookie-parser.html Loading commit data...
cookie-resource-match-expected.txt Loading commit data...
cookie-resource-match.html Loading commit data...
curl-command-expected.txt Loading commit data...
curl-command.html Loading commit data...
database-table-name-excaping-expected.txt Loading commit data...
database-table-name-excaping.html Loading commit data...
datagrid-autosize-expected.txt Loading commit data...
datagrid-autosize.html Loading commit data...
dom-statistics-expected.txt Loading commit data...
dom-statistics.html-disabled Loading commit data...
evaluate-in-page-expected.txt Loading commit data...
evaluate-in-page.html Loading commit data...
file-mapping-expected.txt Loading commit data...
file-mapping.html Loading commit data...
file-system-mapping-expected.txt Loading commit data...
file-system-mapping.html Loading commit data...
file-system-project-expected.txt Loading commit data...
file-system-project.html Loading commit data...
filtered-item-selection-dialog-filtering-expected.txt Loading commit data...
filtered-item-selection-dialog-filtering.html Loading commit data...
inspected-objects-not-overriden-expected.txt Loading commit data...
inspected-objects-not-overriden.html Loading commit data...
inspector-backend-commands-generation-expected.txt Loading commit data...
inspector-backend-commands-generation.html Loading commit data...
load-resource-synchronously-utf8-expected.txt Loading commit data...
load-resource-synchronously-utf8.html Loading commit data...
map-expected.txt Loading commit data...
map.html Loading commit data...
network-status-non-http-expected.txt Loading commit data...
network-status-non-http.html Loading commit data...
progress-bar-expected.txt Loading commit data...
progress-bar.html Loading commit data...
remote-object-expected.txt Loading commit data...
remote-object.html Loading commit data...
report-API-errors-expected.txt Loading commit data...
report-API-errors.html Loading commit data...
report-protocol-errors-expected.txt Loading commit data...
report-protocol-errors.html Loading commit data...
script-execution-state-change-notification-expected.txt Loading commit data...
script-execution-state-change-notification.html Loading commit data...
snippet-storage-expected.txt Loading commit data...
snippet-storage.html Loading commit data...
storage-panel-dom-storage-empty-expected.txt Loading commit data...
storage-panel-dom-storage-empty.html Loading commit data...
storage-panel-dom-storage-expected.txt Loading commit data...
storage-panel-dom-storage-update-expected.txt Loading commit data...
storage-panel-dom-storage-update.html Loading commit data...
storage-panel-dom-storage.html Loading commit data...
syntax-highlight-css-expected.txt Loading commit data...
syntax-highlight-css.html Loading commit data...
syntax-highlight-html-expected.txt Loading commit data...
syntax-highlight-html.html Loading commit data...
syntax-highlight-javascript-expected.txt Loading commit data...
syntax-highlight-javascript.html Loading commit data...
syntax-highlight.js Loading commit data...
tabbed-editors-history-expected.txt Loading commit data...
tabbed-editors-history.html Loading commit data...
tabbed-pane-max-tab-width-calculation-expected.txt Loading commit data...
tabbed-pane-max-tab-width-calculation.html Loading commit data...
tabbed-pane-tabs-to-show-expected.txt Loading commit data...
tabbed-pane-tabs-to-show.html Loading commit data...
timeline-dfs-expected.txt Loading commit data...
timeline-dfs.html Loading commit data...
uisourcecode-revisions-expected.txt Loading commit data...
uisourcecode-revisions.html Loading commit data...
user-metrics-expected.txt Loading commit data...
user-metrics.html Loading commit data...
utilities-expected.txt Loading commit data...
utilities-highlight-results-expected.txt Loading commit data...
utilities-highlight-results.html Loading commit data...
utilities.html Loading commit data...
version-controller-expected.txt Loading commit data...
version-controller.html Loading commit data...
view-css-expected.txt Loading commit data...
view-css.html Loading commit data...
view-events-expected.txt Loading commit data...
view-events.html Loading commit data...
workspace-mapping-expected.txt Loading commit data...
workspace-mapping.html Loading commit data...