Remove app_shell chrome.shell API and ShellAppWindow
commit877e2ab661da959e844d0f0f1e71f815d32d8c77
authorjamescook <jamescook@chromium.org>
Mon, 15 Sep 2014 18:27:13 +0000 (15 11:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Sep 2014 18:31:44 +0000 (15 18:31 +0000)
tree5fc270aa7330836c0e8070f2c0a642cb973438d5
parente380f604301c5cdde7d0fad496a5d46c80233afc
Remove app_shell chrome.shell API and ShellAppWindow

The chrome.app.window API has been moved to src/extensions, so app_shell
no longer needs its custom chrome.shell API to open windows.

* Remove the API implementation -- mostly a manual revert of https://codereview.chromium.org/254473011/
* Remove app_shell_resources.grd since there are no more app_shell resources
* Remove athena's support for ShellAppWindow
* Fix example apps to remove the chrome.shell workaround.

No presubmit because it has a false-positive warning about the enum rename in extension_function_histogram_value.h

No try because no presubmit doesn't seem to work by itself.

BUG=413164
TEST=extensions_unittests, app_shell_unittests, app_shell_browsertests
TBR=isherman@chromium.org for deprecating an extension function histogram
NOPRESUBMIT=true
NOTRY=true

Review URL: https://codereview.chromium.org/571643003

Cr-Commit-Position: refs/heads/master@{#294852}
43 files changed:
athena/activity/public/activity_factory.h
athena/content/chrome/content_activity_factory.cc
athena/content/content_activity_factory.h
athena/content/shell/DEPS
athena/content/shell/content_activity_factory.cc
athena/content/shell/shell_app_activity.cc
athena/content/shell/shell_app_activity.h
athena/main/athena_main.cc
athena/test/sample_activity_factory.cc
athena/test/sample_activity_factory.h
chrome/common/extensions/docs/examples/apps/calculator/app/controller.js
extensions/BUILD.gn
extensions/browser/extension_function_histogram_value.h
extensions/extensions.gyp
extensions/shell/BUILD.gn [deleted file]
extensions/shell/DEPS
extensions/shell/app_shell.gyp
extensions/shell/app_shell_resources.grd [deleted file]
extensions/shell/app_shell_resources.gyp [deleted file]
extensions/shell/browser/api/api_registration.gyp [deleted file]
extensions/shell/browser/api/shell/shell_api.cc [deleted file]
extensions/shell/browser/api/shell/shell_api.h [deleted file]
extensions/shell/browser/desktop_controller.h
extensions/shell/browser/shell_app_window.cc [deleted file]
extensions/shell/browser/shell_app_window.h [deleted file]
extensions/shell/browser/shell_desktop_controller.cc
extensions/shell/browser/shell_desktop_controller.h
extensions/shell/browser/shell_extension_system.cc
extensions/shell/browser/shell_extensions_browser_client.cc
extensions/shell/common/api/_api_features.json [deleted file]
extensions/shell/common/api/api.gyp [deleted file]
extensions/shell/common/api/schemas.gypi [deleted file]
extensions/shell/common/api/shell.idl [deleted file]
extensions/shell/common/shell_extensions_client.cc
extensions/shell/renderer/shell_content_renderer_client.cc
extensions/shell/renderer/shell_custom_bindings.cc [deleted file]
extensions/shell/renderer/shell_custom_bindings.h [deleted file]
extensions/shell/renderer/shell_custom_bindings.js [deleted file]
extensions/shell/renderer/shell_dispatcher_delegate.cc [deleted file]
extensions/shell/renderer/shell_dispatcher_delegate.h [deleted file]
extensions/test/data/platform_app/background.js
tools/gritsettings/resource_ids
tools/metrics/histograms/histograms.xml