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

Unified Diff: android_webview/lib/main/webview_stubs.cc

Issue 10825155: Build target for Android WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove chrome/ changes Created 8 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
« no previous file with comments | « android_webview/lib/main/webview_main_delegate.cc ('k') | build/all_android.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/webview_stubs.cc
diff --git a/android_webview/lib/main/webview_stubs.cc b/android_webview/lib/main/webview_stubs.cc
new file mode 100644
index 0000000000000000000000000000000000000000..abdd15613df7e9f27ac0981ca35479024d7e4aed
--- /dev/null
+++ b/android_webview/lib/main/webview_stubs.cc
@@ -0,0 +1,27 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/android/tab_android.h"
+#include "chrome/browser/autofill/autofill_external_delegate.h"
+
+// This file contains temporary stubs to allow the libwebview target to compile.
+// They will be removed once real implementations are written/upstreamed, or
+// once other code is refactored to eliminate the need for them.
+
+// static
+TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
+ // We don't need to return a real TabAndroid object yet.
+ // Eventually, WebView will need its own TabAndroid implementation.
+ return NULL;
+}
+
+// static
+AutofillExternalDelegate* AutofillExternalDelegate::Create(
+ TabContents* tab_contents,
+ AutofillManager* manager) {
+ // We don't need to return a real AutofillExternalDelegate yet.
+ // Eventually, WebView will need an implementation (probably shared with
+ // Chrome).
+ return NULL;
+}
« no previous file with comments | « android_webview/lib/main/webview_main_delegate.cc ('k') | build/all_android.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698