Skip to content

Commit

Permalink
Revert "Merge pull request #4092 from fow5040/add-extra-static-zoom-l…
Browse files Browse the repository at this point in the history
…evels"

Reason for revert: this change has been upstreamed:
https://chromium.googlesource.com/chromium/src/+/08b57c09851e2bdcb39ea70e46707f3bab6a0a4a

This reverts commit 88c7229, reversing
changes made to 01f83c7.
  • Loading branch information
mkarolin committed Mar 19, 2020
1 parent 27a51f7 commit 83cf96b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 73 deletions.
2 changes: 0 additions & 2 deletions browser/resources/extensions/extensions_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
</outputs>
<release seq="1">
<structures>
<!-- included in chromium_src/chrome/browser/ui/webui/print_preview/print_preview_ui.cc -->
<structure name="IDR_BRAVE_PDF_VIEWPORT_JS" file="js_override/pdf/viewport.js" preprocess="true" type="chrome_html" />
</structures>
<includes>
<include name="IDR_EXTENSIONS_BRAVE_ITEM_LIST_MORE_ITEMS_JS"
Expand Down
8 changes: 0 additions & 8 deletions browser/resources/extensions/js_override/pdf/viewport.js

This file was deleted.

9 changes: 0 additions & 9 deletions browser/resources/settings/brave_settings_overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,8 @@ const BraveClearSettingsMenuHighlightBehavior = {
}
}

const BraveAddZoomLevelsBehavior = {
ready: function() {
this._setPageZoomLevels_(<include src="./zoom_factors.json">)
}
}

// Polymer Component Behavior injection (like superclasses)
BravePatching.RegisterPolymerComponentBehaviors({
'settings-appearance-page': [
BraveAddZoomLevelsBehavior
],
'settings-clear-browsing-data-dialog': [
BraveClearBrowsingDataOnExitBehavior
],
Expand Down
21 changes: 0 additions & 21 deletions browser/resources/settings/zoom_factors.json

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions chromium_src/components/zoom/page_zoom_constants.cc

This file was deleted.

0 comments on commit 83cf96b

Please sign in to comment.