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

Unified Diff: chrome/browser/tab_contents/tab_contents_view_mac.mm

Issue 7717011: Get rid of static TabContentsView::Create function since the interface is in content, but the imp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix mac build Created 9 years, 4 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/tab_contents/tab_contents_view_mac.mm
===================================================================
--- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 97919)
+++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy)
@@ -61,10 +61,11 @@
- (void)viewDidBecomeFirstResponder:(NSNotification*)notification;
@end
-// static
-TabContentsView* TabContentsView::Create(TabContents* tab_contents) {
+namespace tab_contents_view_mac {
+TabContentsView* CreateTabContentsView(TabContents* tab_contents) {
return new TabContentsViewMac(tab_contents);
}
+}
TabContentsViewMac::TabContentsViewMac(TabContents* tab_contents)
: tab_contents_(tab_contents),
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_mac.h ('k') | chrome/browser/ui/views/tab_contents/tab_contents_view_touch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698