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

Unified Diff: content/test/test_content_browser_client.cc

Issue 10933091: Enable a minimal content/ build on iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@rohits-image-change
Patch Set: Rebase Created 8 years, 3 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 | « content/public/test/unittest_test_suite.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_browser_client.cc
diff --git a/content/test/test_content_browser_client.cc b/content/test/test_content_browser_client.cc
index e06bff3ae78d84b0eee44eafc08206e2f27f75f7..de7be0636351ec68e11a94973f5e11083e7d7e31 100644
--- a/content/test/test_content_browser_client.cc
+++ b/content/test/test_content_browser_client.cc
@@ -10,8 +10,6 @@
#include "base/logging.h"
#include "content/test/test_web_contents_view.h"
#include "googleurl/src/gurl.h"
-#include "third_party/skia/include/core/SkBitmap.h"
-#include "ui/base/clipboard/clipboard.h"
namespace content {
@@ -24,9 +22,13 @@ TestContentBrowserClient::~TestContentBrowserClient() {
WebContentsView* TestContentBrowserClient::OverrideCreateWebContentsView(
WebContents* web_contents,
RenderViewHostDelegateView** render_view_host_delegate_view) {
+#if defined(OS_IOS)
+ return NULL;
+#else
TestWebContentsView* rv = new TestWebContentsView;
*render_view_host_delegate_view = rv;
return rv;
+#endif
}
FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() {
« no previous file with comments | « content/public/test/unittest_test_suite.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698