OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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.chrome.browser; | 5 package org.chromium.chrome.browser; |
6 | 6 |
7 import android.view.ContextMenu; | 7 import android.view.ContextMenu; |
8 | 8 |
9 import org.chromium.content.browser.ContentView; | 9 import org.chromium.content_public.browser.ContentView; |
10 | 10 |
11 /** | 11 /** |
12 * An observer that is notified of changes to a {@link TabBase} object. | 12 * An observer that is notified of changes to a {@link TabBase} object. |
13 */ | 13 */ |
14 public interface TabObserver { | 14 public interface TabObserver { |
15 | 15 |
16 /** | 16 /** |
17 * Called when a {@link TabBase} is being destroyed. | 17 * Called when a {@link TabBase} is being destroyed. |
18 * @param tab The notifying {@link TabBase}. | 18 * @param tab The notifying {@link TabBase}. |
19 */ | 19 */ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 * @param isProvisionalLoad Whether the failed load occurred during the prov
isional load. | 87 * @param isProvisionalLoad Whether the failed load occurred during the prov
isional load. |
88 * @param isMainFrame Whether failed load happened for the main frame. | 88 * @param isMainFrame Whether failed load happened for the main frame. |
89 * @param errorCode Code for the occurring error. | 89 * @param errorCode Code for the occurring error. |
90 * @param description The description for the error. | 90 * @param description The description for the error. |
91 * @param failingUrl The url that was loading when the error occurred
. | 91 * @param failingUrl The url that was loading when the error occurred
. |
92 */ | 92 */ |
93 void onDidFailLoad(TabBase tab, boolean isProvisionalLoad, boolean isMainFra
me, int errorCode, | 93 void onDidFailLoad(TabBase tab, boolean isProvisionalLoad, boolean isMainFra
me, int errorCode, |
94 String description, String failingUrl); | 94 String description, String failingUrl); |
95 | 95 |
96 } | 96 } |
OLD | NEW |