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

Issue 2340433003: [Presentation API] 1-UA: notify receiver page when receiver connection becomes available (blink sid… (Closed)

Created:
4 years, 3 months ago by zhaobin
Modified:
4 years, 2 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, jam, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API] 1-UA: notify receiver page when receiver connection becomes available (blink side) - Add WebPresentationReceiver class - Add OnReceiverConnectionAvailable() to PresentationDispatch class (to be invoked by PresentationServiceImpl in following CL) - Rename PresentationReceiver::onConnectionReceived() to onReceiverConnectionAvailable() This CL is splited from Issue 2324233002. It only contains blink side changes. BUG=525660 Committed: https://crrev.com/31637e5d150105f89429c88a651ba1cc4c4453c4 Cr-Commit-Position: refs/heads/master@{#421985}

Patch Set 1 #

Patch Set 2 : resolve code review comments from mlamouri #

Total comments: 15

Patch Set 3 : Resolve code review comments from mlamouri and Mark. #

Patch Set 4 : sync to the latest state #

Patch Set 5 : fix content_unittests compile errors #

Patch Set 6 : fix windows build errors #

Patch Set 7 : rebase with master #

Total comments: 2

Patch Set 8 : resolve code review comments from dcheng #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -23 lines) Patch
M content/browser/presentation/presentation_service_impl_unittest.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.h View 1 2 3 4 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.cc View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/Presentation.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationReceiver.h View 1 1 chunk +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp View 1 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp View 1 2 3 9 chunks +61 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/exported/WebPresentationReceiver.cpp View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/presentation/presentation.mojom View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 46 (31 generated)
zhaobin
4 years, 3 months ago (2016-09-14 02:44:58 UTC) #2
mlamouri (slow - plz ping)
lgtm https://codereview.chromium.org/2340433003/diff/20001/content/renderer/presentation/presentation_dispatcher.cc File content/renderer/presentation/presentation_dispatcher.cc (right): https://codereview.chromium.org/2340433003/diff/20001/content/renderer/presentation/presentation_dispatcher.cc#newcode409 content/renderer/presentation/presentation_dispatcher.cc:409: new PresentationConnectionClient(std::move(session_info))); style: add {} when the statement ...
4 years, 3 months ago (2016-09-15 10:49:39 UTC) #5
mark a. foltz
https://codereview.chromium.org/2340433003/diff/20001/content/renderer/presentation/presentation_dispatcher.cc File content/renderer/presentation/presentation_dispatcher.cc (right): https://codereview.chromium.org/2340433003/diff/20001/content/renderer/presentation/presentation_dispatcher.cc#newcode407 content/renderer/presentation/presentation_dispatcher.cc:407: if (m_receiver) What if this is called before m_receiver ...
4 years, 3 months ago (2016-09-15 16:53:19 UTC) #6
zhaobin
Thanks a lot for the comments! Mounir, could you please comment on Mark's question: shall ...
4 years, 3 months ago (2016-09-15 18:56:03 UTC) #7
mark a. foltz
lgtm
4 years, 3 months ago (2016-09-21 12:53:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2340433003/100001
4 years, 3 months ago (2016-09-22 17:03:20 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/264825)
4 years, 3 months ago (2016-09-22 17:12:27 UTC) #29
zhaobin
Adding reviewers for following files: third_party/WebKit/Source/platform/BUILD.gn third_party/WebKit/Source/platform/exported/WebPresentationReceiver.cpp third_party/WebKit/public/platform/modules/presentation/presentation.mojom
4 years, 3 months ago (2016-09-23 20:01:00 UTC) #31
zhaobin
Hi Daniel, Could you please take a look at the presentation.mojom change when you have ...
4 years, 2 months ago (2016-09-28 17:33:11 UTC) #32
dcheng
The mojo change itself LGTM, but I hope we can better rationalize when things are ...
4 years, 2 months ago (2016-09-28 23:55:13 UTC) #33
zhaobin
Created crbug/651524 to track cleanup task for null checks. https://codereview.chromium.org/2340433003/diff/120001/third_party/WebKit/Source/modules/presentation/Presentation.cpp File third_party/WebKit/Source/modules/presentation/Presentation.cpp (right): https://codereview.chromium.org/2340433003/diff/120001/third_party/WebKit/Source/modules/presentation/Presentation.cpp#newcode60 third_party/WebKit/Source/modules/presentation/Presentation.cpp:60: ...
4 years, 2 months ago (2016-09-29 18:38:53 UTC) #34
haraken
platform/ LGTM
4 years, 2 months ago (2016-09-29 23:59:23 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2340433003/140001
4 years, 2 months ago (2016-09-30 00:01:31 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 2 months ago (2016-09-30 00:11:15 UTC) #44
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 00:15:39 UTC) #46
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/31637e5d150105f89429c88a651ba1cc4c4453c4
Cr-Commit-Position: refs/heads/master@{#421985}

Powered by Google App Engine
This is Rietveld 408576698