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

Unified Diff: content/browser/tab_contents/web_contents_view_mac.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/web_contents_view_mac.h
===================================================================
--- content/browser/tab_contents/web_contents_view_mac.h (revision 126521)
+++ content/browser/tab_contents/web_contents_view_mac.h (working copy)
@@ -27,7 +27,7 @@
@class WebDragSource;
namespace content {
-class WebContentsViewMacDelegate;
+class WebContentsViewDelegate;
}
namespace gfx {
@@ -54,7 +54,7 @@
// because that's what was easiest when they were split.
// TODO(jam): make this take a WebContents once it's created from content.
WebContentsViewMac(content::WebContents* web_contents,
- content::WebContentsViewMacDelegate* delegate);
+ content::WebContentsViewDelegate* delegate);
virtual ~WebContentsViewMac();
// WebContentsView implementation --------------------------------------------
@@ -116,7 +116,7 @@
void CloseTab();
TabContents* tab_contents() { return tab_contents_; }
- content::WebContentsViewMacDelegate* delegate() { return delegate_.get(); }
+ content::WebContentsViewDelegate* delegate() { return delegate_.get(); }
private:
// The TabContents whose contents we display.
@@ -133,7 +133,7 @@
scoped_nsobject<FocusTracker> focus_tracker_;
// Our optional delegate.
- scoped_ptr<content::WebContentsViewMacDelegate> delegate_;
+ scoped_ptr<content::WebContentsViewDelegate> delegate_;
DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac);
};
@@ -144,14 +144,14 @@
namespace content {
class WebContents;
class WebContentsView;
-class WebContentsViewMacDelegate;
+class WebContentsViewDelegate;
}
namespace web_contents_view_mac {
// Creates a WebContentsViewMac. Takes ownership of |delegate|.
CONTENT_EXPORT content::WebContentsView* CreateWebContentsView(
content::WebContents* web_contents,
- content::WebContentsViewMacDelegate* delegate);
+ content::WebContentsViewDelegate* delegate);
}
#endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698