OLD | NEW |
---|---|
(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_ | |
OLD | NEW |