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

Unified Diff: chrome/browser/ui/gtk/constrained_window_gtk.h

Issue 10545115: TabContentsWrapper -> TabContents, part 41. (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/gtk/constrained_window_gtk.h
diff --git a/chrome/browser/ui/gtk/constrained_window_gtk.h b/chrome/browser/ui/gtk/constrained_window_gtk.h
index 410dba3a7467ba7dedd7322ffd7d5a8fe03d06ea..0e0e1c37a8fd13920ff5cc0af17c7bbf96212ae3 100644
--- a/chrome/browser/ui/gtk/constrained_window_gtk.h
+++ b/chrome/browser/ui/gtk/constrained_window_gtk.h
@@ -16,7 +16,6 @@
#include "ui/base/gtk/owned_widget_gtk.h"
class TabContents;
-typedef TabContents TabContentsWrapper;
typedef struct _GdkColor GdkColor;
class ChromeWebContentsViewDelegateGtk;
@@ -48,7 +47,7 @@ class ConstrainedWindowGtk : public ConstrainedWindow {
public:
typedef ChromeWebContentsViewDelegateGtk TabContentsViewType;
- ConstrainedWindowGtk(TabContentsWrapper* wrapper,
+ ConstrainedWindowGtk(TabContents* tab_contents,
ConstrainedWindowGtkDelegate* delegate);
virtual ~ConstrainedWindowGtk();
@@ -57,8 +56,8 @@ class ConstrainedWindowGtk : public ConstrainedWindow {
virtual void CloseConstrainedWindow() OVERRIDE;
virtual void FocusConstrainedWindow() OVERRIDE;
- // 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_; }
// Returns the toplevel widget that displays this "window".
GtkWidget* widget() { return border_.get(); }
@@ -75,8 +74,8 @@ class ConstrainedWindowGtk : public ConstrainedWindow {
CHROMEGTK_CALLBACK_1(ConstrainedWindowGtk, void, OnHierarchyChanged,
GtkWidget*);
- // The TabContentsWrapper that owns and constrains this ConstrainedWindow.
- TabContentsWrapper* wrapper_;
+ // The TabContents that owns and constrains this ConstrainedWindow.
+ TabContents* tab_contents_;
// The top level widget container that exports to our WebContentsView.
ui::OwnedWidgetGtk border_;
« no previous file with comments | « chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc ('k') | chrome/browser/ui/gtk/constrained_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698