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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.h

Issue 1407103008: mac: Stop using __weak. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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/autofill/autofill_popup_view_cocoa.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "ui/base/cocoa/base_view.h" 10 #import "ui/base/cocoa/base_view.h"
11 11
12 namespace autofill { 12 namespace autofill {
13 class AutofillPopupViewDelegate; 13 class AutofillPopupViewDelegate;
14 } 14 }
15 15
16 @interface AutofillPopupBaseViewCocoa : BaseView { 16 @interface AutofillPopupBaseViewCocoa : BaseView {
17 @private 17 @private
18 __weak autofill::AutofillPopupViewDelegate* delegate_; 18 autofill::AutofillPopupViewDelegate* delegate_; // weak
19 } 19 }
20 20
21 - (NSColor*)backgroundColor; 21 - (NSColor*)backgroundColor;
22 - (NSColor*)borderColor; 22 - (NSColor*)borderColor;
23 - (NSColor*)highlightColor; 23 - (NSColor*)highlightColor;
24 - (NSColor*)nameColor; 24 - (NSColor*)nameColor;
25 - (NSColor*)separatorColor; 25 - (NSColor*)separatorColor;
26 - (NSColor*)subtextColor; 26 - (NSColor*)subtextColor;
27 - (NSColor*)warningColor; 27 - (NSColor*)warningColor;
28 28
(...skipping 10 matching lines...) Expand all
39 // Draws a thin separator in the popup UI. 39 // Draws a thin separator in the popup UI.
40 - (void)drawSeparatorWithBounds:(NSRect)bounds; 40 - (void)drawSeparatorWithBounds:(NSRect)bounds;
41 41
42 // Messages from AutofillPopupViewBridge: 42 // Messages from AutofillPopupViewBridge:
43 - (void)updateBoundsAndRedrawPopup; 43 - (void)updateBoundsAndRedrawPopup;
44 - (void)showPopup; 44 - (void)showPopup;
45 - (void)hidePopup; 45 - (void)hidePopup;
46 @end 46 @end
47 47
48 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_COCOA_H_ 48 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_COCOA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698