- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / android / java / src / org / chromium / chrome / browser / EmptyTabObserver.java
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.
4
5 package org.chromium.chrome.browser;
6
7 /**
8  * An implementation of the {@link TabObserver} which has empty implementations of all methods.
9  */
10 public class EmptyTabObserver implements TabObserver {
11
12     @Override
13     public void onDestroyed(TabBase tab) { }
14
15     @Override
16     public void onContentChanged(TabBase tab) { }
17
18     @Override
19     public void onFaviconUpdated(TabBase tab) { }
20
21     @Override
22     public void onLoadProgressChanged(TabBase tab, int progress) { }
23
24     @Override
25     public void onUpdateUrl(TabBase tab, String url) { }
26
27     @Override
28     public void onToggleFullscreenMode(TabBase tab, boolean enable) { }
29
30     @Override
31     public void onDidFailLoad(TabBase tab, boolean isProvisionalLoad, boolean isMainFrame,
32             int errorCode, String description, String failingUrl) { }
33 }