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

Issue 974993002: [Presentation API] Added the DefaultPresentationStart event and parsing of the default presentation… (Closed)

Created:
5 years, 9 months ago by whywhat
Modified:
5 years, 9 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[Presentation API] Added the DefaultPresentationStart event and necessary plumbing for the embedder to implement it. BUG=459001 Blocks Chromium change: https://codereview.chromium.org/978543002 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191643

Patch Set 1 #

Patch Set 2 : Added logic to propagate the event to/from the content embedder #

Patch Set 3 : Default implementation for the new WebPresentationClient method #

Total comments: 26

Patch Set 4 : Removed plumbing of the add/removeEventListener #

Patch Set 5 : Replaced the unused forward declaration with the used one #

Total comments: 17

Patch Set 6 : Renamed DefaultPresentation to DefaultSession #

Patch Set 7 : Fixed last reviewers wishes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -4 lines) Patch
M LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-and-gced-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/presentation/presentation-api.html View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/events/EventTypeNames.in View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 5 chunks +8 lines, -1 line 0 comments Download
A Source/modules/presentation/DefaultSessionStartEvent.h View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A Source/modules/presentation/DefaultSessionStartEvent.cpp View 1 2 3 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
A Source/modules/presentation/DefaultSessionStartEvent.idl View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
A + Source/modules/presentation/DefaultSessionStartEventInit.idl View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/presentation/Presentation.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M Source/modules/presentation/Presentation.cpp View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M Source/modules/presentation/Presentation.idl View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/presentation/PresentationController.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M Source/modules/presentation/PresentationController.cpp View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M public/platform/modules/presentation/WebPresentationController.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (8 generated)
whywhat
PTaL
5 years, 9 months ago (2015-03-03 20:42:40 UTC) #2
Peter Beverloo
Can you please add more information to the CL description? This feature is not described ...
5 years, 9 months ago (2015-03-03 21:19:25 UTC) #3
Peter Beverloo
One further thought, what do you expect the following code to do? ========================= presentation.addEventListener('defaultpresentationstart', function(event) ...
5 years, 9 months ago (2015-03-03 21:33:02 UTC) #4
Peter Beverloo
Taking another step back -- given that this event does not require any form of ...
5 years, 9 months ago (2015-03-03 22:34:24 UTC) #5
whywhat
PTAL Mark,Derek, are you fine with the embedder not knowing if the frame is listening ...
5 years, 9 months ago (2015-03-05 18:41:47 UTC) #6
imcheng
On 2015/03/05 18:41:47, whywhat wrote: > PTAL > > Mark,Derek, are you fine with the ...
5 years, 9 months ago (2015-03-05 19:26:49 UTC) #7
mark a. foltz
FYI to discuss event naming for consistency with the rest of the spec. You drove ...
5 years, 9 months ago (2015-03-05 19:44:11 UTC) #9
whywhat
https://codereview.chromium.org/974993002/diff/40001/Source/modules/presentation/DefaultPresentationStartEvent.h File Source/modules/presentation/DefaultPresentationStartEvent.h (right): https://codereview.chromium.org/974993002/diff/40001/Source/modules/presentation/DefaultPresentationStartEvent.h#newcode18 Source/modules/presentation/DefaultPresentationStartEvent.h:18: class DefaultPresentationStartEvent final : public Event { On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 20:46:03 UTC) #10
whywhat
On 2015/03/05 20:46:03, whywhat wrote: > https://codereview.chromium.org/974993002/diff/40001/Source/modules/presentation/DefaultPresentationStartEvent.h > File Source/modules/presentation/DefaultPresentationStartEvent.h (right): > > https://codereview.chromium.org/974993002/diff/40001/Source/modules/presentation/DefaultPresentationStartEvent.h#newcode18 > ...
5 years, 9 months ago (2015-03-05 21:01:27 UTC) #11
mark a. foltz
On 2015/03/05 20:46:03, whywhat wrote: > https://codereview.chromium.org/974993002/diff/40001/Source/modules/presentation/DefaultPresentationStartEvent.h > File Source/modules/presentation/DefaultPresentationStartEvent.h (right): > > https://codereview.chromium.org/974993002/diff/40001/Source/modules/presentation/DefaultPresentationStartEvent.h#newcode18 > ...
5 years, 9 months ago (2015-03-05 21:01:50 UTC) #12
mlamouri (slow - plz ping)
lgtm https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.h File Source/modules/presentation/DefaultPresentationStartEvent.h (right): https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.h#newcode9 Source/modules/presentation/DefaultPresentationStartEvent.h:9: #include "modules/presentation/DefaultPresentationStartEventInit.h" This can probably be a forward ...
5 years, 9 months ago (2015-03-06 22:43:42 UTC) #14
Peter Beverloo
lgtm https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp File Source/modules/presentation/DefaultPresentationStartEvent.cpp (right): https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp#newcode20 Source/modules/presentation/DefaultPresentationStartEvent.cpp:20: false, // canBubble nit: it's more common in ...
5 years, 9 months ago (2015-03-09 19:05:28 UTC) #15
whywhat
https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp File Source/modules/presentation/DefaultPresentationStartEvent.cpp (right): https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp#newcode20 Source/modules/presentation/DefaultPresentationStartEvent.cpp:20: false, // canBubble On 2015/03/09 19:05:28, Peter Beverloo wrote: ...
5 years, 9 months ago (2015-03-10 13:00:45 UTC) #16
Peter Beverloo
https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp File Source/modules/presentation/DefaultPresentationStartEvent.cpp (right): https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp#newcode20 Source/modules/presentation/DefaultPresentationStartEvent.cpp:20: false, // canBubble On 2015/03/10 13:00:44, whywhat wrote: > ...
5 years, 9 months ago (2015-03-10 13:06:53 UTC) #17
whywhat
https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp File Source/modules/presentation/DefaultPresentationStartEvent.cpp (right): https://codereview.chromium.org/974993002/diff/80001/Source/modules/presentation/DefaultPresentationStartEvent.cpp#newcode20 Source/modules/presentation/DefaultPresentationStartEvent.cpp:20: false, // canBubble On 2015/03/10 13:06:53, Peter Beverloo wrote: ...
5 years, 9 months ago (2015-03-10 15:18:51 UTC) #18
whywhat
5 years, 9 months ago (2015-03-10 15:18:55 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974993002/120001
5 years, 9 months ago (2015-03-10 15:22:06 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/28668)
5 years, 9 months ago (2015-03-10 15:39:56 UTC) #24
jochen (gone - plz use gerrit)
EventNames.in lgtm
5 years, 9 months ago (2015-03-10 15:58:21 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974993002/120001
5 years, 9 months ago (2015-03-10 16:01:04 UTC) #28
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 17:38:39 UTC) #29
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191643

Powered by Google App Engine
This is Rietveld 408576698