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

Issue 1149083010: Mandoline: Remove native_viewport.mojom (Closed)

Created:
5 years, 6 months ago by Fady Samuel
Modified:
5 years, 6 months ago
Reviewers:
sky
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mandoline: Remove native_viewport.mojom native_viewport mojom + app add a lot of unnecessary complexity. For now, this should be a part of the view_manager. A future patch will get rid of native_viewport completely and will teach display_manager to dispense platform_windows. BUG=487881 Test=internal change only. Committed: https://crrev.com/3a4eab3f2f4fd8f7c7eb4d195c0e86a47e085d98 Cr-Commit-Position: refs/heads/master@{#333183}

Patch Set 1 #

Patch Set 2 : Cleaned up some code #

Patch Set 3 : Rebased #

Patch Set 4 : More cleanup #

Total comments: 8

Patch Set 5 : Fixed Android Build. Still need to address the rest of Scott's comments. #

Patch Set 6 : Fixed tests I think. More cleanup. Still more comments to address. #

Patch Set 7 : Actually Removed native_viewport.mojom. Heh. #

Patch Set 8 : Addressed some more comments #

Patch Set 9 : size_in_pixels #

Patch Set 10 : A bit more cleanup #

Patch Set 11 : Incorrectly modified a file #

Patch Set 12 : Simplified headless logic #

Total comments: 12

Patch Set 13 : Remove NativeViewport #

Patch Set 14 : Addressed nits #

Patch Set 15 : Fixed Windows Build I hope #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -543 lines) Patch
M components/html_viewer/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/html_document.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M components/view_manager/connection_manager.h View 3 chunks +4 lines, -5 lines 0 comments Download
M components/view_manager/connection_manager.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -6 lines 0 comments Download
M components/view_manager/display_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +35 lines, -14 lines 0 comments Download
M components/view_manager/display_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +69 lines, -38 lines 0 comments Download
M components/view_manager/event_dispatcher.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download
M components/view_manager/event_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -5 lines 0 comments Download
M components/view_manager/native_viewport/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -2 lines 0 comments Download
D components/view_manager/native_viewport/native_viewport_impl.h View 1 chunk +0 lines, -90 lines 0 comments Download
D components/view_manager/native_viewport/native_viewport_impl.cc View 1 chunk +0 lines, -166 lines 0 comments Download
M components/view_manager/native_viewport/platform_viewport.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -4 lines 0 comments Download
M components/view_manager/native_viewport/platform_viewport_android.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/view_manager/native_viewport/platform_viewport_android.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +9 lines, -8 lines 0 comments Download
M components/view_manager/native_viewport/platform_viewport_headless.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/view_manager/native_viewport/platform_viewport_headless.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -4 lines 0 comments Download
M components/view_manager/native_viewport/platform_viewport_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -1 line 0 comments Download
M components/view_manager/native_viewport/platform_viewport_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +13 lines, -5 lines 0 comments Download
M components/view_manager/public/cpp/lib/view.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M components/view_manager/public/interfaces/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D components/view_manager/public/interfaces/native_viewport.mojom View 1 2 3 4 5 6 1 chunk +0 lines, -42 lines 0 comments Download
M components/view_manager/public/interfaces/view_manager.mojom View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -1 line 0 comments Download
M components/view_manager/view_manager_app.h View 1 3 chunks +0 lines, -6 lines 0 comments Download
M components/view_manager/view_manager_app.cc View 1 2 3 4 5 6 chunks +11 lines, -21 lines 0 comments Download
M components/view_manager/view_manager_service_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D mojo/runner/android/native_viewport_application_loader.h View 1 chunk +0 lines, -58 lines 0 comments Download
D mojo/runner/android/native_viewport_application_loader.cc View 1 chunk +0 lines, -55 lines 0 comments Download

Messages

Total messages: 46 (20 generated)
Fady Samuel
5 years, 6 months ago (2015-06-04 21:43:50 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/20001
5 years, 6 months ago (2015-06-04 22:03:19 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/59725) ios_dbg_simulator_ninja on ...
5 years, 6 months ago (2015-06-04 22:10:07 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/40001
5 years, 6 months ago (2015-06-04 22:19:50 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/60001
5 years, 6 months ago (2015-06-04 22:24:29 UTC) #10
sky
I don't see you actually removing native_viewport.mojom in this patch. https://codereview.chromium.org/1149083010/diff/60001/components/view_manager/event_dispatcher.cc File components/view_manager/event_dispatcher.cc (right): https://codereview.chromium.org/1149083010/diff/60001/components/view_manager/event_dispatcher.cc#newcode34 ...
5 years, 6 months ago (2015-06-04 22:37:58 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/94944)
5 years, 6 months ago (2015-06-04 22:39:02 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/80001
5 years, 6 months ago (2015-06-05 15:31:28 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/96119)
5 years, 6 months ago (2015-06-05 16:41:58 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/100001
5 years, 6 months ago (2015-06-05 20:24:22 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/120001
5 years, 6 months ago (2015-06-05 20:27:30 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-05 21:02:38 UTC) #23
Fady Samuel
PTAL Scott! https://chromiumcodereview.appspot.com/1149083010/diff/60001/components/view_manager/event_dispatcher.cc File components/view_manager/event_dispatcher.cc (right): https://chromiumcodereview.appspot.com/1149083010/diff/60001/components/view_manager/event_dispatcher.cc#newcode34 components/view_manager/event_dispatcher.cc:34: const mojo::Callback<void()>& callback) { On 2015/06/04 22:37:57, ...
5 years, 6 months ago (2015-06-05 22:14:31 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/180001
5 years, 6 months ago (2015-06-05 22:15:32 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/68870)
5 years, 6 months ago (2015-06-05 22:25:26 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/80002
5 years, 6 months ago (2015-06-05 22:31:59 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/210001
5 years, 6 months ago (2015-06-05 22:34:13 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/68884)
5 years, 6 months ago (2015-06-05 22:43:05 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/230001
5 years, 6 months ago (2015-06-05 23:10:29 UTC) #36
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/68903)
5 years, 6 months ago (2015-06-05 23:18:36 UTC) #38
sky
LGTM with the following changes. https://chromiumcodereview.appspot.com/1149083010/diff/210001/components/view_manager/display_manager.cc File components/view_manager/display_manager.cc (right): https://chromiumcodereview.appspot.com/1149083010/diff/210001/components/view_manager/display_manager.cc#newcode108 components/view_manager/display_manager.cc:108: nit: one newline is ...
5 years, 6 months ago (2015-06-05 23:25:51 UTC) #39
Fady Samuel
Addressed comments. CQ'ing. https://codereview.chromium.org/1149083010/diff/210001/components/view_manager/display_manager.cc File components/view_manager/display_manager.cc (right): https://codereview.chromium.org/1149083010/diff/210001/components/view_manager/display_manager.cc#newcode108 components/view_manager/display_manager.cc:108: On 2015/06/05 23:25:50, sky wrote: > ...
5 years, 6 months ago (2015-06-05 23:34:52 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149083010/250001
5 years, 6 months ago (2015-06-05 23:36:31 UTC) #43
commit-bot: I haz the power
Committed patchset #14 (id:250001)
5 years, 6 months ago (2015-06-06 00:16:53 UTC) #44
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/3a4eab3f2f4fd8f7c7eb4d195c0e86a47e085d98 Cr-Commit-Position: refs/heads/master@{#333183}
5 years, 6 months ago (2015-06-06 00:17:58 UTC) #45
henrika (OOO until Aug 14)
5 years, 6 months ago (2015-06-08 06:56:42 UTC) #46
Message was sent while issue was closed.
A revert of this CL (patchset #14 id:250001) has been created in
https://codereview.chromium.org/1164553004/ by henrika@chromium.org.

The reason for reverting is: This patch seems to break GN bots on Windows. See
e.g. http://build.chromium.org/p/chromium.win/builders/Win8%20GN/builds/8167.

Powered by Google App Engine
This is Rietveld 408576698