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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/JavaScriptCallback.java

Issue 464393002: Restructuring WebContents functions from ContentViewCore to WebContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed C++ variable naming issues. Created 6 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: content/public/android/java/src/org/chromium/content_public/browser/JavaScriptCallback.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/JavaScriptCallback.java b/content/public/android/java/src/org/chromium/content_public/browser/JavaScriptCallback.java
new file mode 100644
index 0000000000000000000000000000000000000000..43bc0391cce6aa599330a649c20e2a6c625f6acb
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content_public/browser/JavaScriptCallback.java
@@ -0,0 +1,14 @@
+// Copyright 2014 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.content_public.browser;
+
+/** Callback interface for WebContents evaluateJavaScript(). */
+public interface JavaScriptCallback {
+ /**
+ * Called from native in response to evaluateJavaScript().
+ * @param jsonResult json result curresponds to JS execution
+ */
+ void handleJavaScriptResult(String jsonResult);
+}

Powered by Google App Engine
This is Rietveld 408576698