Index: chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
index 75bcdf4044fa78b9b671f1321795cabdb3eed2f4..6f485f08257f5f4f1f3ee4ffaa412378a05f5ff8 100644 |
--- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
+++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h |
@@ -8,17 +8,24 @@ |
#import <Cocoa/Cocoa.h> |
#include "base/memory/scoped_nsobject.h" |
+#include "chrome/browser/ui/cocoa/constrained_window_mac.h" |
#include "chrome/browser/ui/extensions/shell_window.h" |
#include "ui/gfx/rect.h" |
+#import "third_party/GTM/AppKit/GTMWindowSheetController.h" |
class Profile; |
class ShellWindowCocoa; |
// A window controller for a minimal window to host a web app view. Passes |
// Objective-C notifications to the C++ bridge. |
-@interface ShellWindowController : NSWindowController<NSWindowDelegate> { |
+@interface ShellWindowController : NSWindowController |
+ <NSWindowDelegate, |
+ GTMWindowSheetControllerDelegate, |
+ ConstrainedWindowSupport> { |
@private |
ShellWindowCocoa* shellWindow_; // Weak; owns self. |
Robert Sesek
2012/08/06 22:18:34
nit: two spaces btwn ; and //
sail
2012/08/09 00:25:54
Done.
|
+ // Manages per-tab sheets. |
jeremya
2012/08/05 22:32:47
nit: there are no tabs in shell windows :) perhaps
sail
2012/08/09 00:25:54
Done.
|
+ scoped_nsobject<GTMWindowSheetController> sheetController_; |
} |
@property(assign, nonatomic) ShellWindowCocoa* shellWindow; |