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

Issue 2168853003: Mac Picker UI: Screen Auto Selection (Closed)

Created:
4 years, 5 months ago by qiangchen
Modified:
4 years, 4 months ago
Reviewers:
tapted
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac Picker UI: Screen Auto Selection This CL improves usability of Desktop Capture Picker on Mac a little. 1. we auto select the first screen source, 2. we omit the label "Entire Screen" in the case there is only one screen, as this is redundant. BUG=580116, 630172 Committed: https://crrev.com/8ddd74f352bda12bbad52aebb20fe9b6126eae1f Cr-Commit-Position: refs/heads/master@{#407490}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Comment Fix #

Patch Set 3 : Unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -10 lines) Patch
M chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm View 1 2 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller_unittest.mm View 1 2 2 chunks +24 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/media_picker/desktop_media_picker_item.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/media_picker/desktop_media_picker_item.mm View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (16 generated)
qiangchen
Can you take a look? Thanks.
4 years, 5 months ago (2016-07-21 21:28:52 UTC) #3
tapted
looks like there's a failing test too https://codereview.chromium.org/2168853003/diff/1/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm File chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm (right): https://codereview.chromium.org/2168853003/diff/1/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm#newcode600 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm:600: id item ...
4 years, 5 months ago (2016-07-22 03:43:37 UTC) #10
qiangchen
Fixed the test, and added a test case. Fixed by comments Thanks https://codereview.chromium.org/2168853003/diff/1/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm File chrome/browser/ui/cocoa/media_picker/desktop_media_picker_controller.mm ...
4 years, 5 months ago (2016-07-22 18:33:57 UTC) #14
tapted
lgtm and thanks for the extra test case!
4 years, 4 months ago (2016-07-24 23:46:10 UTC) #17
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/2168853003/60001
4 years, 4 months ago (2016-07-25 15:55:39 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-07-25 16:34:48 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 16:36:47 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8ddd74f352bda12bbad52aebb20fe9b6126eae1f
Cr-Commit-Position: refs/heads/master@{#407490}

Powered by Google App Engine
This is Rietveld 408576698