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

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: Whitespace 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 @interface ContentSettingBubbleController 58 @interface ContentSettingBubbleController
59 : OmniboxDecorationBubbleController<NSTouchBarDelegate> { 59 : OmniboxDecorationBubbleController<NSTouchBarDelegate> {
60 @protected 60 @protected
61 IBOutlet NSTextField* titleLabel_; 61 IBOutlet NSTextField* titleLabel_;
62 IBOutlet NSTextField* messageLabel_; 62 IBOutlet NSTextField* messageLabel_;
63 IBOutlet NSMatrix* allowBlockRadioGroup_; 63 IBOutlet NSMatrix* allowBlockRadioGroup_;
64 64
65 IBOutlet NSButton* manageButton_; 65 IBOutlet NSButton* manageButton_;
66 IBOutlet NSButton* doneButton_; 66 IBOutlet NSButton* doneButton_;
67 IBOutlet NSButton* loadButton_; 67 IBOutlet NSButton* loadButton_;
68 IBOutlet NSButton* infoButton_;
68 69
69 std::unique_ptr<ContentSettingBubbleModel> contentSettingBubbleModel_; 70 std::unique_ptr<ContentSettingBubbleModel> contentSettingBubbleModel_;
70 71
71 @private 72 @private
72 // The container for the bubble contents of the geolocation bubble. 73 // The container for the bubble contents of the geolocation bubble.
73 IBOutlet NSView* contentsContainer_; 74 IBOutlet NSView* contentsContainer_;
74 75
75 IBOutlet NSTextField* blockedResourcesField_; 76 IBOutlet NSTextField* blockedResourcesField_;
76 77
77 std::unique_ptr<ContentSettingBubbleWebContentsObserverBridge> 78 std::unique_ptr<ContentSettingBubbleWebContentsObserverBridge>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 @end 134 @end
134 135
135 @interface ContentSettingBubbleController (TestingAPI) 136 @interface ContentSettingBubbleController (TestingAPI)
136 137
137 // Returns the weak reference to the |mediaMenus_|. 138 // Returns the weak reference to the |mediaMenus_|.
138 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus; 139 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus;
139 140
140 @end 141 @end
141 142
142 #endif // CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA _H_ 143 #endif // CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_COCOA _H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698