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

Unified Diff: chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm

Issue 10534093: TabContentsWrapper -> TabContents, part 37. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_web_dialog_delegate_mac.mm
diff --git a/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm b/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
index c50db2fa569829a552d6dd8ec0b51dbe69c737a3..77a42a0b5e24f8528f51d95fdb36d95276975c6c 100644
--- a/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
+++ b/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
@@ -8,7 +8,7 @@
#include "base/memory/scoped_nsobject.h"
#include "chrome/browser/ui/cocoa/constrained_window_mac.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/webui/web_dialog_web_contents_delegate.h"
#include "content/public/browser/web_contents.h"
#include "ui/gfx/size.h"
@@ -51,7 +51,7 @@ class ConstrainedWebDialogDelegateMac :
virtual ConstrainedWindow* window() OVERRIDE {
return impl_->window();
}
- virtual TabContentsWrapper* tab() OVERRIDE {
+ virtual TabContents* tab() OVERRIDE {
return impl_->tab();
}
@@ -120,14 +120,14 @@ ConstrainedWebDialogDelegate* ui::CreateConstrainedWebDialog(
Profile* profile,
WebDialogDelegate* delegate,
WebDialogWebContentsDelegate* tab_delegate,
- TabContentsWrapper* wrapper) {
+ TabContents* tab_contents) {
// Deleted when ConstrainedWebDialogDelegateMac::DeleteDelegate() runs.
ConstrainedWebDialogDelegateMac* constrained_delegate =
new ConstrainedWebDialogDelegateMac(profile, delegate, tab_delegate);
// Deleted when ConstrainedWebDialogDelegateMac::OnDialogCloseFromWebUI()
// runs.
ConstrainedWindow* constrained_window =
- new ConstrainedWindowMac(wrapper, constrained_delegate);
+ new ConstrainedWindowMac(tab_contents, constrained_delegate);
constrained_delegate->set_window(constrained_window);
return constrained_delegate;
}
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_private.mm ('k') | chrome/browser/ui/cocoa/constrained_window_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698