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 reload the page. If the check box is |
| 17 // checked, the OK button's text is replaced with 'Reload' giving the user |
| 18 // the ability to reload the page with filtering disabled. |
| 19 @interface SubresourceFilterBubbleController : ContentSettingBubbleController |
| 20 |
| 21 @end |
| 22 |
| 23 // The methods on this category are used internally by the controller and are |
| 24 // only exposed for testing purposes. DO NOT USE OTHERWISE. |
| 25 @interface SubresourceFilterBubbleController (ExposedForTesting) |
| 26 - (void)manageCheckboxChecked:(id)sender; |
| 27 - (id)titleLabel; |
| 28 - (id)messageLabel; |
| 29 - (id)manageCheckbox; |
| 30 - (id)doneButton; |
| 31 @end |
| 32 |
| 33 #endif // CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_
CONTROLLER_H_ |
OLD | NEW |