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

Side by Side 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: Feedback addressed , tests added. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_CON TROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_CON TROLLER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #import "chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h "
11
12 // Displays the content filtering bubble. This is a bubble which is shown
13 // through content settings when the user proceeds through a Safe Browsing
14 // warning interstitial that is displayed when the site ahead contains deceptive
15 // embedded content. It explains to the user that some subresources were
16 // filtered and presents the checkbox to enable those resources. If the check
17 // box is checked, the OK button's text is replaced with Reload giving the user
18 // the ability to reload the page with the content we've blocked previously.
19 @interface SubresourceFilterBubbleController : ContentSettingBubbleController {
Robert Sesek 2017/05/05 16:53:34 nit: since there are no public instance variables,
shivanisha 2017/05/05 17:33:21 done
20 }
21
22 @end
23
24 // The methods on this category are used internally by the controller and are
25 // only exposed for testing purposes. DO NOT USE OTHERWISE.
26 @interface SubresourceFilterBubbleController (ExposedForTesting)
27 - (void)manageCheckboxChecked:(id)sender;
28 - (id)titleLabel;
29 - (id)messageLabel;
30 - (id)manageCheckbox;
31 - (id)doneButton;
32 @end
33
34 #endif // CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_ CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698