Commit bb2d830d authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by henry
Browse files

BB 40926: Implemented the New Identity feature

parent 2c416176
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -762,6 +762,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);
+6 −0
Original line number Diff line number Diff line
@@ -63,6 +63,12 @@
                     key="key_privatebrowsing"
                     command="Tools:PrivateBrowsing"/>
      <toolbarseparator/>
      <toolbarbutton id="appMenu-new-identity"
                     class="subviewbutton"
                     data-l10n-id="appmenuitem-new-identity"
                     key="new-identity-key"
                     command="cmd_newIdentity"/>
      <toolbarseparator/>
      <toolbarbutton id="appMenu-bookmarks-button"
                     class="subviewbutton subviewbutton-nav"
                     data-l10n-id="library-bookmarks-menu"
+6 −0
Original line number Diff line number Diff line
@@ -26,6 +26,12 @@
                <menuitem id="menu_newPrivateWindow"
                          command="Tools:PrivateBrowsing"
                          key="key_privatebrowsing" data-l10n-id="menu-file-new-private-window"/>
                <menuseparator/>
                <menuitem id="menu_newIdentity"
                          command="cmd_newIdentity"
                          key="new-identity-key"
                          data-l10n-id="menu-new-identity"/>
                <menuseparator/>
                <menuitem id="menu_openLocation"
                          hidden="true"
                          command="Browser:OpenLocation"
+3 −0
Original line number Diff line number Diff line
@@ -115,6 +115,8 @@
#ifdef XP_MACOSX
    <command id="zoomWindow" data-l10n-id="window-zoom-command" />
#endif

    <command id="cmd_newIdentity" />
  </commandset>
#include ../../components/places/content/placesCommands.inc.xhtml
  <commandset id="splitViewCommands">
@@ -412,4 +414,5 @@
         modifiers="accel,alt"
         internal="true"/>
#endif
    <key id="new-identity-key" modifiers="accel shift" key="U" command="cmd_newIdentity"/>
  </keyset>
+3 −0
Original line number Diff line number Diff line
@@ -263,6 +263,9 @@ document.addEventListener(
          case "zoomWindow":
            zoomWindow();
            break;
          case "cmd_newIdentity":
            NewIdentityButton.onCommand(event);
            break;
        }
      });

Loading