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

Unified Diff: chrome/browser/resources/pdf/elements/viewer-page-indicator/viewer-page-indicator.js

Issue 2617823002: GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS (Closed)
Patch Set: add dep Created 3 years, 11 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/elements/viewer-page-indicator/viewer-page-indicator.js
diff --git a/chrome/browser/resources/pdf/elements/viewer-page-indicator/viewer-page-indicator.js b/chrome/browser/resources/pdf/elements/viewer-page-indicator/viewer-page-indicator.js
index 4af00a2cff1740328bcce21eccb1bcd83397f538..65b1be2ffc3ae948e3d305794ba4803fc3151d2a 100644
--- a/chrome/browser/resources/pdf/elements/viewer-page-indicator/viewer-page-indicator.js
+++ b/chrome/browser/resources/pdf/elements/viewer-page-indicator/viewer-page-indicator.js
@@ -42,14 +42,14 @@ Polymer({
document.documentElement.clientHeight);
this.style.top = percent *
(document.documentElement.clientHeight - this.offsetHeight) + 'px';
-<if expr="is_macosx">
+// <if expr="is_macosx">
// On the Mac, if overlay scrollbars are enabled, prevent them from
// overlapping the triangle.
if (window.innerWidth == document.body.scrollWidth)
this.style.right = '16px';
else
this.style.right = '0px';
-</if>
+// </if>
this.style.opacity = 1;
clearTimeout(this.timerId);
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/browser/resources/predictors/predictors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698