Commit 0a3db5dd authored by Alex Catarineu's avatar Alex Catarineu
Browse files

Bug 26345: Hide tracking protection UI

parent e2a2fee9
...@@ -907,10 +907,10 @@ var gIdentityHandler = { ...@@ -907,10 +907,10 @@ var gIdentityHandler = {
this._refreshPermissionIcons(); this._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
); );
}, },
......
...@@ -781,7 +781,7 @@ ...@@ -781,7 +781,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');">
...@@ -792,7 +792,7 @@ ...@@ -792,7 +792,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;"
......
...@@ -114,10 +114,6 @@ static const RedirEntry kRedirMap[] = { ...@@ -114,10 +114,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},
{"pioneer", "chrome://browser/content/pioneer.html", {"pioneer", "chrome://browser/content/pioneer.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',
......
...@@ -48,7 +48,6 @@ DIRS += [ ...@@ -48,7 +48,6 @@ DIRS += [
'preferences', 'preferences',
'privatebrowsing', 'privatebrowsing',
'prompts', 'prompts',
'protections',
'protocolhandler', 'protocolhandler',
'resistfingerprinting', 'resistfingerprinting',
'search', 'search',
......
...@@ -99,6 +99,10 @@ ...@@ -99,6 +99,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