Commit 7f0450d9 authored by Alex Catarineu's avatar Alex Catarineu Committed by Matthew Finkel
Browse files

Bug 26345: Hide tracking protection UI

parent cd44a7ec
...@@ -905,10 +905,10 @@ var gIdentityHandler = { ...@@ -905,10 +905,10 @@ var gIdentityHandler = {
gPermissionPanel.refreshPermissionIcons(); gPermissionPanel.refreshPermissionIcons();
// Hide the shield icon if it is a chrome page. // Bug 26345: Hide tracking protection UI.
gProtectionsHandler._trackingProtectionIconContainer.classList.toggle( gProtectionsHandler._trackingProtectionIconContainer.classList.toggle(
"chromeUI", "chromeUI",
this._isSecureInternalUI true
); );
}, },
......
...@@ -775,7 +775,7 @@ ...@@ -775,7 +775,7 @@
oncommand="gSync.toggleAccountPanel('PanelUI-fxa', this, event)"/> oncommand="gSync.toggleAccountPanel('PanelUI-fxa', this, event)"/>
</toolbaritem> </toolbaritem>
<toolbarseparator class="sync-ui-item"/> <toolbarseparator class="sync-ui-item"/>
<toolbaritem> <toolbaritem hidden="true">
<toolbarbutton id="appMenu-protection-report-button" <toolbarbutton id="appMenu-protection-report-button"
class="subviewbutton subviewbutton-iconic" class="subviewbutton subviewbutton-iconic"
oncommand="gProtectionsHandler.openProtections(); gProtectionsHandler.recordClick('open_full_report', null, 'app_menu');"> oncommand="gProtectionsHandler.openProtections(); gProtectionsHandler.recordClick('open_full_report', null, 'app_menu');">
...@@ -786,7 +786,7 @@ ...@@ -786,7 +786,7 @@
</label> </label>
</toolbarbutton> </toolbarbutton>
</toolbaritem> </toolbaritem>
<toolbarseparator id="appMenu-tp-separator"/> <toolbarseparator hidden="true" id="appMenu-tp-separator"/>
<toolbarbutton id="appMenu-new-window-button" <toolbarbutton id="appMenu-new-window-button"
class="subviewbutton subviewbutton-iconic" class="subviewbutton subviewbutton-iconic"
label="&newNavigatorCmd.label;" label="&newNavigatorCmd.label;"
......
...@@ -122,10 +122,6 @@ static const RedirEntry kRedirMap[] = { ...@@ -122,10 +122,6 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::URI_MUST_LOAD_IN_CHILD |
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT | nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT}, nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT},
{"protections", "chrome://browser/content/protections.html",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS},
{"ion", "chrome://browser/content/ion.html", {"ion", "chrome://browser/content/ion.html",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT}, nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT},
#ifdef TOR_BROWSER_UPDATE #ifdef TOR_BROWSER_UPDATE
......
...@@ -20,7 +20,6 @@ pages = [ ...@@ -20,7 +20,6 @@ pages = [
'policies', 'policies',
'preferences', 'preferences',
'privatebrowsing', 'privatebrowsing',
'protections',
'profiling', 'profiling',
'reader', 'reader',
'restartrequired', 'restartrequired',
......
...@@ -46,7 +46,6 @@ DIRS += [ ...@@ -46,7 +46,6 @@ DIRS += [
"preferences", "preferences",
"privatebrowsing", "privatebrowsing",
"prompts", "prompts",
"protections",
"protocolhandler", "protocolhandler",
"resistfingerprinting", "resistfingerprinting",
"search", "search",
......
...@@ -114,6 +114,10 @@ ...@@ -114,6 +114,10 @@
/* Content Blocking */ /* Content Blocking */
#trackingGroup {
display: none;
}
/* Override styling that sets descriptions as grey */ /* Override styling that sets descriptions as grey */
#trackingGroup description.indent, #trackingGroup description.indent,
#trackingGroup .indent > description { #trackingGroup .indent > description {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment