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

Issue 1024903003: [Presentation API] Plumbing of |onstatechange| from the Mojo service to the public/platform (Closed)

Created:
5 years, 9 months ago by whywhat
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, darin (slow to review), ben+mojo_chromium.org, mark a. foltz, imcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API] Plumbing of |onstatechange| from the Mojo service to the public/platform Removed PresentationSessionDispatcher since the session messages are going through the PresentationService (to reduce the number of Mojo pipes used). Depends on the Blink change: https://codereview.chromium.org/1020303004 BUG=459006 Committed: https://crrev.com/a3731aafcc2dc3b705a194f42e114169b0137d4d Cr-Commit-Position: refs/heads/master@{#322162}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Call the Mojo method again from the callback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -86 lines) Patch
M content/browser/presentation/presentation_service_impl.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/presentation/presentation_service_impl.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/presentation/presentation_service.mojom View 1 2 chunks +12 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.h View 3 chunks +3 lines, -10 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.cc View 1 4 chunks +34 lines, -8 lines 0 comments Download
M content/renderer/presentation/presentation_session_client.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/presentation/presentation_session_client.cc View 1 chunk +3 lines, -4 lines 0 comments Download
D content/renderer/presentation/presentation_session_dispatcher.h View 1 chunk +0 lines, -30 lines 0 comments Download
D content/renderer/presentation/presentation_session_dispatcher.cc View 1 chunk +0 lines, -29 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
whywhat
PTaL!
5 years, 9 months ago (2015-03-20 18:52:00 UTC) #2
Peter Beverloo
lgtm https://codereview.chromium.org/1024903003/diff/1/content/browser/presentation/presentation_service_impl.h File content/browser/presentation/presentation_service_impl.h (right): https://codereview.chromium.org/1024903003/diff/1/content/browser/presentation/presentation_service_impl.h#newcode64 content/browser/presentation/presentation_service_impl.h:64: presentation::PresentationSessionState)>; nit: align with ( https://codereview.chromium.org/1024903003/diff/1/content/common/presentation/presentation_service.mojom File content/common/presentation/presentation_service.mojom ...
5 years, 9 months ago (2015-03-20 19:13:39 UTC) #3
mark a. foltz
Would like Derek to take a look as well. https://codereview.chromium.org/1024903003/diff/1/content/common/presentation/presentation_service.mojom File content/common/presentation/presentation_service.mojom (right): https://codereview.chromium.org/1024903003/diff/1/content/common/presentation/presentation_service.mojom#newcode85 content/common/presentation/presentation_service.mojom:85: ...
5 years, 9 months ago (2015-03-20 21:22:44 UTC) #5
imcheng
https://codereview.chromium.org/1024903003/diff/1/content/renderer/presentation/presentation_dispatcher.cc File content/renderer/presentation/presentation_dispatcher.cc (right): https://codereview.chromium.org/1024903003/diff/1/content/renderer/presentation/presentation_dispatcher.cc#newcode202 content/renderer/presentation/presentation_dispatcher.cc:202: controller_->didChangeSessionState( Does controller_ hold references to multiple PresentationSessionClients? How ...
5 years, 9 months ago (2015-03-20 23:01:46 UTC) #7
whywhat
https://codereview.chromium.org/1024903003/diff/1/content/browser/presentation/presentation_service_impl.h File content/browser/presentation/presentation_service_impl.h (right): https://codereview.chromium.org/1024903003/diff/1/content/browser/presentation/presentation_service_impl.h#newcode64 content/browser/presentation/presentation_service_impl.h:64: presentation::PresentationSessionState)>; On 2015/03/20 19:13:39, Peter Beverloo wrote: > nit: ...
5 years, 9 months ago (2015-03-24 19:20:58 UTC) #8
mark a. foltz
https://codereview.chromium.org/1024903003/diff/1/content/common/presentation/presentation_service.mojom File content/common/presentation/presentation_service.mojom (right): https://codereview.chromium.org/1024903003/diff/1/content/common/presentation/presentation_service.mojom#newcode85 content/common/presentation/presentation_service.mojom:85: ListenForSessionStateChange() On 2015/03/24 19:20:57, whywhat wrote: > On 2015/03/20 ...
5 years, 9 months ago (2015-03-24 22:53:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1024903003/20001
5 years, 9 months ago (2015-03-25 13:56:04 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-25 15:02:01 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 15:02:49 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a3731aafcc2dc3b705a194f42e114169b0137d4d
Cr-Commit-Position: refs/heads/master@{#322162}

Powered by Google App Engine
This is Rietveld 408576698