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
3 // found in the LICENSE file.
5 package org.chromium.chrome.browser;
7 import android.view.ContextMenu;
10 * An implementation of the {@link TabObserver} which has empty implementations of all methods.
12 public class EmptyTabObserver implements TabObserver {
15 public void onDestroyed(TabBase tab) { }
18 public void onContentChanged(TabBase tab) { }
21 public void onFaviconUpdated(TabBase tab) { }
24 public void onTitleUpdated(TabBase tab) { }
27 public void onUrlUpdated(TabBase tab) { }
30 public void onWebContentsSwapped(TabBase tab, boolean didStartLoad, boolean didFinishLoad) { }
33 public void onContextMenuShown(TabBase tab, ContextMenu menu) { }
36 public void onLoadProgressChanged(TabBase tab, int progress) { }
39 public void onUpdateUrl(TabBase tab, String url) { }
42 public void onToggleFullscreenMode(TabBase tab, boolean enable) { }
45 public void onDidFailLoad(TabBase tab, boolean isProvisionalLoad, boolean isMainFrame,
46 int errorCode, String description, String failingUrl) { }