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

Unified Diff: content/browser/tab_contents/tab_contents_view_gtk.h

Issue 9700023: Move creation of content TabContentsViews to content so that we can hide these headers through DEPS… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 9 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: content/browser/tab_contents/tab_contents_view_gtk.h
===================================================================
--- content/browser/tab_contents/tab_contents_view_gtk.h (revision 126521)
+++ content/browser/tab_contents/tab_contents_view_gtk.h (working copy)
@@ -20,7 +20,7 @@
namespace content {
-class WebContentsViewGtkDelegate;
+class WebContentsViewDelegate;
class WebDragDestDelegate;
class WebDragDestGtk;
class WebDragSourceGtk;
@@ -34,21 +34,18 @@
// Embedding layer that lives with the WebContentsView.
// TODO(jam): make this take a WebContents once it's created from content.
TabContentsViewGtk(content::WebContents* web_contents,
- WebContentsViewGtkDelegate* delegate);
+ WebContentsViewDelegate* delegate);
virtual ~TabContentsViewGtk();
// Override the stored focus widget. This call only makes sense when the
// tab contents is not focused.
void SetFocusedWidget(GtkWidget* widget);
- WebContentsViewGtkDelegate* delegate() const { return delegate_.get(); }
+ WebContentsViewDelegate* delegate() const { return delegate_.get(); }
TabContents* tab_contents() { return tab_contents_; }
GtkWidget* expanded_container() { return expanded_.get(); }
WebContents* web_contents();
- // Allows our embeder to intercept incoming drag messages.
- void SetDragDestDelegate(WebDragDestDelegate* delegate);
-
// WebContentsView implementation --------------------------------------------
virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
@@ -147,7 +144,7 @@
// Our optional views wrapper. If non-NULL, we return this widget as our
// GetNativeView() and insert |expanded_| as its child in the GtkWidget
// hierarchy.
- scoped_ptr<WebContentsViewGtkDelegate> delegate_;
+ scoped_ptr<WebContentsViewDelegate> delegate_;
// The size we want the tab contents view to be. We keep this in a separate
// variable because resizing in GTK+ is async.

Powered by Google App Engine
This is Rietveld 408576698