Vibration API : migrate to device/vibration using mojo.
commit8e29c14638adbc5121a1514d041d5287e1116ca2
authortimvolodine <timvolodine@chromium.org>
Sat, 6 Dec 2014 13:49:01 +0000 (6 05:49 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 6 Dec 2014 13:49:29 +0000 (6 13:49 +0000)
tree61264f62068238ec7ac70a72b18898c4b94862b2
parentef8183177b9be23c032c414d13f3bbb2a8bf3463
Vibration API : migrate to device/vibration using mojo.

Migrate Vibration API to use mojo. This patch does the following:
1. move Vibration API to device/vibration,
2. implement a vibration mojo service which is used from platform.
3. delete old filters and ipc messages.

BUG=437537

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

Cr-Commit-Position: refs/heads/master@{#307176}
36 files changed:
BUILD.gn
content/app/DEPS
content/app/android/library_loader_hooks.cc
content/browser/BUILD.gn
content/browser/DEPS
content/browser/android/browser_jni_registrar.cc
content/browser/renderer_host/render_process_host_impl.cc
content/browser/vibration/vibration_message_filter.cc [deleted file]
content/browser/vibration/vibration_message_filter.h [deleted file]
content/browser/vibration/vibration_provider_android.cc [deleted file]
content/browser/vibration/vibration_provider_android.h [deleted file]
content/common/view_messages.h
content/content.gyp
content/content_browser.gypi
content/content_jni.gypi
content/content_renderer.gypi
content/public/browser/content_browser_client.cc
content/public/browser/content_browser_client.h
content/public/browser/vibration_provider.h [deleted file]
content/renderer/BUILD.gn
content/renderer/DEPS
content/renderer/renderer_blink_platform_impl.cc
content/renderer/renderer_blink_platform_impl.h
device/vibration/BUILD.gn [new file with mode: 0644]
device/vibration/DEPS [new file with mode: 0644]
device/vibration/android/BUILD.gn [new file with mode: 0644]
device/vibration/android/java/src/org/chromium/device/vibration/VibrationProvider.java [moved from content/public/android/java/src/org/chromium/content/browser/VibrationProvider.java with 96% similarity]
device/vibration/android/vibration_jni_registrar.cc [new file with mode: 0644]
device/vibration/android/vibration_jni_registrar.h [new file with mode: 0644]
device/vibration/vibration.gyp [new file with mode: 0644]
device/vibration/vibration_export.h [new file with mode: 0644]
device/vibration/vibration_manager.mojom [new file with mode: 0644]
device/vibration/vibration_manager_impl.h [new file with mode: 0644]
device/vibration/vibration_manager_impl_android.cc [new file with mode: 0644]
device/vibration/vibration_manager_impl_android.h [new file with mode: 0644]
device/vibration/vibration_manager_impl_default.cc [new file with mode: 0644]