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.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 * @return Whether or not the native object associated with this WebContent
is destroyed. | 52 * @return Whether or not the native object associated with this WebContent
is destroyed. |
53 */ | 53 */ |
54 boolean isDestroyed(); | 54 boolean isDestroyed(); |
55 | 55 |
56 /** | 56 /** |
57 * @return The navigation controller associated with this WebContents. | 57 * @return The navigation controller associated with this WebContents. |
58 */ | 58 */ |
59 NavigationController getNavigationController(); | 59 NavigationController getNavigationController(); |
60 | 60 |
61 /** | 61 /** |
| 62 * @return The main frame associated with this WebContents. |
| 63 */ |
| 64 RenderFrameHost getMainFrame(); |
| 65 |
| 66 /** |
62 * @return The title for the current visible page. | 67 * @return The title for the current visible page. |
63 */ | 68 */ |
64 String getTitle(); | 69 String getTitle(); |
65 | 70 |
66 /** | 71 /** |
67 * @return The URL for the current visible page. | 72 * @return The URL for the current visible page. |
68 */ | 73 */ |
69 String getVisibleUrl(); | 74 String getVisibleUrl(); |
70 | 75 |
71 /** | 76 /** |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 public void simulateRendererKilledForTesting(boolean wasOomProtected); | 391 public void simulateRendererKilledForTesting(boolean wasOomProtected); |
387 | 392 |
388 /** | 393 /** |
389 * Notifies the WebContents about the new persistent video status. It should
be called whenever | 394 * Notifies the WebContents about the new persistent video status. It should
be called whenever |
390 * the value changes. | 395 * the value changes. |
391 * | 396 * |
392 * @param value Whether there is a persistent video associated with this Web
Contents. | 397 * @param value Whether there is a persistent video associated with this Web
Contents. |
393 */ | 398 */ |
394 public void setHasPersistentVideo(boolean value); | 399 public void setHasPersistentVideo(boolean value); |
395 } | 400 } |
OLD | NEW |