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

Issue 606883002: Add a headless configuration to Mojo's native viewport service (Closed)

Created:
6 years, 2 months ago by abarth-chromium
Modified:
6 years, 2 months ago
Reviewers:
jamesr
CC:
abarth-chromium, Aaron Boodman, ben+mojo_chromium.org, Ben Goodger (Google), chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a headless configuration to Mojo's native viewport service Rather than talking to X11, in headless mode, the native viewport service just drops requests on the floor. This configuration is useful for writing integration tests for the Mojo system that don't need to interact with X11. R=jamesr@chromium.org Committed: https://crrev.com/cff892f9c3062ddd2ac7e3c2385a5fb63be0b886 Cr-Commit-Position: refs/heads/master@{#296846}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address jamesr's questions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -46 lines) Patch
M mojo/mojo_services.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/main.cc View 1 4 chunks +10 lines, -2 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_impl.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M mojo/services/native_viewport/native_viewport_impl.cc View 3 chunks +10 lines, -3 lines 0 comments Download
M mojo/services/native_viewport/platform_viewport.h View 1 chunk +1 line, -1 line 0 comments Download
A mojo/services/native_viewport/platform_viewport_headless.h View 1 1 chunk +35 lines, -0 lines 0 comments Download
A mojo/services/native_viewport/platform_viewport_headless.cc View 1 chunk +52 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/platform_viewport_stub.cc View 1 chunk +3 lines, -35 lines 0 comments Download
M mojo/services/public/interfaces/native_viewport/native_viewport.mojom View 1 chunk +8 lines, -3 lines 0 comments Download
M mojo/shell/context.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (1 generated)
abarth-chromium
6 years, 2 months ago (2014-09-25 20:56:00 UTC) #1
jamesr
As we discussed in person, I think it'd be even better if the ecosystem allowed ...
6 years, 2 months ago (2014-09-25 22:18:15 UTC) #2
abarth-chromium
Addressed all comments. https://codereview.chromium.org/606883002/diff/1/mojo/services/native_viewport/platform_viewport.h File mojo/services/native_viewport/platform_viewport.h (right): https://codereview.chromium.org/606883002/diff/1/mojo/services/native_viewport/platform_viewport.h#newcode29 mojo/services/native_viewport/platform_viewport.h:29: virtual void OnBoundsChanged(const gfx::Rect& rect) = ...
6 years, 2 months ago (2014-09-25 23:31:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/606883002/20001
6 years, 2 months ago (2014-09-25 23:36:45 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001) as c588205f566b4cd9827db34e2e7e6886d7e09c2f
6 years, 2 months ago (2014-09-26 01:12:23 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 01:12:50 UTC) #7
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cff892f9c3062ddd2ac7e3c2385a5fb63be0b886
Cr-Commit-Position: refs/heads/master@{#296846}

Powered by Google App Engine
This is Rietveld 408576698