Commit cb413d70 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by Dan Ballard
Browse files

BB 40926: Implemented the New Identity feature

parent faeb0b75
Loading
Loading
Loading
Loading
+1 −0
Changes for browser/app/profile/001-base-profile.js: 1 added line, 0 removed lines.
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
Changes for browser/base/content/appmenu-viewcache.inc.xhtml: 6 added lines, 0 removed lines.
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
Changes for browser/base/content/browser-menubar.inc: 6 added lines, 0 removed lines.
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
Changes for browser/base/content/browser-sets.inc: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -116,6 +116,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">
@@ -413,4 +415,5 @@
         modifiers="accel,alt"
         internal="true"/>
#endif
    <key id="new-identity-key" modifiers="accel shift" key="U" command="cmd_newIdentity"/>
  </keyset>
+3 −0
Changes for browser/base/content/browser-sets.js: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -267,6 +267,9 @@ document.addEventListener(
          case "zoomWindow":
            zoomWindow();
            break;
          case "cmd_newIdentity":
            NewIdentityButton.onCommand(event);
            break;
        }
      });

Loading