Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_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 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 103 // Clears our weak pointer to the Extension. This callback is triggered by | 103 // Clears our weak pointer to the Extension. This callback is triggered by |
| 104 // the extensionObserver when the extension is unloaded. | 104 // the extensionObserver when the extension is unloaded. |
| 105 - (void)extensionUnloaded:(id)sender; | 105 - (void)extensionUnloaded:(id)sender; |
| 106 | 106 |
| 107 @end | 107 @end |
| 108 | 108 |
| 109 @interface ExtensionInstalledBubbleController (ExposedForTesting) | 109 @interface ExtensionInstalledBubbleController (ExposedForTesting) |
| 110 | 110 |
| 111 - (void)removePageActionPreviewIfNecessary; | 111 - (void)removePageActionPreviewIfNecessary; |
| 112 - (NSWindow*)initializeWindow; | 112 - (NSWindow*)initializeWindow; |
| 113 - (NSString*)getResourceIdForExtensionAction; | |
|
Nico
2012/08/27 19:08:41
nit: This returns a string, not an Id, so it shoul
| |
| 113 - (int)calculateWindowHeight; | 114 - (int)calculateWindowHeight; |
| 114 - (void)setMessageFrames:(int)newWindowHeight; | 115 - (void)setMessageFrames:(int)newWindowHeight; |
| 115 - (NSRect)getExtensionInstalledMsgFrame; | 116 - (NSRect)getExtensionInstalledMsgFrame; |
| 116 - (NSRect)getExtraInfoMsgFrame; | 117 - (NSRect)getExtraInfoMsgFrame; |
| 117 - (NSRect)getExtensionInstalledInfoMsgFrame; | 118 - (NSRect)getExtensionInstalledInfoMsgFrame; |
| 118 | 119 |
| 119 @end // ExtensionInstalledBubbleController(ExposedForTesting) | 120 @end // ExtensionInstalledBubbleController(ExposedForTesting) |
| 120 | 121 |
| 121 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROL LER_H_ | 122 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_CONTROL LER_H_ |
| OLD | NEW |