diff options
author | Arham Jamal <arhamjamal@gmail.com> | 2012-04-28 05:01:12 +0200 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-07 13:57:35 -0800 |
commit | 1fd4bec1891e40dfe2e04c1ffe0bbd9f4e649cee (patch) | |
tree | c599a877c3b6b2d4a49102d97d8909f4862181c9 /src/com/android/browser/NavTabView.java | |
parent | cfc55f1967f309ab077eded9aa6afa542cd4f00a (diff) | |
download | packages_apps_Browser-1fd4bec1891e40dfe2e04c1ffe0bbd9f4e649cee.zip packages_apps_Browser-1fd4bec1891e40dfe2e04c1ffe0bbd9f4e649cee.tar.gz packages_apps_Browser-1fd4bec1891e40dfe2e04c1ffe0bbd9f4e649cee.tar.bz2 |
Browser: New navbar buttons
Added 2 new buttons to navigation bar:
- New Incognito Tab
- Goto home screen
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
Change-Id: I4c4b611ccc7fc3de4fa4bc7c855e4481de440a87
Diffstat (limited to 'src/com/android/browser/NavTabView.java')
-rw-r--r-- | src/com/android/browser/NavTabView.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/browser/NavTabView.java b/src/com/android/browser/NavTabView.java index 91f074c..de50317 100644 --- a/src/com/android/browser/NavTabView.java +++ b/src/com/android/browser/NavTabView.java @@ -107,6 +107,11 @@ public class NavTabView extends LinearLayout { return mHighlighted; } + protected Long getWebViewId(){ + if(mTab == null) return null; + return new Long(mTab.getId()); + } + protected void setWebView(Tab tab) { mTab = tab; setTitle(); |