Chromium Code Reviews| 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_ |