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

Unified Diff: chrome/browser/ui/views/constrained_window_views.h

Issue 10540100: TabContentsWrapper -> TabContents, part 48. (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/views/constrained_window_views.h
diff --git a/chrome/browser/ui/views/constrained_window_views.h b/chrome/browser/ui/views/constrained_window_views.h
index 386c5f2a25c601d919c21fc5eacf3c2b63778006..3f24def24fd5c9fa71256530a1cb405e76c5c39f 100644
--- a/chrome/browser/ui/views/constrained_window_views.h
+++ b/chrome/browser/ui/views/constrained_window_views.h
@@ -13,7 +13,6 @@
#include "ui/views/widget/widget.h"
class TabContents;
-typedef TabContents TabContentsWrapper;
namespace views {
namespace internal {
@@ -59,12 +58,12 @@ class ConstrainedWindowViews : public views::Widget,
public ConstrainedWindow,
public NativeConstrainedWindowDelegate {
public:
- ConstrainedWindowViews(TabContentsWrapper* wrapper,
+ ConstrainedWindowViews(TabContents* tab_contents,
views::WidgetDelegate* widget_delegate);
virtual ~ConstrainedWindowViews();
- // Returns the TabContentsWrapper that constrains this Constrained Window.
- TabContentsWrapper* owner() const { return wrapper_; }
+ // Returns the TabContents that constrains this Constrained Window.
+ TabContents* owner() const { return tab_contents_; }
// Overridden from ConstrainedWindow:
virtual void ShowConstrainedWindow() OVERRIDE;
@@ -82,7 +81,7 @@ class ConstrainedWindowViews : public views::Widget,
virtual views::internal::NativeWidgetDelegate*
AsNativeWidgetDelegate() OVERRIDE;
- TabContentsWrapper* wrapper_;
+ TabContents* tab_contents_;
NativeConstrainedWindow* native_constrained_window_;
« no previous file with comments | « chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698