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

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

Issue 2681933002: Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Fix potential dtor problem 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content_public.browser; 5 package org.chromium.content_public.browser;
6 6
7 import android.graphics.Bitmap; 7 import android.graphics.Bitmap;
8 import android.graphics.Rect; 8 import android.graphics.Rect;
9 import android.os.Handler; 9 import android.os.Handler;
10 import android.os.Parcelable; 10 import android.os.Parcelable;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 * @return Whether or not the native object associated with this WebContent is destroyed. 46 * @return Whether or not the native object associated with this WebContent is destroyed.
47 */ 47 */
48 boolean isDestroyed(); 48 boolean isDestroyed();
49 49
50 /** 50 /**
51 * @return The navigation controller associated with this WebContents. 51 * @return The navigation controller associated with this WebContents.
52 */ 52 */
53 NavigationController getNavigationController(); 53 NavigationController getNavigationController();
54 54
55 /** 55 /**
56 * @return The main frame associated with this WebContents.
57 */
58 RenderFrameHost getMainFrame();
59
60 /**
56 * @return The title for the current visible page. 61 * @return The title for the current visible page.
57 */ 62 */
58 String getTitle(); 63 String getTitle();
59 64
60 /** 65 /**
61 * @return The URL for the current visible page. 66 * @return The URL for the current visible page.
62 */ 67 */
63 String getVisibleUrl(); 68 String getVisibleUrl();
64 69
65 /** 70 /**
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 boolean bypassCache, ImageDownloadCallback callback); 371 boolean bypassCache, ImageDownloadCallback callback);
367 372
368 /** 373 /**
369 * Issues a fake notification about the renderer being killed. 374 * Issues a fake notification about the renderer being killed.
370 * 375 *
371 * @param wasOomProtected True if the renderer was protected from the OS out -of-memory killer 376 * @param wasOomProtected True if the renderer was protected from the OS out -of-memory killer
372 * (e.g. renderer for the currently selected tab) 377 * (e.g. renderer for the currently selected tab)
373 */ 378 */
374 public void simulateRendererKilledForTesting(boolean wasOomProtected); 379 public void simulateRendererKilledForTesting(boolean wasOomProtected);
375 } 380 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698