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

Issue 12457016: Added "None available" title and grey out the media menu when there is no device. (Closed)

Created:
7 years, 9 months ago by no longer working on chromium
Modified:
7 years, 9 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Added "None available" title and grey out the media menu when there is no device. When capture device list is empty, we show a "None available" title to clearly tell the users there is no device, instead of having empty menu. This will also fix the problem when the height of the empty menu is not the same as the other menu with item. BUG=178383 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190028

Patch Set 1 #

Patch Set 2 : added "None available" title to the media menu when there is no device. #

Total comments: 2

Patch Set 3 : fixed the comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -6 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/content_setting_bubble_gtk.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 4 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
no longer working on chromium
Peter, could you please review this fix? And I also find 500 for kMaxContentsWidth is ...
7 years, 9 months ago (2013-03-07 15:32:30 UTC) #1
Peter Kasting
Instead of showing an empty list, can we dim the label and have the menu ...
7 years, 9 months ago (2013-03-07 17:00:16 UTC) #2
no longer working on chromium
On 2013/03/07 17:00:16, Peter Kasting wrote: > Instead of showing an empty list, can we ...
7 years, 9 months ago (2013-03-08 13:45:30 UTC) #3
Peter Kasting
On 2013/03/08 13:45:30, xians1 wrote: > On 2013/03/07 17:00:16, Peter Kasting wrote: > > Instead ...
7 years, 9 months ago (2013-03-11 21:03:32 UTC) #4
no longer working on chromium
Hi Peter, The UI designers decided to go for "None available", and I have already ...
7 years, 9 months ago (2013-03-21 12:11:07 UTC) #5
no longer working on chromium
Add sky in case Peter is not available. Could either of you please review the ...
7 years, 9 months ago (2013-03-22 12:16:17 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/12457016/diff/9001/chrome/browser/ui/views/content_setting_bubble_contents.cc File chrome/browser/ui/views/content_setting_bubble_contents.cc (right): https://codereview.chromium.org/12457016/diff/9001/chrome/browser/ui/views/content_setting_bubble_contents.cc#newcode342 chrome/browser/ui/views/content_setting_bubble_contents.cc:342: // Make sure the width is more than ...
7 years, 9 months ago (2013-03-22 19:43:13 UTC) #7
no longer working on chromium
https://codereview.chromium.org/12457016/diff/9001/chrome/browser/ui/views/content_setting_bubble_contents.cc File chrome/browser/ui/views/content_setting_bubble_contents.cc (right): https://codereview.chromium.org/12457016/diff/9001/chrome/browser/ui/views/content_setting_bubble_contents.cc#newcode342 chrome/browser/ui/views/content_setting_bubble_contents.cc:342: // Make sure the width is more than kMinMediaMenuButtonWidth, ...
7 years, 9 months ago (2013-03-23 16:03:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/12457016/17001
7 years, 9 months ago (2013-03-23 16:18:46 UTC) #9
no longer working on chromium
7 years, 9 months ago (2013-03-23 16:35:50 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r190028 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698