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

Unified Diff: chrome/android/testshell/chrome_main_delegate_testshell_android.cc

Issue 10918113: Add initial Chromium TestShell support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up some of the code. 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
Index: chrome/android/testshell/chrome_main_delegate_testshell_android.cc
diff --git a/chrome/android/testshell/chrome_main_delegate_testshell_android.cc b/chrome/android/testshell/chrome_main_delegate_testshell_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9a3fe622653bcf7fea452e60557561d4c809e38a
--- /dev/null
+++ b/chrome/android/testshell/chrome_main_delegate_testshell_android.cc
@@ -0,0 +1,25 @@
+// 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/android/testshell/chrome_main_delegate_testshell_android.h"
+
+#include "base/android/jni_android.h"
+
+ChromeMainDelegateTestShellAndroid::ChromeMainDelegateTestShellAndroid() {
+}
+
+ChromeMainDelegateTestShellAndroid::~ChromeMainDelegateTestShellAndroid() {
+}
+
+bool ChromeMainDelegateTestShellAndroid::RegisterApplicationNativeMethods(
+ JNIEnv* env) {
+ // Register the generic Chrome JNI methods first. If that succeeds,
+ // proceed to register any extra JNI methods here.
+ if (!ChromeMainDelegateAndroid::RegisterApplicationNativeMethods(env))
+ return false;
+
+ // Add extra JNI methods if necessary here.
Yaron 2012/09/07 20:53:43 Are there really going to be others? I think you c
David Trainor- moved to gerrit 2012/09/10 18:09:13 For the rendering and tab components I already hav
+
+ return true;
+}

Powered by Google App Engine
This is Rietveld 408576698