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

Side by Side Diff: content/public/android/java/src/org/chromium/content_public/browser/RenderFrameHost.java

Issue 2681933002: Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Add getMainFrame API and test it Created 3 years, 10 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
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698