From b152ea3ea0d16e3034f81b84f0bd900cd2b66b13 Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Tue, 5 Jan 2016 13:51:02 +0800 Subject: Browser: Resurface incognito button The current method of entering incognito mode is too discreet, and there is no way of knowing how to enter it (long press new tab FAB). Resurface the incognito button in the tab navigation screen. Furthermore, on tablets, there is no way to enter incognito mode AFAIK (or it is ridiculously difficult to find). On tablets, add an entry to the overflow menu for creating new incognito tabs. Change-Id: I1c81d2addd16c11480d978aebf07336307ec694f --- src/com/android/browser/Controller.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/android/browser/Controller.java') diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index f006986..3382e36 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java @@ -1617,6 +1617,10 @@ public class Controller openTabToHomePage(); break; + case R.id.new_incognito_tab_menu_id: + openIncognitoTab(); + break; + case R.id.close_other_tabs_id: closeOtherTabs(); break; -- cgit v1.1