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

Side by Side Diff: chrome/browser/cocoa/extension_installed_bubble_controller.h

Issue 2769014: Mac/clang: Possibly contentious changes. (Closed)
Patch Set: comments2 Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COCOA_EXTENSION_INSTALLED_BUBBLE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/cocoa_protocols_mac.h" 10 #import "base/cocoa_protocols_mac.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // References below are weak, being obtained from the nib. 65 // References below are weak, being obtained from the nib.
66 IBOutlet InfoBubbleView* infoBubbleView_; 66 IBOutlet InfoBubbleView* infoBubbleView_;
67 IBOutlet HoverCloseButton* closeButton_; 67 IBOutlet HoverCloseButton* closeButton_;
68 IBOutlet NSImageView* iconImage_; 68 IBOutlet NSImageView* iconImage_;
69 IBOutlet NSTextField* extensionInstalledMsg_; 69 IBOutlet NSTextField* extensionInstalledMsg_;
70 IBOutlet NSTextField* pageActionInfoMsg_; // Only shown for page actions. 70 IBOutlet NSTextField* pageActionInfoMsg_; // Only shown for page actions.
71 IBOutlet NSTextField* extensionInstalledInfoMsg_; 71 IBOutlet NSTextField* extensionInstalledInfoMsg_;
72 } 72 }
73 73
74 @property (readonly) Extension* extension; 74 @property (nonatomic, readonly) Extension* extension;
75 @property BOOL pageActionRemoved; 75 @property (nonatomic) BOOL pageActionRemoved;
76 76
77 // Initialize the window, and then create observers to wait for the extension 77 // Initialize the window, and then create observers to wait for the extension
78 // to complete loading, or the browser window to close. 78 // to complete loading, or the browser window to close.
79 - (id)initWithParentWindow:(NSWindow*)parentWindow 79 - (id)initWithParentWindow:(NSWindow*)parentWindow
80 extension:(Extension*)extension 80 extension:(Extension*)extension
81 browser:(Browser*)browser 81 browser:(Browser*)browser
82 icon:(SkBitmap)icon; 82 icon:(SkBitmap)icon;
83 83
84 // Action for close button. 84 // Action for close button.
85 - (IBAction)closeWindow:(id)sender; 85 - (IBAction)closeWindow:(id)sender;
(...skipping 10 matching lines...) Expand all
96 - (NSWindow*)initializeWindow; 96 - (NSWindow*)initializeWindow;
97 - (int)calculateWindowHeight; 97 - (int)calculateWindowHeight;
98 - (void)setMessageFrames:(int)newWindowHeight; 98 - (void)setMessageFrames:(int)newWindowHeight;
99 - (NSRect)getExtensionInstalledMsgFrame; 99 - (NSRect)getExtensionInstalledMsgFrame;
100 - (NSRect)getPageActionInfoMsgFrame; 100 - (NSRect)getPageActionInfoMsgFrame;
101 - (NSRect)getExtensionInstalledInfoMsgFrame; 101 - (NSRect)getExtensionInstalledInfoMsgFrame;
102 102
103 @end // ExtensionInstalledBubbleController(ExposedForTesting) 103 @end // ExtensionInstalledBubbleController(ExposedForTesting)
104 104
105 #endif // CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_CONTROLLER_H_ 105 #endif // CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698