-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide settings which do not apply to Brave #493
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
diff --git a/chrome/browser/resources/settings/site_settings_page/site_settings_page.html b/chrome/browser/resources/settings/site_settings_page/site_settings_page.html | ||
index b2894017d199903bb468124871b0a4d1223f923f..84324a86432dc7f47186da91931764d7792c69d7 100644 | ||
index b2894017d199903bb468124871b0a4d1223f923f..89ba15f6145479784520630932db317abbdfedee 100644 | ||
--- a/chrome/browser/resources/settings/site_settings_page/site_settings_page.html | ||
+++ b/chrome/browser/resources/settings/site_settings_page/site_settings_page.html | ||
@@ -148,6 +148,25 @@ | ||
|
@@ -28,15 +28,24 @@ index b2894017d199903bb468124871b0a4d1223f923f..84324a86432dc7f47186da91931764d7 | |
<div id="javascript" class="settings-box two-line" | ||
category$="[[ContentSettingsTypes.JAVASCRIPT]]" | ||
data-route="SITE_SETTINGS_JAVASCRIPT" on-click="onTapNavigate_" | ||
@@ -242,6 +261,7 @@ | ||
@@ -221,6 +240,7 @@ | ||
aria-describedby="popupsSecondary"></button> | ||
</paper-icon-button-light> | ||
</div> | ||
+<if expr="_google_chrome"> | ||
<template is="dom-if" if="[[enableSafeBrowsingSubresourceFilter_]]"> | ||
<div id="ads" class="settings-box two-line" | ||
category$="[[ContentSettingsTypes.ADS]]" | ||
@@ -242,6 +262,8 @@ | ||
</paper-icon-button-light> | ||
</div> | ||
</template> | ||
+</if> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we merge the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was intentionally separate here because then if something is added in between it won't be hidden by the patch |
||
+<if expr="_google_chrome"> | ||
<div id="background-sync" class="settings-box two-line" | ||
category$="[[ContentSettingsTypes.BACKGROUND_SYNC]]" | ||
data-route="SITE_SETTINGS_BACKGROUND_SYNC" on-click="onTapNavigate_" | ||
@@ -261,6 +281,7 @@ | ||
@@ -261,6 +283,7 @@ | ||
aria-describedby="backgroundSyncSecondary"></button> | ||
</paper-icon-button-light> | ||
</div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this have a comment indicator before it? The other things in this file do.