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

Unified Diff: chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc

Issue 10534098: TabContentsWrapper -> TabContents, part 51. (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/webui/constrained_web_dialog_delegate_base.cc
diff --git a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
index 14255c3f42e64492ea65c7c12a0d7ae1f815f00e..085db288bf9678e790c7db7e821532e36ee4ab46 100644
--- a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
+++ b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
@@ -9,7 +9,7 @@
#include "base/property_bag.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/constrained_window.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/web_dialogs/web_dialog_delegate.h"
@@ -32,7 +32,7 @@ ConstrainedWebDialogDelegateBase::ConstrainedWebDialogDelegateBase(
CHECK(delegate);
WebContents* web_contents =
WebContents::Create(profile, NULL, MSG_ROUTING_NONE, NULL, NULL);
- tab_.reset(new TabContentsWrapper(web_contents));
+ tab_.reset(new TabContents(web_contents));
if (tab_delegate) {
override_tab_delegate_.reset(tab_delegate);
web_contents->SetDelegate(tab_delegate);
@@ -90,7 +90,7 @@ ConstrainedWindow* ConstrainedWebDialogDelegateBase::window() {
return window_;
}
-TabContentsWrapper* ConstrainedWebDialogDelegateBase::tab() {
+TabContents* ConstrainedWebDialogDelegateBase::tab() {
return tab_.get();
}
« no previous file with comments | « chrome/browser/ui/webui/constrained_web_dialog_delegate_base.h ('k') | chrome/browser/ui/webui/downloads_dom_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698