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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 public void simulateRendererKilledForTesting(boolean wasOomProtected); | 385 public void simulateRendererKilledForTesting(boolean wasOomProtected); |
381 | 386 |
382 /** | 387 /** |
383 * Notifies the WebContents about the new persistent video status. It should
be called whenever | 388 * Notifies the WebContents about the new persistent video status. It should
be called whenever |
384 * the value changes. | 389 * the value changes. |
385 * | 390 * |
386 * @param value Whether there is a persistent video associated with this Web
Contents. | 391 * @param value Whether there is a persistent video associated with this Web
Contents. |
387 */ | 392 */ |
388 public void setHasPersistentVideo(boolean value); | 393 public void setHasPersistentVideo(boolean value); |
389 } | 394 } |
OLD | NEW |