android: Introduce a ui::PlatformWindow implementation for android.
commit1218a59ca7ab3df47de0a6103842d1415360e4a8
authorsadrul <sadrul@chromium.org>
Mon, 15 Jun 2015 08:12:30 +0000 (15 01:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Jun 2015 08:14:07 +0000 (15 08:14 +0000)
treecd8b2f8aa602d6f5eb67ae9abaadbd8300151e1a
parentf16226417c0d1da0baf9131d87312689b449fbae
android: Introduce a ui::PlatformWindow implementation for android.

This change introduces a ui::PlatformWindow implementation for android, and uses
that from view_manager. The implementation of PlatformWindowAndroid is copied over
from PlatformViewportAndroid. The various PlatformViewport implementations are
merged into a single PlatformViewportCommon implementation, that uses the common
ui::PlaformWindow abstraction for managing the windows.

BUG=487881

Committed: https://crrev.com/870d6cf7d409b5e7dae82c98bfaeaa5137a652d9
Cr-Commit-Position: refs/heads/master@{#334262}

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

Cr-Commit-Position: refs/heads/master@{#334359}
14 files changed:
components/view_manager/BUILD.gn
components/view_manager/native_viewport/BUILD.gn
components/view_manager/native_viewport/platform_viewport_android.cc [deleted file]
components/view_manager/native_viewport/platform_viewport_common.cc [moved from components/view_manager/native_viewport/platform_viewport_x11.cc with 88% similarity]
components/view_manager/native_viewport/platform_viewport_win.cc [deleted file]
mandoline/app/android/BUILD.gn
mojo/runner/BUILD.gn
mojo/runner/android/library_loader.cc
ui/platform_window/BUILD.gn
ui/platform_window/android/BUILD.gn [new file with mode: 0644]
ui/platform_window/android/DEPS [new file with mode: 0644]
ui/platform_window/android/java/src/org/chromium/ui/PlatformWindowAndroid.java [moved from components/view_manager/native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.java with 89% similarity]
ui/platform_window/android/platform_window_android.cc [new file with mode: 0644]
ui/platform_window/android/platform_window_android.h [moved from components/view_manager/native_viewport/platform_viewport_android.h with 61% similarity]