OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 /** |
| 8 * The RenderFrameHost Java wrapper to allow communicating with the native Rende
rFrameHost object. |
| 9 * |
| 10 */ |
| 11 public interface RenderFrameHost { |
| 12 /** |
| 13 * Deletes the FrameHost object. |
| 14 */ |
| 15 void destroy(); |
| 16 |
| 17 /** |
| 18 * @return Whether or not the native object associated with this FrameHost i
s destroyed. |
| 19 */ |
| 20 boolean isDestroyed(); |
| 21 |
| 22 /** |
| 23 * @return The WebContents associated with this iframe. |
| 24 */ |
| 25 WebContents getWebContents(); |
| 26 |
| 27 /** |
| 28 * Get the URL of the frame. |
| 29 * |
| 30 * @return The URL of the frame. |
| 31 */ |
| 32 String getUrl(); |
| 33 } |
OLD | NEW |