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

Issue 1838623002: Bring Audio Share and Tab Share Default On (Closed)

Created:
4 years, 9 months ago by qiangchen
Modified:
4 years, 8 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, posciak+watch_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bring Audio Share and Tab Share Default On Desktop share with audio and Desktop share using a chrome tab as source are two new functionality developed. Previously the functionalities are behind the flags --enable-audio-support-for-desktop-share --enable-tab-for-desktop-share This CL changes the flags to be disable flags, namely: --disable-audio-support-for-desktop-share --disable-tab-for-desktop-share In another word, we bring the functionalities on by default. BUG=597539, 597540 Committed: https://crrev.com/85ce71fd37de5c52cd536a17a94db6d2fbead34d Cr-Commit-Position: refs/heads/master@{#384656}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Unremove Unused Labels #

Total comments: 8

Patch Set 3 : Meaningful Var Name #

Patch Set 4 : DesktopMediaID operator #

Patch Set 5 : Three value flag for Tab #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -38 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/media/desktop_capture_access_handler.cc View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/browser/desktop_media_id.cc View 1 2 3 1 chunk +10 lines, -6 lines 0 comments Download
M content/public/common/content_switches.h View 2 chunks +1 line, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/common/switches.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M extensions/common/switches.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
GeorgeZ
lgtm https://codereview.chromium.org/1838623002/diff/1/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc File chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc (right): https://codereview.chromium.org/1838623002/diff/1/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc#newcode109 chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc:109: request_audio = !has_flag; Is the temporarily variable has_flag ...
4 years, 9 months ago (2016-03-25 22:29:04 UTC) #3
qiangchen
This CL brings the new functionality on by default. It essentially changes the enable flag ...
4 years, 8 months ago (2016-03-28 16:36:58 UTC) #6
jam
which files do you want me to look at? if just content, lgtm
4 years, 8 months ago (2016-03-28 20:54:45 UTC) #7
qiangchen
On 2016/03/28 20:54:45, jam wrote: > which files do you want me to look at? ...
4 years, 8 months ago (2016-03-28 21:09:53 UTC) #8
Ilya Sherman
histograms.xml lgtm % a nit: https://codereview.chromium.org/1838623002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/1838623002/diff/20001/tools/metrics/histograms/histograms.xml#oldcode72722 tools/metrics/histograms/histograms.xml:72722: - <int value="157217034" label="enable-tab-for-desktop-share"/> ...
4 years, 8 months ago (2016-03-28 23:30:39 UTC) #9
qiangchen
Unremoved Unused Label https://codereview.chromium.org/1838623002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/1838623002/diff/20001/tools/metrics/histograms/histograms.xml#oldcode72722 tools/metrics/histograms/histograms.xml:72722: - <int value="157217034" label="enable-tab-for-desktop-share"/> On 2016/03/28 ...
4 years, 8 months ago (2016-03-29 16:14:06 UTC) #10
Sergey Ulanov
Do we actually need these flags? When are they going to be useful? Can we ...
4 years, 8 months ago (2016-03-29 18:48:20 UTC) #11
qiangchen
Niklas suggests that we keep the flag there so far, in case that the code ...
4 years, 8 months ago (2016-03-29 20:10:44 UTC) #12
Sergey Ulanov
> Niklas suggests that we keep the flag there so far, in case that the ...
4 years, 8 months ago (2016-03-30 19:34:22 UTC) #13
qiangchen
We've decided today that Tab Sharing must be enabled after the picker window UI project, ...
4 years, 8 months ago (2016-03-30 21:44:44 UTC) #14
qiangchen
On 2016/03/30 21:44:44, qiangchenC wrote: > We've decided today that Tab Sharing must be enabled ...
4 years, 8 months ago (2016-04-01 16:18:34 UTC) #16
Sergey Ulanov
On 2016/04/01 16:18:34, qiangchenC wrote: > On 2016/03/30 21:44:44, qiangchenC wrote: > > We've decided ...
4 years, 8 months ago (2016-04-01 16:57:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838623002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838623002/120001
4 years, 8 months ago (2016-04-01 17:08:06 UTC) #20
qiangchen
Sorry, did not notice all of your comments in that reply. I just stopped reading, ...
4 years, 8 months ago (2016-04-01 17:46:02 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 8 months ago (2016-04-01 19:10:13 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 19:11:55 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/85ce71fd37de5c52cd536a17a94db6d2fbead34d
Cr-Commit-Position: refs/heads/master@{#384656}

Powered by Google App Engine
This is Rietveld 408576698