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

Issue 2123863004: ScreenCapture for Android phase1, part II (Closed)

Created:
4 years, 5 months ago by braveyao
Modified:
4 years, 2 months ago
CC:
chromium-reviews, msramek+watch_chromium.org, asvitkine+watch_chromium.org, posciak+watch_chromium.org, jam, raymes+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, mlamouri+watch-permissions_chromium.org, markusheintz_, 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

ScreenCapture for Android phase1, part II The capture part has been landed in cl https://codereview.chromium.org/2125973002/. This cl is to implement the control part in chrome/ and content/. The document is here, https://goo.gl/QNH29g. This cl proposes a pemission design on Android, including permission info bar and head up notification, which will show up each time at starting screen capture and user can check/stop the capture without leaving current page. And all of these is behind a flag as an experimental feature. BUG=487935 Committed: https://crrev.com/dbb85e451ee0ffe9d18300befb9c0d0664b5ee94 Cr-Commit-Position: refs/heads/master@{#420679}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix problem with adding content setting type #

Total comments: 4

Patch Set 3 : address comments in components/content_settings/ #

Total comments: 15

Patch Set 4 : address comments #

Patch Set 5 : rebase to #407492(Jul 25) #

Total comments: 27

Patch Set 6 : rebase to #409214 (Aug 2) #

Patch Set 7 : address comments #

Patch Set 8 : UI tweaking and rebase #

Total comments: 20

Patch Set 9 : address comments and rebase #

Total comments: 25

Patch Set 10 : address comments #

Patch Set 11 : rebase to #412340(Aug16) #

Total comments: 6

Patch Set 12 : address comments #

Total comments: 19

Patch Set 13 : address comments #

Patch Set 14 : remove modification to peer connection tracker #

Patch Set 15 : rebase to Aug 30 #

Total comments: 2

Patch Set 16 : rebase to Sep 9 #

Patch Set 17 : fix nits #

Total comments: 2

Patch Set 18 : adopt base::Feature instead of switches #

Total comments: 8

Patch Set 19 : add a new infobarDelegate for screen capture #

Total comments: 4

Patch Set 20 : rebase to Sep15 to make trybots working #

Patch Set 21 : fix nits #

Patch Set 22 : rebase to Sep19 to pass dry run #

Total comments: 2

Patch Set 23 : fix a rebase error in histograms.xml: moved two newly added definitions #

Total comments: 2

Patch Set 24 : address comments #

Patch Set 25 : add entry in LoginCustomFlags as bots request #

Total comments: 38

Patch Set 26 : address comments #

Patch Set 27 : address comments #

Patch Set 28 : rebase to Sep21 #

Patch Set 29 : adopt ResetAndReturn #

Total comments: 12

Patch Set 30 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -81 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationService.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +100 lines, -33 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsDelegateAndroid.java View 1 2 3 4 5 6 7 8 9 10 4 chunks +23 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsObserver.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabWindowManager.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +15 lines, -7 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +36 lines, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/android/tab_web_contents_delegate_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +26 lines, -4 lines 0 comments Download
M chrome/browser/media/webrtc/media_stream_capture_indicator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/media/webrtc/media_stream_capture_indicator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 8 chunks +31 lines, -8 lines 0 comments Download
M chrome/browser/media/webrtc/media_stream_devices_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +15 lines, -14 lines 0 comments Download
M chrome/browser/media/webrtc/permission_bubble_media_access_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +32 lines, -1 line 0 comments Download
A chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +103 lines, -0 lines 0 comments Download
M components/infobars/core/infobar_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +7 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 231 (164 generated)
braveyao
Hi Sergey and Miu, Here is the part II of screen capture on Android. Could ...
4 years, 5 months ago (2016-07-07 21:10:23 UTC) #2
msramek
https://codereview.chromium.org/2123863004/diff/1/components/content_settings/core/common/content_settings_types.h File components/content_settings/core/common/content_settings_types.h (right): https://codereview.chromium.org/2123863004/diff/1/components/content_settings/core/common/content_settings_types.h#newcode35 components/content_settings/core/common/content_settings_types.h:35: CONTENT_SETTINGS_TYPE_MEDIASTREAM_SCREEN, Drive by! 1. The platform #ifdef does not ...
4 years, 5 months ago (2016-07-08 10:56:48 UTC) #4
braveyao
Hi msramek@, thanks so much for your comments. I didn't notice there are some other ...
4 years, 5 months ago (2016-07-11 21:42:58 UTC) #5
raymes
On 2016/07/11 21:42:58, wrote: > Hi msramek@, thanks so much for your comments. I didn't ...
4 years, 5 months ago (2016-07-13 02:44:09 UTC) #7
braveyao
raymes@, thanks for the comments! PTAL. The reason for adding CONTENT_SETTINGS_TYPE_MEDIASTREAM_SCREEN is simply to distinguish ...
4 years, 5 months ago (2016-07-13 19:51:57 UTC) #17
raymes
Thanks braveyao@ I'm curious who you've chatted to from the UX side? Also, will there ...
4 years, 5 months ago (2016-07-14 03:33:43 UTC) #20
braveyao
On 2016/07/14 03:33:43, raymes wrote: > Thanks braveyao@ > > I'm curious who you've chatted ...
4 years, 5 months ago (2016-07-14 18:51:06 UTC) #21
miu
I'm not that qualified to code review all the UX aspects of this change. sergeyu@ ...
4 years, 5 months ago (2016-07-14 22:25:53 UTC) #22
braveyao
miu@, thanks so much for the helpful comments! All addressed. PTAL! And I didn't intend ...
4 years, 5 months ago (2016-07-18 20:46:31 UTC) #27
miu
On 2016/07/18 20:46:31, braveyao wrote: > miu@, thanks so much for the helpful comments! All ...
4 years, 4 months ago (2016-07-30 22:55:11 UTC) #32
Sergey Ulanov
Looking at this CL now.
4 years, 4 months ago (2016-08-01 17:10:25 UTC) #33
Sergey Ulanov
https://codereview.chromium.org/2123863004/diff/100001/chrome/browser/media/media_stream_capture_indicator.h File chrome/browser/media/media_stream_capture_indicator.h (right): https://codereview.chromium.org/2123863004/diff/100001/chrome/browser/media/media_stream_capture_indicator.h#newcode58 chrome/browser/media/media_stream_capture_indicator.h:58: // Called when STOP button in medida capture notification ...
4 years, 4 months ago (2016-08-01 18:20:36 UTC) #34
braveyao
Thanks so much sergeyu@. All comments are addressed. PTAL! BTW: We didn't contact UX team ...
4 years, 4 months ago (2016-08-03 00:23:47 UTC) #41
miu
https://codereview.chromium.org/2123863004/diff/100001/content/public/common/media_stream_request.h File content/public/common/media_stream_request.h (right): https://codereview.chromium.org/2123863004/diff/100001/content/public/common/media_stream_request.h#newcode90 content/public/common/media_stream_request.h:90: CONTENT_EXPORT bool IsContentCaptureMediaType(MediaStreamType type); On 2016/08/03 00:23:47, braveyao wrote: ...
4 years, 4 months ago (2016-08-03 00:36:52 UTC) #42
braveyao
Thanks for all the pre-review comments! After discussion with UI team, I tweaked the UI ...
4 years, 4 months ago (2016-08-09 21:40:27 UTC) #53
gone
More questions than comments. Has this gone through UX, at least for a string pass? ...
4 years, 4 months ago (2016-08-10 19:04:03 UTC) #54
gone
Looks better, but you missed some of my questions on your previous patch set. https://chromiumcodereview.appspot.com/2123863004/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsDelegateAndroid.java ...
4 years, 4 months ago (2016-08-12 22:47:24 UTC) #64
braveyao
Thanks so much, dfalcantara@! All comments are addressed/answered. PTAL! Also add tedchoc@ as suggested for ...
4 years, 4 months ago (2016-08-12 23:37:44 UTC) #69
gone
lgtm, but wait for Ted. Also: it's much easier to re-review if you address comments ...
4 years, 4 months ago (2016-08-15 20:42:22 UTC) #72
braveyao
On 2016/08/15 20:42:22, dfalcantara wrote: > lgtm, but wait for Ted. > > Also: it's ...
4 years, 4 months ago (2016-08-15 22:35:31 UTC) #73
Ted C
https://codereview.chromium.org/2123863004/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationService.java File chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationService.java (right): https://codereview.chromium.org/2123863004/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationService.java#newcode98 chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationService.java:98: case ACTION_MEDIA_CAPTURE_UPDATE: since we only have two actions, I ...
4 years, 4 months ago (2016-08-16 00:19:20 UTC) #74
braveyao
Hi Ted, thanks so much for the comments! All addressed. PTAL. https://chromiumcodereview.appspot.com/2123863004/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationService.java File chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationService.java (right): ...
4 years, 4 months ago (2016-08-16 23:05:50 UTC) #81
Ted C
https://codereview.chromium.org/2123863004/diff/240001/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java (right): https://codereview.chromium.org/2123863004/diff/240001/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java#newcode258 chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java:258: final TabReparentingParams dummyParams = new TabReparentingParams(null, null, null, false); ...
4 years, 4 months ago (2016-08-18 03:55:02 UTC) #84
braveyao
Hi Ted, thanks so much!!! PTAL. https://codereview.chromium.org/2123863004/diff/240001/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java (right): https://codereview.chromium.org/2123863004/diff/240001/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java#newcode258 chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabWindowManagerTest.java:258: final TabReparentingParams dummyParams ...
4 years, 4 months ago (2016-08-18 18:16:52 UTC) #87
Ted C
lgtm - android-y bits
4 years, 4 months ago (2016-08-18 18:27:00 UTC) #88
Sergey Ulanov
https://codereview.chromium.org/2123863004/diff/100001/content/browser/renderer_host/media/peer_connection_tracker_host.cc File content/browser/renderer_host/media/peer_connection_tracker_host.cc (right): https://codereview.chromium.org/2123863004/diff/100001/content/browser/renderer_host/media/peer_connection_tracker_host.cc#newcode117 content/browser/renderer_host/media/peer_connection_tracker_host.cc:117: is_screen_capture_ = On 2016/08/03 00:23:47, braveyao wrote: > On ...
4 years, 4 months ago (2016-08-19 05:54:15 UTC) #91
braveyao
Hi sergeyu@, all comments are addressed. PTAL! https://codereview.chromium.org/2123863004/diff/100001/content/browser/renderer_host/media/peer_connection_tracker_host.cc File content/browser/renderer_host/media/peer_connection_tracker_host.cc (right): https://codereview.chromium.org/2123863004/diff/100001/content/browser/renderer_host/media/peer_connection_tracker_host.cc#newcode117 content/browser/renderer_host/media/peer_connection_tracker_host.cc:117: is_screen_capture_ = ...
4 years, 3 months ago (2016-08-23 21:18:55 UTC) #96
braveyao
sergeyu@, all the comments are addressed in patchset 13&14. Please have another look when you ...
4 years, 3 months ago (2016-08-30 23:06:15 UTC) #105
braveyao
Hi tommi@, could you please take a look at chrome/browser/ and other related since sergeyu@ ...
4 years, 3 months ago (2016-09-08 00:15:48 UTC) #107
Sergey Ulanov
lgtm
4 years, 3 months ago (2016-09-08 23:52:19 UTC) #108
braveyao
Thanks so much sergeyu@! I was so confused by your GTalk status :) raymes@, could ...
4 years, 3 months ago (2016-09-09 00:38:37 UTC) #110
piman
lgtm https://codereview.chromium.org/2123863004/diff/360001/content/browser/renderer_host/media/video_capture_manager.cc File content/browser/renderer_host/media/video_capture_manager.cc (right): https://codereview.chromium.org/2123863004/diff/360001/content/browser/renderer_host/media/video_capture_manager.cc#newcode628 content/browser/renderer_host/media/video_capture_manager.cc:628: video_capture_device = base::WrapUnique(new ScreenCaptureDeviceAndroid()); nit: base::MakeUnique<ScreenCaptureDeviceAndroid>()
4 years, 3 months ago (2016-09-09 00:52:54 UTC) #111
tommi (sloooow) - chröme
Magnus - can you take my place?
4 years, 3 months ago (2016-09-09 10:46:15 UTC) #113
Alexei Svitkine (slow)
https://codereview.chromium.org/2123863004/diff/400001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2123863004/diff/400001/chrome/browser/about_flags.cc#newcode714 chrome/browser/about_flags.cc:714: SINGLE_VALUE_TYPE(switches::kEnableUserMediaScreenCapturing)}, Have you considered using base::Feature instead? We recommend ...
4 years, 3 months ago (2016-09-12 16:56:57 UTC) #120
braveyao
asvitkine@, thanks so much for the recommendation. I had no idea before. Done. Please take ...
4 years, 3 months ago (2016-09-12 23:23:20 UTC) #127
raymes
https://codereview.chromium.org/2123863004/diff/460001/components/content_settings/core/browser/content_settings_registry.cc File components/content_settings/core/browser/content_settings_registry.cc (right): https://codereview.chromium.org/2123863004/diff/460001/components/content_settings/core/browser/content_settings_registry.cc#newcode329 components/content_settings/core/browser/content_settings_registry.cc:329: Register(CONTENT_SETTINGS_TYPE_MEDIASTREAM_SCREEN, "media-stream-screen", Could we call it CONTNET_SETTING_TYPE_SCREEN_CAPTURE and screen-capture ...
4 years, 3 months ago (2016-09-13 03:08:39 UTC) #130
tsergeant
Raymes asked me to explain an alternative method of showing the permission request, see below ...
4 years, 3 months ago (2016-09-13 05:06:23 UTC) #132
magjed_chromium
On 2016/09/09 10:46:15, tommi (chrömium) wrote: > Magnus - can you take my place? I ...
4 years, 3 months ago (2016-09-13 08:03:56 UTC) #133
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2123863004/diff/460001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2123863004/diff/460001/tools/metrics/histograms/histograms.xml#newcode85630 tools/metrics/histograms/histograms.xml:85630: + <int value="-905334658" label="enable-usermedia-screen-capturing"/> You can remove this ...
4 years, 3 months ago (2016-09-13 14:54:48 UTC) #135
braveyao
raymes@ and tsergeant@, Thanks so much for the suggestions! Please take a look at patchset19 ...
4 years, 3 months ago (2016-09-15 21:29:31 UTC) #148
raymes
I defer to tsergeant@
4 years, 3 months ago (2016-09-19 01:36:21 UTC) #151
braveyao
Oops, forgot to add tsergeant@ as a reviewer... tsergeant@, please take a look at patchset19 ...
4 years, 3 months ago (2016-09-19 16:52:11 UTC) #153
tsergeant
Thanks for doing this, the result is much simpler. lgtm with a couple of small ...
4 years, 3 months ago (2016-09-19 23:27:02 UTC) #154
braveyao
tsergeant@, Thanks so much for the quick review! Fixed the nits and added two sanity ...
4 years, 3 months ago (2016-09-20 00:50:06 UTC) #161
tsergeant
Ah, sorry, a couple more things: https://codereview.chromium.org/2123863004/diff/580001/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://codereview.chromium.org/2123863004/diff/580001/components/infobars/core/infobar_delegate.h#newcode65 components/infobars/core/infobar_delegate.h:65: // KEEP IN ...
4 years, 3 months ago (2016-09-20 01:17:56 UTC) #162
braveyao
tsergeant@, thanks for the reminding. All addressed. https://codereview.chromium.org/2123863004/diff/580001/components/infobars/core/infobar_delegate.h File components/infobars/core/infobar_delegate.h (right): https://codereview.chromium.org/2123863004/diff/580001/components/infobars/core/infobar_delegate.h#newcode65 components/infobars/core/infobar_delegate.h:65: // KEEP ...
4 years, 3 months ago (2016-09-20 21:20:42 UTC) #179
tsergeant
Thanks, still lgtm
4 years, 3 months ago (2016-09-20 23:11:08 UTC) #182
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/2123863004/640001
4 years, 3 months ago (2016-09-20 23:15:16 UTC) #185
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/263398)
4 years, 3 months ago (2016-09-20 23:26:48 UTC) #187
braveyao
pkasting@, could you please take a look at components/infobars/core/infobar_delegate.xx files?
4 years, 3 months ago (2016-09-20 23:32:16 UTC) #189
Peter Kasting
https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode35 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:35: for (size_t i = 0; i < infobar_service->infobar_count(); ++i) ...
4 years, 3 months ago (2016-09-20 23:50:29 UTC) #190
braveyao
pkasting@, thanks so much for the comments! All addressed/responded. PTAL. https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode35 ...
4 years, 3 months ago (2016-09-21 00:35:55 UTC) #193
Peter Kasting
https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode35 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:35: for (size_t i = 0; i < infobar_service->infobar_count(); ++i) ...
4 years, 3 months ago (2016-09-21 04:07:27 UTC) #196
braveyao
pkasting@, thanks so much for the clarification! PTAL. Referring the existing codes sounds the best ...
4 years, 3 months ago (2016-09-21 21:04:02 UTC) #201
Peter Kasting
https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode35 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:35: for (size_t i = 0; i < infobar_service->infobar_count(); ++i) ...
4 years, 3 months ago (2016-09-21 21:39:44 UTC) #202
braveyao
pkasting@, Thanks again for the clarification. Deleted patchset27. Please check my responses to the two ...
4 years, 3 months ago (2016-09-21 22:42:21 UTC) #204
Peter Kasting
https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode35 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:35: for (size_t i = 0; i < infobar_service->infobar_count(); ++i) ...
4 years, 3 months ago (2016-09-21 23:00:32 UTC) #205
braveyao
pkasting@, got your concern now. Maybe I'm over-cautious to unfamiliar fields here. PTAL. https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File ...
4 years, 3 months ago (2016-09-21 23:43:18 UTC) #208
Peter Kasting
https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode124 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:124: base::ResetAndReturn(&callback_).Run(devices, result, std::move(ui)); On 2016/09/21 23:43:18, braveyao wrote: > ...
4 years, 3 months ago (2016-09-22 00:12:38 UTC) #211
braveyao
pkasting@, thanks a lot for all your help as it's a good learning. PTAL. https://codereview.chromium.org/2123863004/diff/640001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc ...
4 years, 3 months ago (2016-09-22 00:30:23 UTC) #214
Peter Kasting
LGTM https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode27 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:27: InfoBarService::FromWebContents(web_contents); Nit: It's kinda ugly, but it's shorter ...
4 years, 2 months ago (2016-09-23 01:07:19 UTC) #217
Peter Kasting
Apparently I had more comments. Still LGTM tho. https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode95 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:95: content::MediaStreamDevices ...
4 years, 2 months ago (2016-09-23 01:17:58 UTC) #218
braveyao
All addressed/responded. Thanks so much! https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode27 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:27: InfoBarService::FromWebContents(web_contents); On 2016/09/23 01:07:19, ...
4 years, 2 months ago (2016-09-23 18:40:55 UTC) #223
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/2123863004/760001
4 years, 2 months ago (2016-09-23 18:41:44 UTC) #226
Peter Kasting
https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc File chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc (right): https://codereview.chromium.org/2123863004/diff/740001/chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc#newcode27 chrome/browser/media/webrtc/screen_capture_infobar_delegate_android.cc:27: InfoBarService::FromWebContents(web_contents); On 2016/09/23 18:40:55, braveyao wrote: > On 2016/09/23 ...
4 years, 2 months ago (2016-09-23 18:46:03 UTC) #227
commit-bot: I haz the power
Committed patchset #30 (id:760001)
4 years, 2 months ago (2016-09-23 18:49:32 UTC) #229
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 18:52:24 UTC) #231
Message was sent while issue was closed.
Patchset 30 (id:??) landed as
https://crrev.com/dbb85e451ee0ffe9d18300befb9c0d0664b5ee94
Cr-Commit-Position: refs/heads/master@{#420679}

Powered by Google App Engine
This is Rietveld 408576698