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

Issue 1990053002: Desktop Capture Picker New UI: Non Mac Appearance Change (Closed)

Created:
4 years, 7 months ago by qiangchen
Modified:
4 years, 7 months ago
Reviewers:
Sergey Ulanov, msw, sky
CC:
chromium-reviews, feature-media-reviews_chromium.org, tfarina, mcasas+watch+vc_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

Desktop Capture Picker New UI: Non Mac Appearance Change In this CL, we changed the detailed appearance of DesktopMediaSourceView. Technically, we made a struct and plug in as parameter to implement different styles. TBR=sergeyu@chromium.org BUG=602478 Committed: https://crrev.com/d86a0fe62259a05cd15b01165171fcb0baad85ef Cr-Commit-Position: refs/heads/master@{#396322}

Patch Set 1 #

Total comments: 73

Patch Set 2 : Comments Resolved #

Total comments: 13

Patch Set 3 : Comments Resolved #

Total comments: 26

Patch Set 4 : Nit Fixes #

Total comments: 4

Patch Set 5 : Nit fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -111 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/media/tab_desktop_media_list.cc View 1 2 chunks +7 lines, -28 lines 0 comments Download
M chrome/browser/media/tab_desktop_media_list_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_list_view.h View 1 2 3 3 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc View 1 2 3 4 8 chunks +54 lines, -29 lines 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.h View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc View 1 2 3 4 11 chunks +72 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_source_view.h View 1 2 3 4 4 chunks +36 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc View 1 2 3 4 6 chunks +68 lines, -20 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
qiangchen
Can you take a look? The style change of the source view.
4 years, 7 months ago (2016-05-19 16:45:28 UTC) #5
msw
https://codereview.chromium.org/1990053002/diff/40001/chrome/browser/media/tab_desktop_media_list.cc File chrome/browser/media/tab_desktop_media_list.cc (left): https://codereview.chromium.org/1990053002/diff/40001/chrome/browser/media/tab_desktop_media_list.cc#oldcode127 chrome/browser/media/tab_desktop_media_list.cc:127: IDS_DESKTOP_MEDIA_PICKER_CHROME_TAB_TITLE, contents->GetTitle()); Remove IDS_DESKTOP_MEDIA_PICKER_CHROME_TAB_TITLE if it's no longer used. ...
4 years, 7 months ago (2016-05-20 23:26:38 UTC) #7
qiangchen
Fixed and replied. Thanks. https://codereview.chromium.org/1990053002/diff/40001/chrome/browser/media/tab_desktop_media_list.cc File chrome/browser/media/tab_desktop_media_list.cc (left): https://codereview.chromium.org/1990053002/diff/40001/chrome/browser/media/tab_desktop_media_list.cc#oldcode127 chrome/browser/media/tab_desktop_media_list.cc:127: IDS_DESKTOP_MEDIA_PICKER_CHROME_TAB_TITLE, contents->GetTitle()); On 2016/05/20 23:26:35, ...
4 years, 7 months ago (2016-05-24 00:03:38 UTC) #8
msw
https://codereview.chromium.org/1990053002/diff/40001/chrome/browser/ui/views/desktop_capture/desktop_media_list_view.h File chrome/browser/ui/views/desktop_capture/desktop_media_list_view.h (right): https://codereview.chromium.org/1990053002/diff/40001/chrome/browser/ui/views/desktop_capture/desktop_media_list_view.h#newcode22 chrome/browser/ui/views/desktop_capture/desktop_media_list_view.h:22: DesktopMediaSourceViewStyle single_style, On 2016/05/24 00:03:37, qiangchenC wrote: > On ...
4 years, 7 months ago (2016-05-24 18:54:25 UTC) #9
qiangchen
Fixed most. Let's first pend whether apply different style for single and multiple screens. https://codereview.chromium.org/1990053002/diff/40001/chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.cc ...
4 years, 7 months ago (2016-05-25 16:24:09 UTC) #10
msw
Okay, we can support single & generic styling for screens. https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc File chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc (left): https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc#oldcode29 ...
4 years, 7 months ago (2016-05-25 17:22:13 UTC) #11
qiangchen
fix and replied https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc File chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc (left): https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc#oldcode29 chrome/browser/ui/views/desktop_capture/desktop_media_list_view.cc:29: gfx::Size(DesktopMediaPickerDialogView::kThumbnailWidth, On 2016/05/25 17:22:12, msw wrote: ...
4 years, 7 months ago (2016-05-25 20:27:30 UTC) #12
msw
mostly lg, just a couple comments. https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc File chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc (right): https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc#newcode122 chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc:122: if (selected_) { ...
4 years, 7 months ago (2016-05-26 20:50:33 UTC) #13
qiangchen
fixed https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc File chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc (right): https://codereview.chromium.org/1990053002/diff/80001/chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc#newcode122 chrome/browser/ui/views/desktop_capture/desktop_media_source_view.cc:122: if (selected_) { On 2016/05/26 20:50:33, msw wrote: ...
4 years, 7 months ago (2016-05-26 21:38:38 UTC) #14
msw
lgtm; thanks for bearing with my heavy feedback.
4 years, 7 months ago (2016-05-26 22:13:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990053002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990053002/120001
4 years, 7 months ago (2016-05-26 22:15:52 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/190766)
4 years, 7 months ago (2016-05-26 22:24:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990053002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990053002/120001
4 years, 7 months ago (2016-05-26 22:36:18 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 7 months ago (2016-05-26 23:47:57 UTC) #25
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/d86a0fe62259a05cd15b01165171fcb0baad85ef Cr-Commit-Position: refs/heads/master@{#396322}
4 years, 7 months ago (2016-05-26 23:50:06 UTC) #27
msw
On 2016/05/26 23:50:06, commit-bot: I haz the power wrote: > Patchset 5 (id:??) landed as ...
4 years, 7 months ago (2016-05-27 00:11:46 UTC) #28
qiangchen
4 years, 7 months ago (2016-05-27 01:34:55 UTC) #29
Message was sent while issue was closed.
On 2016/05/27 00:11:46, msw wrote:
> On 2016/05/26 23:50:06, commit-bot: I haz the power wrote:
> > Patchset 5 (id:??) landed as
> > https://crrev.com/d86a0fe62259a05cd15b01165171fcb0baad85ef
> > Cr-Commit-Position: refs/heads/master@{#396322}
> 
> This doesn't seem as urgent or trivial as most valid TBR'ed changes.

Sorry, but my thinking is that this is not the last CL for the UI change.
My next CL changing Mac UI will depend on some changes of this CL.
If sergeyu@ has some comments on tab_media_list, I can fix them in the Mac CL,
as this is the common code path for both Mac and NonMac UI.

Powered by Google App Engine
This is Rietveld 408576698