From 9853c5bb8937237c7792cf2c172ba412ab7385d0 Mon Sep 17 00:00:00 2001 From: "bauerb@chromium.org" Date: Thu, 5 Dec 2013 03:42:24 +0000 Subject: Add a getFavicon() method stub to TabBase. BUG=318769 Review URL: https://codereview.chromium.org/95333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238882 0039d316-1c4b-4281-b951-d872f2087c98 --- .../android/java/src/org/chromium/chrome/browser/TabBase.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java index 05f1386..429e46f 100644 --- a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java +++ b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java @@ -6,6 +6,7 @@ package org.chromium.chrome.browser; import android.app.Activity; import android.content.Context; +import android.graphics.Bitmap; import android.graphics.Color; import android.view.View; @@ -616,6 +617,15 @@ public abstract class TabBase implements NavigationClient { } /** + * @return The bitmap of the favicon scaled to 16x16dp. null if no favicon + * is specified or it requires the default favicon. + * TODO(bauerb): Upstream implementation. + */ + public Bitmap getFavicon() { + return null; + } + + /** * Restores the tab if it is frozen or crashed. * @return true iff tab restore was triggered. */ -- cgit v1.1