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 /** | |
67 * @return The title for the current visible page. | 62 * @return The title for the current visible page. |
68 */ | 63 */ |
69 String getTitle(); | 64 String getTitle(); |
70 | 65 |
71 /** | 66 /** |
72 * @return The URL for the current visible page. | 67 * @return The URL for the current visible page. |
73 */ | 68 */ |
74 String getVisibleUrl(); | 69 String getVisibleUrl(); |
75 | 70 |
76 /** | 71 /** |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 public void simulateRendererKilledForTesting(boolean wasOomProtected); | 386 public void simulateRendererKilledForTesting(boolean wasOomProtected); |
392 | 387 |
393 /** | 388 /** |
394 * Notifies the WebContents about the new persistent video status. It should
be called whenever | 389 * Notifies the WebContents about the new persistent video status. It should
be called whenever |
395 * the value changes. | 390 * the value changes. |
396 * | 391 * |
397 * @param value Whether there is a persistent video associated with this Web
Contents. | 392 * @param value Whether there is a persistent video associated with this Web
Contents. |
398 */ | 393 */ |
399 public void setHasPersistentVideo(boolean value); | 394 public void setHasPersistentVideo(boolean value); |
400 } | 395 } |
OLD | NEW |