Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4131)

Unified Diff: chrome/browser/resources/pdf/main.js

Issue 1085483002: Revert of Use custom scrollbars for print preview on non-retina mac displays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/pdf/main.js
diff --git a/chrome/browser/resources/pdf/main.js b/chrome/browser/resources/pdf/main.js
index 6900c6dc091ce2640d6c3b5c08fedf1ff59edf45..07fa2e047b30c5cf4845d2cc773a92e709e83caa 100644
--- a/chrome/browser/resources/pdf/main.js
+++ b/chrome/browser/resources/pdf/main.js
@@ -42,18 +42,6 @@
function generateStreamDetailsAndInitViewer() {
var url = window.location.search.substring(1);
-
- // Hack to enable custom scrollbars for print preview on non-retina mac
- // displays. Remove after crbug.com/466039 is fixed.
- if (url.indexOf(IS_MAC_PARAM) === 0) {
- url = url.substring(IS_MAC_PARAM.length);
- var link = document.createElement('link');
- link.rel = 'stylesheet';
- link.type = 'text/css';
- link.href = 'scrollbars_mac.css';
- document.getElementsByTagName('head')[0].appendChild(link);
- }
-
var streamDetails = {
streamUrl: url,
originalUrl: url,
« no previous file with comments | « chrome/browser/resources/component_extension_resources.grd ('k') | chrome/browser/resources/pdf/pdf_scripting_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698