mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 698223 - Add Tab method to return title for display (r=mfinkle)
This commit is contained in:
parent
fa9c813cb3
commit
40d88c005f
@ -102,6 +102,14 @@ public class Tab {
|
||||
return mTitle;
|
||||
}
|
||||
|
||||
public String getDisplayTitle() {
|
||||
if (mTitle != null && mTitle.length() > 0) {
|
||||
return mTitle;
|
||||
}
|
||||
|
||||
return mUrl;
|
||||
}
|
||||
|
||||
public Drawable getFavicon() {
|
||||
return mFavicon;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user