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

Unified Diff: chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm

Issue 12209110: Fix ContentSettingBubbleControllerTest.Init (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm b/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm
index 5e856a11ba2de79dda8146ae3a3ad456303d9195..369df1829537e03b8a45b8d9f107e7d2f80d8bca 100644
--- a/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm
+++ b/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm
@@ -123,6 +123,7 @@ NSTextField* LabelWithFrame(NSString* text, const NSRect& frame) {
nibPath = @"ContentBlockedCookies"; break;
case CONTENT_SETTINGS_TYPE_IMAGES:
case CONTENT_SETTINGS_TYPE_JAVASCRIPT:
+ case CONTENT_SETTINGS_TYPE_MEDIASTREAM:
case CONTENT_SETTINGS_TYPE_PPAPI_BROKER:
nibPath = @"ContentBlockedSimple"; break;
case CONTENT_SETTINGS_TYPE_PLUGINS:
@@ -135,8 +136,6 @@ NSTextField* LabelWithFrame(NSString* text, const NSRect& frame) {
nibPath = @"ContentBlockedMixedScript"; break;
case CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS:
nibPath = @"ContentProtocolHandlers"; break;
- case CONTENT_SETTINGS_TYPE_MEDIASTREAM:
- nibPath = @"ContentBlockedMedia"; break;
// These content types have no bubble:
case CONTENT_SETTINGS_TYPE_DEFAULT:
case CONTENT_SETTINGS_TYPE_NOTIFICATIONS:

Powered by Google App Engine
This is Rietveld 408576698