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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm

Issue 11111022: Remove TabContents from constrained windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unrelated gtk code Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm
index 942105c82169c3592376e420afe89a239354e434..b02ceadc84968901a37c3e40733acdc2ca0bf84f 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm
@@ -7,7 +7,6 @@
#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.h"
#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.h"
#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h"
-#include "chrome/browser/ui/tab_contents/tab_contents.h"
@interface ConstrainedWindowController ()
- (void)onEmbeddedViewFrameDidChange:(NSNotification*)note;
@@ -30,8 +29,7 @@
name:NSViewFrameDidChangeNotification
object:embeddedView];
- constrainedWindow_ = new ConstrainedWindowMac2(
- TabContents::FromWebContents(parentWebContents), window);
+ constrainedWindow_ = new ConstrainedWindowMac2(parentWebContents, window);
}
return self;
}

Powered by Google App Engine
This is Rietveld 408576698