Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/tab/EmptyTabObserver.java

Issue 1464743005: Remove DocumentTabObserver and merge task description updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment for Webapps and removed needsUpdate in observer call Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.tab; 5 package org.chromium.chrome.browser.tab;
6 6
7 import android.graphics.Bitmap;
7 import android.view.ContextMenu; 8 import android.view.ContextMenu;
8 9
9 import org.chromium.content.browser.ContentViewCore; 10 import org.chromium.content.browser.ContentViewCore;
10 import org.chromium.content_public.browser.LoadUrlParams; 11 import org.chromium.content_public.browser.LoadUrlParams;
11 import org.chromium.content_public.browser.WebContents; 12 import org.chromium.content_public.browser.WebContents;
12 13
13 /** 14 /**
14 * An implementation of the {@link TabObserver} which has empty implementations of all methods. 15 * An implementation of the {@link TabObserver} which has empty implementations of all methods.
15 */ 16 */
16 public class EmptyTabObserver implements TabObserver { 17 public class EmptyTabObserver implements TabObserver {
(...skipping 25 matching lines...) Expand all
42 @Override 43 @Override
43 public void onPageLoadStarted(Tab tab, String url) { } 44 public void onPageLoadStarted(Tab tab, String url) { }
44 45
45 @Override 46 @Override
46 public void onPageLoadFinished(Tab tab) { } 47 public void onPageLoadFinished(Tab tab) { }
47 48
48 @Override 49 @Override
49 public void onPageLoadFailed(Tab tab, int errorCode) { } 50 public void onPageLoadFailed(Tab tab, int errorCode) { }
50 51
51 @Override 52 @Override
52 public void onFaviconUpdated(Tab tab) { } 53 public void onFaviconUpdated(Tab tab, Bitmap icon) { }
53 54
54 @Override 55 @Override
55 public void onTitleUpdated(Tab tab) { } 56 public void onTitleUpdated(Tab tab) { }
56 57
57 @Override 58 @Override
58 public void onUrlUpdated(Tab tab) { } 59 public void onUrlUpdated(Tab tab) { }
59 60
60 @Override 61 @Override
61 public void onSSLStateUpdated(Tab tab) { } 62 public void onSSLStateUpdated(Tab tab) { }
62 63
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 @Override 123 @Override
123 public void onDidStartNavigationToPendingEntry(Tab tab, String url) { } 124 public void onDidStartNavigationToPendingEntry(Tab tab, String url) { }
124 125
125 @Override 126 @Override
126 public void onBackgroundColorChanged(Tab tab, int color) { } 127 public void onBackgroundColorChanged(Tab tab, int color) { }
127 128
128 @Override 129 @Override
129 public void webContentsCreated(Tab tab, WebContents sourceWebContents, long openerRenderFrameId, 130 public void webContentsCreated(Tab tab, WebContents sourceWebContents, long openerRenderFrameId,
130 String frameName, String targetUrl, WebContents newWebContents) { } 131 String frameName, String targetUrl, WebContents newWebContents) { }
131 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698