Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Issue 1180573004: android: Introduce a ui::PlatformWindow implementation for android. (Closed)

Created:
5 years, 6 months ago by sadrul
Modified:
5 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, Fady Samuel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://crrev.com/1218a59ca7ab3df47de0a6103842d1415360e4a8 Cr-Commit-Position: refs/heads/master@{#334359}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 5

Patch Set 5 : . #

Patch Set 6 : fix-win-gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -894 lines) Patch
M components/view_manager/BUILD.gn View 1 chunk +0 lines, -18 lines 0 comments Download
M components/view_manager/native_viewport/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -19 lines 0 comments Download
D components/view_manager/native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.java View 1 chunk +0 lines, -184 lines 0 comments Download
D components/view_manager/native_viewport/platform_viewport_android.h View 1 chunk +0 lines, -87 lines 0 comments Download
D components/view_manager/native_viewport/platform_viewport_android.cc View 1 chunk +0 lines, -217 lines 0 comments Download
A + components/view_manager/native_viewport/platform_viewport_common.cc View 1 2 3 4 5 7 chunks +21 lines, -6 lines 0 comments Download
D components/view_manager/native_viewport/platform_viewport_win.cc View 1 chunk +0 lines, -148 lines 0 comments Download
D components/view_manager/native_viewport/platform_viewport_x11.cc View 1 chunk +0 lines, -173 lines 0 comments Download
M mandoline/app/android/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/runner/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/runner/android/library_loader.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M ui/platform_window/BUILD.gn View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
A ui/platform_window/android/BUILD.gn View 1 chunk +42 lines, -0 lines 0 comments Download
A + ui/platform_window/android/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A + ui/platform_window/android/java/src/org/chromium/ui/PlatformWindowAndroid.java View 3 chunks +12 lines, -12 lines 0 comments Download
A + ui/platform_window/android/platform_window_android.h View 1 2 3 2 chunks +29 lines, -25 lines 0 comments Download
A ui/platform_window/android/platform_window_android.cc View 1 2 3 4 1 chunk +216 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
sadrul
https://codereview.chromium.org/1180573004/diff/60001/components/view_manager/native_viewport/platform_viewport_common.cc File components/view_manager/native_viewport/platform_viewport_common.cc (right): https://codereview.chromium.org/1180573004/diff/60001/components/view_manager/native_viewport/platform_viewport_common.cc#newcode69 components/view_manager/native_viewport/platform_viewport_common.cc:69: #endif It's a bit ugly, but since NativeViewport will ...
5 years, 6 months ago (2015-06-11 16:05:36 UTC) #2
Ben Goodger (Google)
https://codereview.chromium.org/1180573004/diff/60001/components/view_manager/native_viewport/BUILD.gn File components/view_manager/native_viewport/BUILD.gn (right): https://codereview.chromium.org/1180573004/diff/60001/components/view_manager/native_viewport/BUILD.gn#newcode42 components/view_manager/native_viewport/BUILD.gn:42: "//ui/platform_window/android", I'm wondering if it's possible for these deps ...
5 years, 6 months ago (2015-06-11 17:37:09 UTC) #3
sadrul
https://codereview.chromium.org/1180573004/diff/60001/components/view_manager/native_viewport/BUILD.gn File components/view_manager/native_viewport/BUILD.gn (right): https://codereview.chromium.org/1180573004/diff/60001/components/view_manager/native_viewport/BUILD.gn#newcode42 components/view_manager/native_viewport/BUILD.gn:42: "//ui/platform_window/android", On 2015/06/11 17:37:09, Ben Goodger (Google) wrote: > ...
5 years, 6 months ago (2015-06-11 21:09:54 UTC) #6
Ben Goodger (Google)
lgtm
5 years, 6 months ago (2015-06-12 17:50:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1180573004/120001
5 years, 6 months ago (2015-06-12 21:20:12 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 6 months ago (2015-06-12 22:37:57 UTC) #10
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/870d6cf7d409b5e7dae82c98bfaeaa5137a652d9 Cr-Commit-Position: refs/heads/master@{#334262}
5 years, 6 months ago (2015-06-12 22:38:51 UTC) #11
skobes
A revert of this CL (patchset #5 id:120001) has been created in https://codereview.chromium.org/1184913004/ by skobes@chromium.org. ...
5 years, 6 months ago (2015-06-12 23:39:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1180573004/160001
5 years, 6 months ago (2015-06-15 02:31:04 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:160001)
5 years, 6 months ago (2015-06-15 08:12:36 UTC) #17
commit-bot: I haz the power
5 years, 6 months ago (2015-06-15 08:14:35 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1218a59ca7ab3df47de0a6103842d1415360e4a8
Cr-Commit-Position: refs/heads/master@{#334359}

Powered by Google App Engine
This is Rietveld 408576698