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

Unified Diff: chrome/browser/ui/cocoa/subresource_filter/subresource_filter_bubble_controller.h

Issue 2826233002: [subresource_filter] Mac UI updated and xib replaced with code based layout. (Closed)
Patch Set: Initial patch Created 3 years, 8 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/subresource_filter/subresource_filter_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/subresource_filter/subresource_filter_bubble_controller.h b/chrome/browser/ui/cocoa/subresource_filter/subresource_filter_bubble_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..f6e393d19efc1cf5db92c5a645c3dc71421f6e58
--- /dev/null
+++ b/chrome/browser/ui/cocoa/subresource_filter/subresource_filter_bubble_controller.h
@@ -0,0 +1,28 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
Robert Sesek 2017/05/02 21:51:47 2017
shivanisha 2017/05/03 18:10:36 done in both new files.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_CONTROLLER_H_
+#define CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_CONTROLLER_H_
+
+#import <Cocoa/Cocoa.h>
+
+#include <memory>
Robert Sesek 2017/05/02 21:51:47 Unused
shivanisha 2017/05/03 18:10:36 removed
+
+#include "base/mac/scoped_nsobject.h"
Robert Sesek 2017/05/02 21:51:47 Unused.
shivanisha 2017/05/03 18:10:35 removed
+
+@class ContentSettingBubbleController;
+
+// Displays the content filtering bubble. This is a bubble which is shown
+// through content settings when the user proceeds through a Safe Browsing
+// warning interstitial that is displayed when the site ahead contains deceptive
+// embedded content. It explains to the user that some subresources were
+// filtered and presents the checkbox to enable those resources. If the check
+// box is checked, the OK button's text is replaced with Reload giving the user
+// the ability to reload the page with the content we've blocked previously.
+@interface SubresourceFilterBubbleController : ContentSettingBubbleController {
+}
+
+@end
+
+#endif // CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698