summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-05 03:42:24 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-05 03:42:24 +0000
commit9853c5bb8937237c7792cf2c172ba412ab7385d0 (patch)
tree1ff8df292af12bf31d6940b75d7fe09345441de6
parent787ce9b4e86bc57a9e682bf83dff72890e65cfce (diff)
downloadchromium_src-9853c5bb8937237c7792cf2c172ba412ab7385d0.zip
chromium_src-9853c5bb8937237c7792cf2c172ba412ab7385d0.tar.gz
chromium_src-9853c5bb8937237c7792cf2c172ba412ab7385d0.tar.bz2
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
-rw-r--r--chrome/android/java/src/org/chromium/chrome/browser/TabBase.java10
1 files changed, 10 insertions, 0 deletions
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.
*/