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

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

Issue 9586009: Move TabContentsViewGtk's delegate to content\public\browser. Also name it a delegate instead of a … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents_view_gtk.h
===================================================================
--- content/browser/tab_contents/tab_contents_view_gtk.h (revision 124607)
+++ content/browser/tab_contents/tab_contents_view_gtk.h (working copy)
@@ -20,7 +20,7 @@
namespace content {
-class TabContentsViewWrapperGtk;
+class WebContentsViewGtkDelegate;
class WebDragDestDelegate;
class WebDragDestGtk;
class WebDragSourceGtk;
@@ -33,15 +33,15 @@
// |wrapper| which creates an intermediary widget layer for features from the
// Embedding layer that lives with the WebContentsView.
// TODO(jam): make this take a WebContents once it's created from content.
- explicit TabContentsViewGtk(content::WebContents* web_contents,
- TabContentsViewWrapperGtk* wrapper);
+ TabContentsViewGtk(content::WebContents* web_contents,
+ WebContentsViewGtkDelegate* delegate);
virtual ~TabContentsViewGtk();
// Override the stored focus widget. This call only makes sense when the
// tab contents is not focused.
void SetFocusedWidget(GtkWidget* widget);
- TabContentsViewWrapperGtk* wrapper() const { return view_wrapper_.get(); }
+ WebContentsViewGtkDelegate* delegate() const { return delegate_.get(); }
TabContents* tab_contents() { return tab_contents_; }
GtkWidget* expanded_container() { return expanded_.get(); }
WebContents* web_contents();
@@ -149,7 +149,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<TabContentsViewWrapperGtk> view_wrapper_;
+ scoped_ptr<WebContentsViewGtkDelegate> delegate_;
// The size we want the tab contents view to be. We keep this in a separate
// variable because resizing in GTK+ is async.
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/tab_contents/tab_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698