| OLD | NEW |
| 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.os.Handler; | 7 import android.os.Handler; |
| 8 import android.os.Parcelable; | 8 import android.os.Parcelable; |
| 9 | 9 |
| 10 import org.chromium.base.VisibleForTesting; | 10 import org.chromium.base.VisibleForTesting; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 * @return Whether or not the native object associated with this WebContent
is destroyed. | 51 * @return Whether or not the native object associated with this WebContent
is destroyed. |
| 52 */ | 52 */ |
| 53 boolean isDestroyed(); | 53 boolean isDestroyed(); |
| 54 | 54 |
| 55 /** | 55 /** |
| 56 * @return The navigation controller associated with this WebContents. | 56 * @return The navigation controller associated with this WebContents. |
| 57 */ | 57 */ |
| 58 NavigationController getNavigationController(); | 58 NavigationController getNavigationController(); |
| 59 | 59 |
| 60 /** | 60 /** |
| 61 * @return The main frame associated with this WebContents. |
| 62 */ |
| 63 RenderFrameHost getMainFrame(); |
| 64 |
| 65 /** |
| 61 * @return The title for the current visible page. | 66 * @return The title for the current visible page. |
| 62 */ | 67 */ |
| 63 String getTitle(); | 68 String getTitle(); |
| 64 | 69 |
| 65 /** | 70 /** |
| 66 * @return The URL for the current visible page. | 71 * @return The URL for the current visible page. |
| 67 */ | 72 */ |
| 68 String getVisibleUrl(); | 73 String getVisibleUrl(); |
| 69 | 74 |
| 70 /** | 75 /** |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 public void simulateRendererKilledForTesting(boolean wasOomProtected); | 403 public void simulateRendererKilledForTesting(boolean wasOomProtected); |
| 399 | 404 |
| 400 /** | 405 /** |
| 401 * Notifies the WebContents about the new persistent video status. It should
be called whenever | 406 * Notifies the WebContents about the new persistent video status. It should
be called whenever |
| 402 * the value changes. | 407 * the value changes. |
| 403 * | 408 * |
| 404 * @param value Whether there is a persistent video associated with this Web
Contents. | 409 * @param value Whether there is a persistent video associated with this Web
Contents. |
| 405 */ | 410 */ |
| 406 public void setHasPersistentVideo(boolean value); | 411 public void setHasPersistentVideo(boolean value); |
| 407 } | 412 } |
| OLD | NEW |