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

Issue 2431753002: Mus experiment in content shell on Android.

Created:
4 years, 2 months ago by Jay Civelli
Modified:
3 years, 10 months ago
CC:
chromium-reviews, rjkroege, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, Peter Beverloo, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, agrieve+watch_chromium.org, piman+watch_chromium.org, darin (slow to review), jochen+watch_chromium.org, tonikitoo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Making the Mus demo work on the Android content shell: - adding a button behind a flag in the content shell on Android to start the Mus demo. - bringing up the UI and other required services in the Android content shell. - fixing the PlatformWindowAndroid so when created it takes over the activity it was configured with. BUG=657027

Patch Set 1 #

Patch Set 2 : Clean-up. #

Patch Set 3 : Synced #

Patch Set 4 : Fixed gn check #

Total comments: 10

Patch Set 5 : Addressed comments, fixed browser tests and deps. #

Total comments: 14

Patch Set 6 : Now with less code #

Patch Set 7 : Simpler #

Patch Set 8 : Synced #

Patch Set 9 : Clean-up #

Patch Set 10 : checkdeps fix #

Total comments: 1

Patch Set 11 : Sync and more gn check fixes #

Patch Set 12 : Bot fixes. #

Patch Set 13 : Fix mac bot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -24 lines) Patch
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/public/app/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -1 line 0 comments Download
M content/shell/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/android/java/res/layout/shell_view.xml View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/android/java/src/org/chromium/content_shell/Shell.java View 4 chunks +15 lines, -0 lines 0 comments Download
M content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java View 2 chunks +3 lines, -0 lines 0 comments Download
M content/shell/browser/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M content/shell/browser/shell_android.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +19 lines, -0 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 3 chunks +42 lines, -0 lines 0 comments Download
M content/shell/common/shell_switches.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/shell/common/shell_switches.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M services/ui/public/cpp/BUILD.gn View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M services/ui/public/cpp/gles2_context.cc View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M services/ui/surfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/surfaces/surfaces_context_provider.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -1 line 0 comments Download
M ui/platform_window/android/java/src/org/chromium/ui/PlatformWindowAndroid.java View 1 1 chunk +11 lines, -4 lines 0 comments Download
M ui/platform_window/android/platform_window_android.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -3 lines 0 comments Download
M ui/platform_window/android/platform_window_android.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -4 lines 0 comments Download
M ui/platform_window/platform_window.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 60 (43 generated)
Jay Civelli
@tedchoc please review content/shell/android @rockot please review services/service_manager and content/common/service_manager/embedded_service_runner.cc and factory and manifest changes ...
4 years, 2 months ago (2016-10-18 21:18:41 UTC) #15
sky
https://codereview.chromium.org/2431753002/diff/60001/services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc File services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc (right): https://codereview.chromium.org/2431753002/diff/60001/services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc#newcode16 services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc:16: return std::unique_ptr<service_manager::Service>(new TestIMEApplication()); Similar comment here about creating TestIMEApplication ...
4 years, 2 months ago (2016-10-18 21:52:30 UTC) #18
Jay Civelli
https://codereview.chromium.org/2431753002/diff/60001/services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc File services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc (right): https://codereview.chromium.org/2431753002/diff/60001/services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc#newcode16 services/ui/ime/test_ime_driver/mojo_test_ime_application_factory.cc:16: return std::unique_ptr<service_manager::Service>(new TestIMEApplication()); On 2016/10/18 21:52:30, sky wrote: > ...
4 years, 2 months ago (2016-10-18 22:28:03 UTC) #19
sky
https://codereview.chromium.org/2431753002/diff/60001/services/ui/public/cpp/BUILD.gn File services/ui/public/cpp/BUILD.gn (right): https://codereview.chromium.org/2431753002/diff/60001/services/ui/public/cpp/BUILD.gn#newcode80 services/ui/public/cpp/BUILD.gn:80: "//services/ui/ws/*", On 2016/10/18 22:28:03, Jay Civelli wrote: > On ...
4 years, 2 months ago (2016-10-18 22:54:52 UTC) #20
Ted C
content/shell/android - lgtm https://codereview.chromium.org/2431753002/diff/60001/content/shell/android/java/res/layout/shell_view.xml File content/shell/android/java/res/layout/shell_view.xml (right): https://codereview.chromium.org/2431753002/diff/60001/content/shell/android/java/res/layout/shell_view.xml#newcode52 content/shell/android/java/res/layout/shell_view.xml:52: android:src="@android:drawable/btn_star" tiniest of nits, but I'd ...
4 years, 2 months ago (2016-10-18 23:39:40 UTC) #21
Jay Civelli
https://codereview.chromium.org/2431753002/diff/60001/content/shell/android/java/res/layout/shell_view.xml File content/shell/android/java/res/layout/shell_view.xml (right): https://codereview.chromium.org/2431753002/diff/60001/content/shell/android/java/res/layout/shell_view.xml#newcode52 content/shell/android/java/res/layout/shell_view.xml:52: android:src="@android:drawable/btn_star" On 2016/10/18 23:39:40, Ted C wrote: > tiniest ...
4 years, 2 months ago (2016-10-19 00:42:04 UTC) #23
sky
Thanks files you wanted me to look at LGTM
4 years, 2 months ago (2016-10-19 03:10:38 UTC) #27
Fady Samuel
lgtm + bikeshedding nits (feel free to ignore or handle in a separate CL). In ...
4 years, 2 months ago (2016-10-19 10:49:52 UTC) #28
sadrul
This CL does way too many things. Please split up into smaller CLs. I would ...
4 years, 2 months ago (2016-10-19 13:53:43 UTC) #29
Jay Civelli
On 2016/10/19 13:53:43, sadrul wrote: > This CL does way too many things. Please split ...
4 years, 2 months ago (2016-10-19 16:18:25 UTC) #30
Jay Civelli
For reviewers that have not yet review this CL, hold on, I'll split it up ...
4 years, 2 months ago (2016-10-19 16:19:40 UTC) #31
Jay Civelli
> . Change from gfx::AcceleratedWidget to gpu::SurfaceHandle. We had > PlatformWindowAndroid working with AcceleratedWidget before ...
4 years, 2 months ago (2016-10-19 19:44:07 UTC) #32
sadrul
On 2016/10/19 19:44:07, Jay Civelli wrote: > > . Change from gfx::AcceleratedWidget to gpu::SurfaceHandle. We ...
4 years, 2 months ago (2016-10-19 20:34:17 UTC) #33
rjkroege
https://codereview.chromium.org/2431753002/diff/80001/services/ui/demo/BUILD.gn File services/ui/demo/BUILD.gn (right): https://codereview.chromium.org/2431753002/diff/80001/services/ui/demo/BUILD.gn#newcode11 services/ui/demo/BUILD.gn:11: "main.cc", don't you need to rebase this based on ...
4 years, 2 months ago (2016-10-20 23:29:05 UTC) #34
Jay Civelli
Few other CLs have landed so this change is now more specific to only bringing ...
4 years, 1 month ago (2016-11-02 22:02:18 UTC) #38
sadrul
Thanks! lgtm https://codereview.chromium.org/2431753002/diff/180001/ui/platform_window/android/platform_window_android.h File ui/platform_window/android/platform_window_android.h (right): https://codereview.chromium.org/2431753002/diff/180001/ui/platform_window/android/platform_window_android.h#newcode10 ui/platform_window/android/platform_window_android.h:10: #include "base/memory/weak_ptr.h" This can probably be removed ...
4 years, 1 month ago (2016-11-04 15:11:29 UTC) #47
rjkroege
4 years, 1 month ago (2016-11-05 00:33:13 UTC) #60
lgtm

Powered by Google App Engine
This is Rietveld 408576698