Home | History | Annotate | Download | only in browser
      1 // Copyright 2014 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.content_public.browser;
      6 
      7 /** Callback interface for WebContents evaluateJavaScript(). */
      8 public interface JavaScriptCallback {
      9     /**
     10      * Called from native in response to evaluateJavaScript().
     11      * @param jsonResult json result curresponds to JS execution
     12      */
     13     void handleJavaScriptResult(String jsonResult);
     14 }
     15