зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 1e6aea26ec16 (bug 1363485) for failing browser_urlbar_search_reflows.js on OSX debug with e10s and Windows. r=backout
This commit is contained in:
Родитель
a01cc8cc44
Коммит
e087fbd0e2
|
@ -736,56 +736,55 @@
|
|||
context="toolbar-context-menu">
|
||||
|
||||
<hbox id="nav-bar-customization-target" flex="1">
|
||||
<toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||
label="&backCmd.label;"
|
||||
removable="false" overflows="false"
|
||||
command="Browser:BackOrBackDuplicate"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
tooltip="back-button-tooltip"
|
||||
context="backForwardMenu"/>
|
||||
<toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||
label="&forwardCmd.label;"
|
||||
removable="false" overflows="false"
|
||||
command="Browser:ForwardOrForwardDuplicate"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
tooltip="forward-button-tooltip"
|
||||
context="backForwardMenu"/>
|
||||
<toolbaritem id="stop-reload-button" class="chromeclass-toolbar-additional"
|
||||
title="&reloadCmd.label;"
|
||||
removable="true" overflows="false">
|
||||
<toolbarbutton id="reload-button" class="toolbarbutton-1"
|
||||
label="&reloadCmd.label;"
|
||||
command="Browser:ReloadOrDuplicate"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
tooltip="dynamic-shortcut-tooltip">
|
||||
<box class="toolbarbutton-animatable-box">
|
||||
<image class="toolbarbutton-animatable-image"/>
|
||||
</box>
|
||||
</toolbarbutton>
|
||||
<toolbarbutton id="stop-button" class="toolbarbutton-1"
|
||||
label="&stopCmd.label;"
|
||||
command="Browser:Stop"
|
||||
tooltip="dynamic-shortcut-tooltip">
|
||||
<box class="toolbarbutton-animatable-box">
|
||||
<image class="toolbarbutton-animatable-image"/>
|
||||
</box>
|
||||
</toolbarbutton>
|
||||
</toolbaritem>
|
||||
<toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||
removable="true"
|
||||
label="&homeButton.label;"
|
||||
ondragover="homeButtonObserver.onDragOver(event)"
|
||||
ondragenter="homeButtonObserver.onDragOver(event)"
|
||||
ondrop="homeButtonObserver.onDrop(event)"
|
||||
ondragexit="homeButtonObserver.onDragExit(event)"
|
||||
key="goHome"
|
||||
onclick="BrowserGoHome(event);"
|
||||
cui-areatype="toolbar"
|
||||
aboutHomeOverrideTooltip="&abouthome.pageTitle;"/>
|
||||
<toolbaritem id="urlbar-container" flex="400" persist="width"
|
||||
removable="false"
|
||||
class="chromeclass-location" overflows="false">
|
||||
<toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||
removable="false" overflows="false"
|
||||
label="&backCmd.label;"
|
||||
command="Browser:BackOrBackDuplicate"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
tooltip="back-button-tooltip"
|
||||
context="backForwardMenu"/>
|
||||
#ifdef MOZ_PHOTON_THEME
|
||||
<toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||
removable="false" overflows="false"
|
||||
label="&forwardCmd.label;"
|
||||
command="Browser:ForwardOrForwardDuplicate"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
tooltip="forward-button-tooltip"
|
||||
context="backForwardMenu"/>
|
||||
<toolbaritem id="stop-reload-button"
|
||||
removable="false" overflows="false"
|
||||
class="chromeclass-toolbar-additional">
|
||||
<toolbarbutton id="reload-button"
|
||||
class="toolbarbutton-1"
|
||||
command="Browser:ReloadOrDuplicate"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
tooltip="dynamic-shortcut-tooltip">
|
||||
<box class="toolbarbutton-animatable-box">
|
||||
<image class="toolbarbutton-animatable-image"/>
|
||||
</box>
|
||||
</toolbarbutton>
|
||||
<toolbarbutton id="stop-button"
|
||||
class="toolbarbutton-1"
|
||||
command="Browser:Stop"
|
||||
tooltip="dynamic-shortcut-tooltip">
|
||||
<box class="toolbarbutton-animatable-box">
|
||||
<image class="toolbarbutton-animatable-image"/>
|
||||
</box>
|
||||
</toolbarbutton>
|
||||
</toolbaritem>
|
||||
#endif
|
||||
<hbox id="urlbar-wrapper" flex="1">
|
||||
#ifndef MOZ_PHOTON_THEME
|
||||
<toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||
label="&forwardCmd.label;"
|
||||
command="Browser:ForwardOrForwardDuplicate"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
tooltip="forward-button-tooltip"
|
||||
context="backForwardMenu"/>
|
||||
#endif
|
||||
<textbox id="urlbar" flex="1"
|
||||
placeholder="&urlbar.placeholder2;"
|
||||
type="autocomplete"
|
||||
|
@ -1062,6 +1061,18 @@
|
|||
removable="true"
|
||||
cui-areatype="toolbar"
|
||||
tooltip="dynamic-shortcut-tooltip"/>
|
||||
|
||||
<toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||
removable="true"
|
||||
label="&homeButton.label;"
|
||||
ondragover="homeButtonObserver.onDragOver(event)"
|
||||
ondragenter="homeButtonObserver.onDragOver(event)"
|
||||
ondrop="homeButtonObserver.onDrop(event)"
|
||||
ondragexit="homeButtonObserver.onDragExit(event)"
|
||||
key="goHome"
|
||||
onclick="BrowserGoHome(event);"
|
||||
cui-areatype="toolbar"
|
||||
aboutHomeOverrideTooltip="&abouthome.pageTitle;"/>
|
||||
</hbox>
|
||||
|
||||
<toolbarbutton id="nav-bar-overflow-button"
|
||||
|
|
|
@ -243,17 +243,16 @@ var CustomizableUIInternal = {
|
|||
this._updateAreasForPhoton();
|
||||
|
||||
let navbarPlacements = [
|
||||
"back-button",
|
||||
"forward-button",
|
||||
"stop-reload-button",
|
||||
"home-button",
|
||||
"urlbar-container",
|
||||
"search-container",
|
||||
"bookmarks-menu-button",
|
||||
"downloads-button",
|
||||
"sidebar-button",
|
||||
"home-button",
|
||||
];
|
||||
|
||||
if (AppConstants.MOZ_PHOTON_THEME) {
|
||||
navbarPlacements.push("sidebar-button");
|
||||
}
|
||||
if (AppConstants.MOZ_DEV_EDITION) {
|
||||
navbarPlacements.splice(2, 0, "developer-button");
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<!-- LOCALIZATION NOTE : FILE This file contains the browser main menu items -->
|
||||
<!-- LOCALIZATION NOTE : FILE Do not translate commandkeys -->
|
||||
<!-- LOCALIZATION NOTE : FILE Do not translate commandkeys -->
|
||||
|
||||
<!-- LOCALIZATION NOTE (mainWindow.title): DONT_TRANSLATE -->
|
||||
<!ENTITY mainWindow.title "&brandFullName;">
|
||||
|
@ -262,7 +262,7 @@ These should match what Safari and other Apple applications use on OS X Lion. --
|
|||
<!ENTITY historySidebarCmd.commandKey "h">
|
||||
|
||||
<!ENTITY toolsMenu.label "Tools">
|
||||
<!ENTITY toolsMenu.accesskey "T">
|
||||
<!ENTITY toolsMenu.accesskey "T">
|
||||
|
||||
<!ENTITY keywordfield.label "Add a Keyword for this Search…">
|
||||
<!ENTITY keywordfield.accesskey "K">
|
||||
|
@ -281,7 +281,7 @@ These should match what Safari and other Apple applications use on OS X Lion. --
|
|||
<!ENTITY inspectContextMenu.label "Inspect Element">
|
||||
<!ENTITY inspectContextMenu.accesskey "Q">
|
||||
|
||||
<!ENTITY fileMenu.label "File">
|
||||
<!ENTITY fileMenu.label "File">
|
||||
<!ENTITY fileMenu.accesskey "F">
|
||||
<!ENTITY newUserContext.label "New Container Tab">
|
||||
<!ENTITY newUserContext.accesskey "B">
|
||||
|
@ -292,45 +292,45 @@ These should match what Safari and other Apple applications use on OS X Lion. --
|
|||
<!ENTITY newPrivateWindow.accesskey "W">
|
||||
<!ENTITY newNonRemoteWindow.label "New Non-e10s Window">
|
||||
|
||||
<!ENTITY editMenu.label "Edit">
|
||||
<!ENTITY editMenu.accesskey "E">
|
||||
<!ENTITY undoCmd.label "Undo">
|
||||
<!ENTITY undoCmd.key "Z">
|
||||
<!ENTITY undoCmd.accesskey "U">
|
||||
<!ENTITY redoCmd.label "Redo">
|
||||
<!ENTITY redoCmd.key "Y">
|
||||
<!ENTITY redoCmd.accesskey "R">
|
||||
<!ENTITY cutCmd.label "Cut">
|
||||
<!ENTITY cutCmd.key "X">
|
||||
<!ENTITY cutCmd.accesskey "t">
|
||||
<!ENTITY copyCmd.label "Copy">
|
||||
<!ENTITY copyCmd.key "C">
|
||||
<!ENTITY copyCmd.accesskey "C">
|
||||
<!ENTITY pasteCmd.label "Paste">
|
||||
<!ENTITY pasteCmd.key "V">
|
||||
<!ENTITY pasteCmd.accesskey "P">
|
||||
<!ENTITY deleteCmd.label "Delete">
|
||||
<!ENTITY deleteCmd.key "D">
|
||||
<!ENTITY deleteCmd.accesskey "D">
|
||||
<!ENTITY selectAllCmd.label "Select All">
|
||||
<!ENTITY selectAllCmd.key "A">
|
||||
<!ENTITY selectAllCmd.accesskey "A">
|
||||
<!ENTITY editMenu.label "Edit">
|
||||
<!ENTITY editMenu.accesskey "E">
|
||||
<!ENTITY undoCmd.label "Undo">
|
||||
<!ENTITY undoCmd.key "Z">
|
||||
<!ENTITY undoCmd.accesskey "U">
|
||||
<!ENTITY redoCmd.label "Redo">
|
||||
<!ENTITY redoCmd.key "Y">
|
||||
<!ENTITY redoCmd.accesskey "R">
|
||||
<!ENTITY cutCmd.label "Cut">
|
||||
<!ENTITY cutCmd.key "X">
|
||||
<!ENTITY cutCmd.accesskey "t">
|
||||
<!ENTITY copyCmd.label "Copy">
|
||||
<!ENTITY copyCmd.key "C">
|
||||
<!ENTITY copyCmd.accesskey "C">
|
||||
<!ENTITY pasteCmd.label "Paste">
|
||||
<!ENTITY pasteCmd.key "V">
|
||||
<!ENTITY pasteCmd.accesskey "P">
|
||||
<!ENTITY deleteCmd.label "Delete">
|
||||
<!ENTITY deleteCmd.key "D">
|
||||
<!ENTITY deleteCmd.accesskey "D">
|
||||
<!ENTITY selectAllCmd.label "Select All">
|
||||
<!ENTITY selectAllCmd.key "A">
|
||||
<!ENTITY selectAllCmd.accesskey "A">
|
||||
<!ENTITY preferencesCmd2.label "Options">
|
||||
<!ENTITY preferencesCmd2.accesskey "O">
|
||||
<!ENTITY preferencesCmdUnix.label "Preferences">
|
||||
<!ENTITY preferencesCmdUnix.accesskey "n">
|
||||
<!ENTITY preferencesCmdUnix.accesskey "n">
|
||||
|
||||
<!ENTITY clearRecentHistory.label "Clear Recent History…">
|
||||
|
||||
<!ENTITY privateBrowsingCmd.commandkey "P">
|
||||
|
||||
<!ENTITY viewMenu.label "View">
|
||||
<!ENTITY viewMenu.accesskey "V">
|
||||
<!ENTITY viewToolbarsMenu.label "Toolbars">
|
||||
<!ENTITY viewToolbarsMenu.accesskey "T">
|
||||
<!ENTITY viewMenu.label "View">
|
||||
<!ENTITY viewMenu.accesskey "V">
|
||||
<!ENTITY viewToolbarsMenu.label "Toolbars">
|
||||
<!ENTITY viewToolbarsMenu.accesskey "T">
|
||||
<!ENTITY viewSidebarMenu.label "Sidebar">
|
||||
<!ENTITY viewSidebarMenu.accesskey "e">
|
||||
<!ENTITY viewCustomizeToolbar.label "Customize…">
|
||||
<!ENTITY viewCustomizeToolbar.label "Customize…">
|
||||
<!ENTITY viewCustomizeToolbar.accesskey "C">
|
||||
<!ENTITY overflowCustomizeToolbar.label "Customize Toolbar…">
|
||||
<!ENTITY overflowCustomizeToolbar.accesskey "C">
|
||||
|
@ -531,7 +531,7 @@ These should match what Safari and other Apple applications use on OS X Lion. --
|
|||
<!ENTITY reloadFrameCmd.accesskey "R">
|
||||
<!ENTITY viewPartialSourceForSelectionCmd.label "View Selection Source">
|
||||
<!ENTITY viewPartialSourceForMathMLCmd.label "View MathML Source">
|
||||
<!-- LOCALIZATION NOTE (viewPartialSourceCmd.accesskey): This accesskey is used for both
|
||||
<!-- LOCALIZATION NOTE (viewPartialSourceCmd.accesskey): This accesskey is used for both
|
||||
viewPartialSourceForSelectionCmd.label and viewPartialSourceForMathMLCmd.label -->
|
||||
<!ENTITY viewPartialSourceCmd.accesskey "e">
|
||||
<!ENTITY viewPageSourceCmd.label "View Page Source">
|
||||
|
@ -598,7 +598,7 @@ These should match what Safari and other Apple applications use on OS X Lion. --
|
|||
<!ENTITY copyImageCmd.label "Copy Image Location">
|
||||
<!ENTITY copyImageCmd.accesskey "o">
|
||||
<!ENTITY copyImageContentsCmd.label "Copy Image">
|
||||
<!ENTITY copyImageContentsCmd.accesskey "y">
|
||||
<!ENTITY copyImageContentsCmd.accesskey "y">
|
||||
<!ENTITY copyVideoURLCmd.label "Copy Video Location">
|
||||
<!ENTITY copyVideoURLCmd.accesskey "o">
|
||||
<!ENTITY copyAudioURLCmd.label "Copy Audio Location">
|
||||
|
@ -694,13 +694,13 @@ you can use these alternative items. Otherwise, their values should be empty. -
|
|||
<!ENTITY quitApplicationCmdWin2.tooltip "Exit &brandShorterName;">
|
||||
<!ENTITY goBackCmd.commandKey "[">
|
||||
<!ENTITY goForwardCmd.commandKey "]">
|
||||
<!ENTITY quitApplicationCmd.label "Quit">
|
||||
<!ENTITY quitApplicationCmd.label "Quit">
|
||||
<!ENTITY quitApplicationCmd.accesskey "Q">
|
||||
<!ENTITY quitApplicationCmdMac2.label "Quit &brandShorterName;">
|
||||
<!ENTITY quitApplicationCmd.key "Q">
|
||||
|
||||
<!ENTITY closeCmd.label "Close">
|
||||
<!ENTITY closeCmd.key "W">
|
||||
<!ENTITY closeCmd.label "Close">
|
||||
<!ENTITY closeCmd.key "W">
|
||||
<!ENTITY closeCmd.accesskey "C">
|
||||
|
||||
<!ENTITY toggleMuteCmd.key "M">
|
||||
|
|
Загрузка…
Ссылка в новой задаче