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

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. 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>
Robert Sesek 2017/05/03 22:05:11 nit: blank line after
shivanisha 2017/05/04 20:20:57 done
9 #import "chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h "
10
11 //@class ContentSettingBubbleController;
Robert Sesek 2017/05/03 22:05:11 Remove
shivanisha 2017/05/04 20:20:57 done
12
13 // Displays the content filtering bubble. This is a bubble which is shown
14 // through content settings when the user proceeds through a Safe Browsing
15 // warning interstitial that is displayed when the site ahead contains deceptive
16 // embedded content. It explains to the user that some subresources were
17 // filtered and presents the checkbox to enable those resources. If the check
18 // box is checked, the OK button's text is replaced with Reload giving the user
19 // the ability to reload the page with the content we've blocked previously.
20 @interface SubresourceFilterBubbleController : ContentSettingBubbleController {
Robert Sesek 2017/05/03 22:05:11 The modern Cocoa style is to not declare instance
shivanisha 2017/05/04 20:20:57 done
21 @private
22 IBOutlet NSButton* manageCheckbox_;
Robert Sesek 2017/05/03 22:05:11 |IBOutlet| is magic used for XIB files, so you don
shivanisha 2017/05/04 20:20:57 done
23 }
24
25 @end
26
27 #endif // CHROME_BROWSER_UI_COCOA_SUBRESOURCE_FILTER_SUBRESOURCE_FILTER_BUBBLE_ CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698