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

Issue 195283003: Adds a hide button to the desktop capture notification bar. (Closed)

Created:
6 years, 9 months ago by jiayl
Modified:
6 years, 9 months ago
CC:
chromium-reviews, tfarina, vrk (LEFT CHROMIUM), juberti2
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Adds a hide button to the desktop capture notification bar. The new button is used to minimize the notification to the taskbar (or Mac Dock). It's designed to look like a link to differentiate itself from the "stop sharing" button, which is an action on desktop capture. BUG=316731 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256851

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix window icon not showing in Windows #

Total comments: 1

Patch Set 3 : add comment #

Total comments: 5

Patch Set 4 : #

Total comments: 7

Patch Set 5 : remove new string #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -22 lines) Patch
M chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm View 1 2 3 4 5 chunks +27 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa_unittest.mm View 3 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/ui/views/screen_capture_notification_ui_views.cc View 1 2 3 4 5 6 9 chunks +56 lines, -15 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
jiayl
PTAL. We've run this through security and UI team and are trying to merge it ...
6 years, 9 months ago (2014-03-11 22:51:39 UTC) #1
jiayl
On 2014/03/11 22:51:39, jiayl wrote: > PTAL. We've run this through security and UI team ...
6 years, 9 months ago (2014-03-11 22:52:08 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/195283003/diff/1/chrome/browser/ui/views/screen_capture_notification_ui_views.cc File chrome/browser/ui/views/screen_capture_notification_ui_views.cc (right): https://codereview.chromium.org/195283003/diff/1/chrome/browser/ui/views/screen_capture_notification_ui_views.cc#newcode210 chrome/browser/ui/views/screen_capture_notification_ui_views.cc:210: gfx::Size hide_link_size = child_at(3)->GetPreferredSize(); Please replace child_at(?) here with ...
6 years, 9 months ago (2014-03-11 23:45:37 UTC) #3
jiayl
https://codereview.chromium.org/195283003/diff/1/chrome/browser/ui/views/screen_capture_notification_ui_views.cc File chrome/browser/ui/views/screen_capture_notification_ui_views.cc (right): https://codereview.chromium.org/195283003/diff/1/chrome/browser/ui/views/screen_capture_notification_ui_views.cc#newcode210 chrome/browser/ui/views/screen_capture_notification_ui_views.cc:210: gfx::Size hide_link_size = child_at(3)->GetPreferredSize(); On 2014/03/11 23:45:38, Sergey Ulanov ...
6 years, 9 months ago (2014-03-11 23:54:34 UTC) #4
Robert Sesek
cocoa/ lgtm
6 years, 9 months ago (2014-03-12 00:27:05 UTC) #5
jiayl
PTAL https://codereview.chromium.org/195283003/diff/1/chrome/browser/ui/views/screen_capture_notification_ui_views.cc File chrome/browser/ui/views/screen_capture_notification_ui_views.cc (right): https://codereview.chromium.org/195283003/diff/1/chrome/browser/ui/views/screen_capture_notification_ui_views.cc#newcode297 chrome/browser/ui/views/screen_capture_notification_ui_views.cc:297: GetWidget()->Minimize(); Fixed now. Confirmed working on Linux/Windows/Mac. On ...
6 years, 9 months ago (2014-03-12 01:12:48 UTC) #6
jiayl
ben/msw, please review the ui/views change.
6 years, 9 months ago (2014-03-12 01:14:18 UTC) #7
Sergey Ulanov
lgtm https://codereview.chromium.org/195283003/diff/40001/chrome/browser/ui/views/screen_capture_notification_ui_views.cc File chrome/browser/ui/views/screen_capture_notification_ui_views.cc (right): https://codereview.chromium.org/195283003/diff/40001/chrome/browser/ui/views/screen_capture_notification_ui_views.cc#newcode293 chrome/browser/ui/views/screen_capture_notification_ui_views.cc:293: return false; Add comment to explain why we ...
6 years, 9 months ago (2014-03-12 01:18:00 UTC) #8
msw
Why doesn't this view hide itself after a delay like the fullscreen_exit_bubble? Was the plan ...
6 years, 9 months ago (2014-03-12 03:58:13 UTC) #9
jiayl
Please see https://docs.google.com/a/google.com/presentation/d/1VnCdaXpO7Hdfrj8SY0-rY_mtnM2kN1aZ3Am6vOkuWsk/edit?usp=sharing for background and screenshots. The security team and UX team have given ...
6 years, 9 months ago (2014-03-12 16:41:44 UTC) #10
jiayl
On 2014/03/12 16:41:44, jiayl wrote: > Please see > https://docs.google.com/a/google.com/presentation/d/1VnCdaXpO7Hdfrj8SY0-rY_mtnM2kN1aZ3Am6vOkuWsk/edit?usp=sharing > for background and screenshots. ...
6 years, 9 months ago (2014-03-12 16:44:37 UTC) #11
msw
https://codereview.chromium.org/195283003/diff/80001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/195283003/diff/80001/chrome/app/generated_resources.grd#newcode9624 chrome/app/generated_resources.grd:9624: + <message name="IDS_MEDIA_SCREEN_CAPTURE_NOTIFICATION_HIDE" desc="Text shown on the button that ...
6 years, 9 months ago (2014-03-12 18:32:24 UTC) #12
jiayl
PTAL. Thanks! https://codereview.chromium.org/195283003/diff/80001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/195283003/diff/80001/chrome/app/generated_resources.grd#newcode9624 chrome/app/generated_resources.grd:9624: + <message name="IDS_MEDIA_SCREEN_CAPTURE_NOTIFICATION_HIDE" desc="Text shown on the ...
6 years, 9 months ago (2014-03-12 19:08:34 UTC) #13
msw
shrug, reluctant lgtm with a nit... Posting a full picture of the UI change on ...
6 years, 9 months ago (2014-03-12 19:37:25 UTC) #14
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 9 months ago (2014-03-12 20:36:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/195283003/120001
6 years, 9 months ago (2014-03-12 20:38:37 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 20:39:12 UTC) #17
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/views/screen_capture_notification_ui_views.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-12 20:39:13 UTC) #18
jiayl
The CQ bit was unchecked by jiayl@chromium.org
6 years, 9 months ago (2014-03-12 20:39:13 UTC) #19
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 9 months ago (2014-03-12 20:42:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/195283003/140001
6 years, 9 months ago (2014-03-12 20:45:18 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 23:07:18 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-12 23:07:19 UTC) #23
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 9 months ago (2014-03-12 23:10:13 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/195283003/140001
6 years, 9 months ago (2014-03-12 23:11:23 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 23:18:07 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 9 months ago (2014-03-12 23:18:12 UTC) #27
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 9 months ago (2014-03-12 23:19:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/195283003/140001
6 years, 9 months ago (2014-03-12 23:21:46 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 23:26:50 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 9 months ago (2014-03-12 23:26:51 UTC) #31
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 9 months ago (2014-03-12 23:29:37 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/195283003/140001
6 years, 9 months ago (2014-03-12 23:32:06 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 02:14:47 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-13 02:14:48 UTC) #35
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 9 months ago (2014-03-13 16:08:53 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/195283003/140001
6 years, 9 months ago (2014-03-13 16:09:10 UTC) #37
commit-bot: I haz the power
6 years, 9 months ago (2014-03-13 17:03:38 UTC) #38
Message was sent while issue was closed.
Change committed as 256851

Powered by Google App Engine
This is Rietveld 408576698