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

Side by Side Diff: chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h

Issue 2924353002: [Mac] Mirror content settings bubble in RTL. (Closed)
Patch Set: Created 3 years, 6 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Manages a "content blocked" bubble. 56 // Manages a "content blocked" bubble.
57 @interface ContentSettingBubbleController : OmniboxDecorationBubbleController { 57 @interface ContentSettingBubbleController : OmniboxDecorationBubbleController {
58 @protected 58 @protected
59 IBOutlet NSTextField* titleLabel_; 59 IBOutlet NSTextField* titleLabel_;
60 IBOutlet NSTextField* messageLabel_; 60 IBOutlet NSTextField* messageLabel_;
61 IBOutlet NSMatrix* allowBlockRadioGroup_; 61 IBOutlet NSMatrix* allowBlockRadioGroup_;
62 62
63 IBOutlet NSButton* manageButton_; 63 IBOutlet NSButton* manageButton_;
64 IBOutlet NSButton* doneButton_; 64 IBOutlet NSButton* doneButton_;
65 IBOutlet NSButton* loadButton_; 65 IBOutlet NSButton* loadButton_;
66 IBOutlet NSButton* infoButton_;
lgrey 2017/06/09 15:48:12 This was removed at some point (no specific commen
Avi (use Gerrit) 2017/06/09 17:41:05 Acknowledged.
66 67
67 std::unique_ptr<ContentSettingBubbleModel> contentSettingBubbleModel_; 68 std::unique_ptr<ContentSettingBubbleModel> contentSettingBubbleModel_;
68 69
69 @private 70 @private
70 // The container for the bubble contents of the geolocation bubble. 71 // The container for the bubble contents of the geolocation bubble.
71 IBOutlet NSView* contentsContainer_; 72 IBOutlet NSView* contentsContainer_;
72 73
73 IBOutlet NSTextField* blockedResourcesField_; 74 IBOutlet NSTextField* blockedResourcesField_;
74 75
75 std::unique_ptr<ContentSettingBubbleWebContentsObserverBridge> 76 std::unique_ptr<ContentSettingBubbleWebContentsObserverBridge>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 @end 129 @end
129 130
130 @interface ContentSettingBubbleController (TestingAPI) 131 @interface ContentSettingBubbleController (TestingAPI)
131 132
132 // Returns the weak reference to the |mediaMenus_|. 133 // Returns the weak reference to the |mediaMenus_|.
133 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus; 134 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus;
134 135
135 @end 136 @end
136 137
137 #endif // CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA _H_ 138 #endif // CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698