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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AndroidWebViewUtil.java

Issue 10855171: Add a test runner for android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove infobars dep, add DEPS file to chrome/android/java 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 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 package org.chromium.android_webview;
6
7 /**
8 * This class provides a way to create the native WebContents.
9 */
10 public abstract class AndroidWebViewUtil {
11 // TODO(mkosiba): rename to ContentViewUtil when we stop linking against chr ome/ (or share the
12 // chrome/ ContentViewUtil).
13 private AndroidWebViewUtil() {
14 }
15
16 /**
17 * @return pointer to native WebContents instance, suitable for using with a
18 * (java) ContentViewCore instance.
19 */
20 public static int createNativeWebContents(boolean incognito) {
21 return nativeCreateNativeWebContents(incognito);
22 }
23
24 private static native int nativeCreateNativeWebContents(boolean incognito);
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698