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

Side by Side Diff: android_webview/native/android_web_view_util.cc

Issue 10855171: Add a test runner for android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + update 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "android_webview/native/android_web_view_util.h"
6
7 #include "android_webview/native/aw_browser_dependency_factory.h"
8 #include "base/android/jni_android.h"
9 #include "jni/AndroidWebViewUtil_jni.h"
10
11 static jint CreateNativeWebContents(
12 JNIEnv* env, jclass clazz, jboolean incognito) {
13 android_webview::AwBrowserDependencyFactory* browser_deps =
14 android_webview::AwBrowserDependencyFactory::GetInstance();
15 return reinterpret_cast<jint>(browser_deps->CreateWebContents(incognito));
16 }
17
18 bool RegisterAndroidWebViewUtil(JNIEnv* env) {
19 return RegisterNativesImpl(env);
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698