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. |