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

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

Issue 6258017: Mac: Never have a space between @property and ( (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
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_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROLLER _H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // References below are weak, being obtained from the nib. 67 // References below are weak, being obtained from the nib.
68 IBOutlet InfoBubbleView* infoBubbleView_; 68 IBOutlet InfoBubbleView* infoBubbleView_;
69 IBOutlet HoverCloseButton* closeButton_; 69 IBOutlet HoverCloseButton* closeButton_;
70 IBOutlet NSImageView* iconImage_; 70 IBOutlet NSImageView* iconImage_;
71 IBOutlet NSTextField* extensionInstalledMsg_; 71 IBOutlet NSTextField* extensionInstalledMsg_;
72 // Only shown for page actions and omnibox keywords. 72 // Only shown for page actions and omnibox keywords.
73 IBOutlet NSTextField* extraInfoMsg_; 73 IBOutlet NSTextField* extraInfoMsg_;
74 IBOutlet NSTextField* extensionInstalledInfoMsg_; 74 IBOutlet NSTextField* extensionInstalledInfoMsg_;
75 } 75 }
76 76
77 @property (nonatomic, readonly) const Extension* extension; 77 @property(nonatomic, readonly) const Extension* extension;
78 @property (nonatomic) BOOL pageActionRemoved; 78 @property(nonatomic) BOOL pageActionRemoved;
79 79
80 // Initialize the window, and then create observers to wait for the extension 80 // Initialize the window, and then create observers to wait for the extension
81 // to complete loading, or the browser window to close. 81 // to complete loading, or the browser window to close.
82 - (id)initWithParentWindow:(NSWindow*)parentWindow 82 - (id)initWithParentWindow:(NSWindow*)parentWindow
83 extension:(const Extension*)extension 83 extension:(const Extension*)extension
84 browser:(Browser*)browser 84 browser:(Browser*)browser
85 icon:(SkBitmap)icon; 85 icon:(SkBitmap)icon;
86 86
87 // Action for close button. 87 // Action for close button.
88 - (IBAction)closeWindow:(id)sender; 88 - (IBAction)closeWindow:(id)sender;
(...skipping 14 matching lines...) Expand all
103 - (NSWindow*)initializeWindow; 103 - (NSWindow*)initializeWindow;
104 - (int)calculateWindowHeight; 104 - (int)calculateWindowHeight;
105 - (void)setMessageFrames:(int)newWindowHeight; 105 - (void)setMessageFrames:(int)newWindowHeight;
106 - (NSRect)getExtensionInstalledMsgFrame; 106 - (NSRect)getExtensionInstalledMsgFrame;
107 - (NSRect)getExtraInfoMsgFrame; 107 - (NSRect)getExtraInfoMsgFrame;
108 - (NSRect)getExtensionInstalledInfoMsgFrame; 108 - (NSRect)getExtensionInstalledInfoMsgFrame;
109 109
110 @end // ExtensionInstalledBubbleController(ExposedForTesting) 110 @end // ExtensionInstalledBubbleController(ExposedForTesting)
111 111
112 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROL LER_H_ 112 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROL LER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698