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

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

Issue 10883008: Port the Extension Install Bubble changes to Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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) 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698