| Index: chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
|
| index b32ac75d0ad2f08bb6a137dbc5b86aad62402986..65e819feb11d104ff38801db79868ecd979ae2d3 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
|
| @@ -64,23 +64,13 @@
|
| [[self window] makeKeyAndOrderFront:self];
|
| }
|
|
|
| -- (void)attachConstrainedWindow:(ConstrainedWindowMac*)window {
|
| +- (GTMWindowSheetController*)sheetController {
|
| if (!sheetController_.get()) {
|
| sheetController_.reset([[GTMWindowSheetController alloc]
|
| initWithWindow:[self window]
|
| delegate:self]);
|
| }
|
| -
|
| - NSView* tabContentsView =
|
| - [window->owner()->web_contents()->GetNativeView() superview];
|
| - window->delegate()->RunSheet(sheetController_, tabContentsView);
|
| -}
|
| -
|
| -- (void)removeConstrainedWindow:(ConstrainedWindowMac*)window {
|
| -}
|
| -
|
| -- (BOOL)canAttachConstrainedWindow {
|
| - return YES;
|
| + return sheetController_;
|
| }
|
|
|
| - (void)executeCommand:(int)command {
|
|
|