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

Issue 1660193007: [Presentation API] Adding a flag to disable gesture check for starting presentations (Closed)

Created:
4 years, 10 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 10 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, feature-media-reviews_chromium.org, gunsch+watch_chromium.org, halliwell+watch_chromium.org, jam, jochen+watch_chromium.org, lcwu+watch_chromium.org, mcasas+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, Peter Beverloo, posciak+watch_chromium.org, Lei Lei
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API] Adding a flag to disable gesture check for starting presentations This patch adds a new command line flag to disable user gesture checks for testing purposes. Before, a presentation session can only be started only when triggered by a user gesture. BUG=585404 Committed: https://crrev.com/1215ad421f1a69cea271d6f89d21e00bcf646db3 Cr-Commit-Position: refs/heads/master@{#374650}

Patch Set 1 #

Total comments: 12

Patch Set 2 : addressing avayvod@'s comments and several fixes #

Total comments: 2

Patch Set 3 : addressed philipj@'s comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/web_preferences.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/web_preferences.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Settings.in View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp View 1 2 3 chunks +13 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebSettingsImpl.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebSettings.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (13 generated)
Zhiqiang Zhang (Slow)
PTAL. * I've tested the patch on Android and it works (should be OK for ...
4 years, 10 months ago (2016-02-04 20:12:39 UTC) #2
whywhat
On 2016/02/04 at 20:12:39, zqzhang wrote: > PTAL. > > * I've tested the patch ...
4 years, 10 months ago (2016-02-04 20:38:57 UTC) #4
whywhat
https://codereview.chromium.org/1660193007/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1660193007/diff/1/chrome/app/generated_resources.grd#newcode5623 chrome/app/generated_resources.grd:5623: + User gesture requirement for playing media elements. Disabling ...
4 years, 10 months ago (2016-02-04 20:39:08 UTC) #5
Zhiqiang Zhang (Slow)
PTAL. * addressed avayvod@'s comments, see replies * fixed several problems in the old patch ...
4 years, 10 months ago (2016-02-05 16:20:34 UTC) #7
Zhiqiang Zhang (Slow)
kenrb@chromium.org: Please review changes in content/public/common/common_param_traits_macros.h jochen@chromium.org: Please review changes in content/* third_party/WebKit/*
4 years, 10 months ago (2016-02-05 17:10:34 UTC) #9
Zhiqiang Zhang (Slow)
Since jochen@ is OOO, add other available reviewers. avi@ PTAL at: content/* philipj@ PTAL at: ...
4 years, 10 months ago (2016-02-08 11:53:06 UTC) #11
kenrb
ipc lgtm
4 years, 10 months ago (2016-02-08 15:14:15 UTC) #12
Avi (use Gerrit)
lgtm
4 years, 10 months ago (2016-02-08 15:40:07 UTC) #13
philipj_slow
third_party/WebKit LGTM % naming nit, and can you also fill in the BUG= for context? ...
4 years, 10 months ago (2016-02-09 07:41:09 UTC) #14
Zhiqiang Zhang (Slow)
Addressed phlipj@'s comments. PTAL for avayvod@ for PresentationRequest.cpp +pfeldman@ to take a look at: third_party/webkit/source/web/* ...
4 years, 10 months ago (2016-02-09 12:15:06 UTC) #16
Zhiqiang Zhang (Slow)
Addressed phlipj@'s comments. PTAL for avayvod@ for PresentationRequest.cpp +pfeldman@ to take a look at: third_party/webkit/source/web/*
4 years, 10 months ago (2016-02-09 12:15:30 UTC) #18
pfeldman
public web lgtm
4 years, 10 months ago (2016-02-09 20:18:09 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/1660193007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1660193007/60001
4 years, 10 months ago (2016-02-10 11:26:41 UTC) #21
whywhat
PresentationRequest lgtm
4 years, 10 months ago (2016-02-10 12:08:36 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-10 13:00:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1660193007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1660193007/60001
4 years, 10 months ago (2016-02-10 13:22:35 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 10 months ago (2016-02-10 13:27:30 UTC) #29
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 13:28:38 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1215ad421f1a69cea271d6f89d21e00bcf646db3
Cr-Commit-Position: refs/heads/master@{#374650}

Powered by Google App Engine
This is Rietveld 408576698