Verified Commit 31d12b32 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

BB 40926: Implemented the New Identity feature

parent 3363c4e5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -687,6 +687,7 @@ pref("privacy.globalprivacycontrol.pbmode.enabled", true);
pref("dom.text-recognition.enabled", false);

// Log levels
pref("browser.new_identity.log_level", "Info");

#ifdef XP_WIN
pref("browser.taskbar.lists.enabled", false);
+5 −0
Original line number Diff line number Diff line
@@ -48,6 +48,11 @@
                     key="key_privatebrowsing"
                     command="Tools:PrivateBrowsing"/>
      <toolbarseparator/>
      <toolbarbutton id="appMenu-new-identity"
                     class="subviewbutton"
                     data-l10n-id="appmenuitem-new-identity"
                     key="new-identity-key"/>
      <toolbarseparator/>
      <toolbarbutton id="appMenu-bookmarks-button"
                     class="subviewbutton subviewbutton-nav"
                     data-l10n-id="library-bookmarks-menu"
+5 −0
Original line number Diff line number Diff line
@@ -222,6 +222,9 @@ var gBrowserInit = {
    // Init the SecurityLevelButton
    SecurityLevelButton.init();

    // Init the NewIdentityButton
    NewIdentityButton.init();

    // Certain kinds of automigration rely on this notification to complete
    // their tasks BEFORE the browser window is shown. SessionStore uses it to
    // restore tabs into windows AFTER important parts like gMultiProcessBrowser
@@ -1029,6 +1032,8 @@ var gBrowserInit = {

    SecurityLevelButton.uninit();

    NewIdentityButton.uninit();

    if (gToolbarKeyNavEnabled) {
      ToolbarKeyboardNavigator.uninit();
    }
+4 −0
Original line number Diff line number Diff line
@@ -20,6 +20,10 @@
                <menuitem id="menu_newPrivateWindow"
                          command="Tools:PrivateBrowsing"
                          key="key_privatebrowsing" data-l10n-id="menu-file-new-private-window"/>
                <menuseparator/>
                <menuitem id="menu_newIdentity"
                          key="new-identity-key" data-l10n-id="menu-new-identity"/>
                <menuseparator/>
                <menuitem id="menu_openLocation"
                          hidden="true"
                          command="Browser:OpenLocation"
+1 −0
Original line number Diff line number Diff line
@@ -387,4 +387,5 @@
         modifiers="accel,alt"
         internal="true"/>
#endif
    <key id="new-identity-key" modifiers="accel shift" key="U" oncommand="NewIdentityButton.onCommand(event)"/>
  </keyset>
Loading