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

Unified Diff: content/browser/web_contents/web_contents_view_mac.h

Issue 10409029: Add a factory function to create WebContentsView implementations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android Created 8 years, 7 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/web_contents/web_contents_view_mac.h
===================================================================
--- content/browser/web_contents/web_contents_view_mac.h (revision 137865)
+++ content/browser/web_contents/web_contents_view_mac.h (working copy)
@@ -6,8 +6,6 @@
#define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
#pragma once
-#if defined(__OBJC__)
-
#import <Cocoa/Cocoa.h>
#include <string>
@@ -139,20 +137,4 @@
DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac);
};
-#endif // __OBJC__
-
-// Functions that may be accessed from non-Objective-C C/C++ code.
-namespace content {
-class WebContents;
-class WebContentsView;
-class WebContentsViewDelegate;
-}
-
-namespace web_contents_view_mac {
-// Creates a WebContentsViewMac. Takes ownership of |delegate|.
-CONTENT_EXPORT content::WebContentsView* CreateWebContentsView(
- WebContentsImpl* web_contents,
- content::WebContentsViewDelegate* delegate);
-}
-
#endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.cc ('k') | content/browser/web_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698