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

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

Issue 2171713002: Safe browsing subresource filter bubble UI skeleton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove empty line Created 4 years, 5 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 d22342117b84979dbb9ae8b600294c0caf02bb3f..24f5f1a715cf61da4cb69b8b27a34d6152a74538 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
@@ -285,6 +285,9 @@ const ContentTypeToNibPath kNibPaths[] = {
if (model->AsMediaStreamBubbleModel())
nibPath = @"ContentBlockedMedia";
+ if (model->AsSubresourceFilterBubbleModel())
Bernhard Bauer 2016/07/27 19:27:44 Doing all of these checks in sequence feels a bit
melandory 2016/07/28 14:04:56 Done.
+ nibPath = @"ContentSubresourceFilter";
+
DCHECK_NE(0u, [nibPath length]);
if ((self = [super initWithWindowNibPath:nibPath

Powered by Google App Engine
This is Rietveld 408576698