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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gyp fixes 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
Index: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java
new file mode 100644
index 0000000000000000000000000000000000000000..207f396a2beea267f1c3256b05cae25eb91c11d6
--- /dev/null
+++ b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegate.java
@@ -0,0 +1,18 @@
+// 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.
+
+package org.chromium.android_webview;
+
+import org.chromium.base.JNINamespace;
+import org.chromium.chrome.browser.component.web_contents_delegate_android.WebContentsDelegateAndroid;
+
+/**
+ * WebView-specific WebContentsDelegate.
+ * This file is the Java version of the native class of the same name.
+ * It should contain empty WebContentsDelegate methods to be implemented by the embedder.
+ * These methods belong to WebView but are not shared with the Chromium Android port.
Jói 2012/08/21 12:17:08 Are you following an 80-column convention for Java
Leandro Graciá Gil 2012/08/21 16:17:42 No, the Java code style guidelines use 100-column
+ */
+@JNINamespace("android_webview")
+public class AwWebContentsDelegate extends WebContentsDelegateAndroid {
+}

Powered by Google App Engine
This is Rietveld 408576698