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

Issue 1364163002: Material PDF: Support RTL languages (Closed)

Created:
5 years, 3 months ago by tsergeant
Modified:
5 years, 2 months ago
Reviewers:
raymes
CC:
arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Material PDF: Support RTL languages Among a number of minor changes to padding and alignmnent, we also switch viewer-zoom-toolbar to use CSS transitions rather than neon-animation, as it's much easier to make RTL compatible and more concise code. We also switch from number input in the page selector, as it does not have suitable localization support. Disabling presubmit since it doesn't like paper-tooltip BUG=506035 NOPRESUBMIT=true Committed: https://crrev.com/60359baa563144ece74a4f8f3e19632b339a7c50 Cr-Commit-Position: refs/heads/master@{#351031}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Use reflectToAttribute #

Total comments: 6

Patch Set 4 : Review comments #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -82 lines) Patch
M chrome/browser/resources/pdf/elements/viewer-bookmark/viewer-bookmark.css View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-bookmark/viewer-bookmark.js View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-page-selector/viewer-page-selector.css View 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-page-selector/viewer-page-selector.html View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.css View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-toolbar-dropdown/viewer-toolbar-dropdown.css View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.html View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.js View 1 2 4 chunks +10 lines, -53 lines 0 comments Download
M chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-toolbar.css View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/pdf/index-material.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/resources/pdf/toolbar_manager.js View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (6 generated)
tsergeant
5 years, 3 months ago (2015-09-24 07:13:07 UTC) #2
raymes
I just skimmed this but a lot of the changes look magical to me (css! ...
5 years, 2 months ago (2015-09-25 00:07:59 UTC) #3
tsergeant
On 2015/09/25 at 00:07:59, raymes wrote: > I just skimmed this but a lot of ...
5 years, 2 months ago (2015-09-25 00:22:40 UTC) #4
raymes
lgtm https://codereview.chromium.org/1364163002/diff/40001/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css File chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css (right): https://codereview.chromium.org/1364163002/diff/40001/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css#newcode15 chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css:15: :host-context([dir=rtl]) #wrapper.closed { nit: should use attribute :host-context([dir-rtl]) ...
5 years, 2 months ago (2015-09-28 03:14:53 UTC) #5
tsergeant
https://codereview.chromium.org/1364163002/diff/40001/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css File chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css (right): https://codereview.chromium.org/1364163002/diff/40001/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css#newcode15 chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css:15: :host-context([dir=rtl]) #wrapper.closed { On 2015/09/28 at 03:14:53, raymes wrote: ...
5 years, 2 months ago (2015-09-28 04:26:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364163002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364163002/60001
5 years, 2 months ago (2015-09-28 04:26:48 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/102958) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-09-28 04:27:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364163002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364163002/80001
5 years, 2 months ago (2015-09-28 04:42:35 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-09-28 07:56:08 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 07:57:02 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/60359baa563144ece74a4f8f3e19632b339a7c50
Cr-Commit-Position: refs/heads/master@{#351031}

Powered by Google App Engine
This is Rietveld 408576698