|
|
Created:
3 years, 11 months ago by takise Modified:
3 years, 11 months ago Reviewers:
oka CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org, yawano Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix the tooltip for thumbnail view option in gallery on tabbing
Previously, when tab button was clicked up to thumbnail view option in
gallery, the tooltip for the option did not work. This is also true of
slide view option in thumbnail mode. Both issues are resolved with this
patch.
BUG=549547
TEST=manually tested in the issue
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2626973004
Cr-Commit-Position: refs/heads/master@{#443156}
Committed: https://chromium.googlesource.com/chromium/src/+/0c13a0b61a5ca9950be7796af8c480429b03e87a
Patch Set 1 #
Total comments: 8
Patch Set 2 : Fix the tooltip for second review iteration #
Messages
Total messages: 19 (9 generated)
Description was changed from ========== Fix the tooltip for thumbnail view option in gallery on tabbing Previously, when tab button was clicked up to thumbnail view option in gallery, the tooltip for the option did not work. This is also true of slide view option in thumbnail mode. Both issues are resolved with this patch. BUG=549547 TEST=manually tested in the issue ========== to ========== Fix the tooltip for thumbnail view option in gallery on tabbing Previously, when tab button was clicked up to thumbnail view option in gallery, the tooltip for the option did not work. This is also true of slide view option in thumbnail mode. Both issues are resolved with this patch. BUG=549547 TEST=manually tested in the issue CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
takise@google.com changed reviewers: + oka@chromium.org
PTAL
https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... File ui/file_manager/gallery/js/gallery.js (right): https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:545: */ Add a space before *. https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:546: Remove this empty line. https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:548: var button = event.currentTarget; Are you sure that event is not undefined? If event is undefined, this line causes error. I guess you can use this.modeSwitchButton_ here instead. https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:584: this.updateModeButtonAttribute_(opt_event); I think this line should be moved to setCurrentMode_. The comment of setCurrentMode_ reads "Sets the current mode, update the UI.". It looks the appropriate place to update the button attribute.
Description was changed from ========== Fix the tooltip for thumbnail view option in gallery on tabbing Previously, when tab button was clicked up to thumbnail view option in gallery, the tooltip for the option did not work. This is also true of slide view option in thumbnail mode. Both issues are resolved with this patch. BUG=549547 TEST=manually tested in the issue CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Fix the tooltip for thumbnail view option in gallery on tabbing Previously, when tab button was clicked up to thumbnail view option in gallery, the tooltip for the option did not work. This is also true of slide view option in thumbnail mode. Both issues are resolved with this patch. BUG=549547 TEST=manually tested in the issue CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
PTAL https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... File ui/file_manager/gallery/js/gallery.js (right): https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:545: */ On 2017/01/12 01:59:24, oka wrote: > Add a space before *. Done. https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:546: On 2017/01/12 01:59:24, oka wrote: > Remove this empty line. Done. https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:548: var button = event.currentTarget; On 2017/01/12 01:59:24, oka wrote: > Are you sure that event is not undefined? If event is undefined, this line > causes error. > I guess you can use this.modeSwitchButton_ here instead. Done. https://codereview.chromium.org/2626973004/diff/1/ui/file_manager/gallery/js/... ui/file_manager/gallery/js/gallery.js:584: this.updateModeButtonAttribute_(opt_event); On 2017/01/12 01:59:24, oka wrote: > I think this line should be moved to setCurrentMode_. > The comment of setCurrentMode_ reads "Sets the current mode, update the UI.". It > looks the appropriate place to update the button attribute. Done.
lgtm
On 2017/01/12 04:20:35, oka wrote: > lgtm Thank you!
The CQ bit was checked by takise@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by oka@chromium.org
The CQ bit was unchecked by takise@google.com
The CQ bit was checked by takise@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 20001, "attempt_start_ts": 1484195746476200, "parent_rev": "30b506970f7903f7434dad86568fc90633dadce1", "commit_rev": "0c13a0b61a5ca9950be7796af8c480429b03e87a"}
Message was sent while issue was closed.
Description was changed from ========== Fix the tooltip for thumbnail view option in gallery on tabbing Previously, when tab button was clicked up to thumbnail view option in gallery, the tooltip for the option did not work. This is also true of slide view option in thumbnail mode. Both issues are resolved with this patch. BUG=549547 TEST=manually tested in the issue CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Fix the tooltip for thumbnail view option in gallery on tabbing Previously, when tab button was clicked up to thumbnail view option in gallery, the tooltip for the option did not work. This is also true of slide view option in thumbnail mode. Both issues are resolved with this patch. BUG=549547 TEST=manually tested in the issue CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2626973004 Cr-Commit-Position: refs/heads/master@{#443156} Committed: https://chromium.googlesource.com/chromium/src/+/0c13a0b61a5ca9950be7796af8c4... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/0c13a0b61a5ca9950be7796af8c4...
Message was sent while issue was closed.
Conguratulations for your first patch! On Thu, Jan 12, 2017 at 1:52 PM commit-bot@chromium.org via codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> wrote: > Committed patchset #2 (id:20001) as > > https://chromium.googlesource.com/chromium/src/+/0c13a0b61a5ca9950be7796af8c4... > > https://codereview.chromium.org/2626973004/ > -- You received this message because you are subscribed to the Google Groups "Chromium-reviews" group. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Message was sent while issue was closed.
Thank you Oka-san for your kind help! On Thu, Jan 12, 2017 at 1:53 PM, Keigo Oka <oka@chromium.org> wrote: > Conguratulations for your first patch! > > On Thu, Jan 12, 2017 at 1:52 PM commit-bot@chromium.org via > codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> > wrote: > >> Committed patchset #2 (id:20001) as >> https://chromium.googlesource.com/chromium/src/+/ >> 0c13a0b61a5ca9950be7796af8c480429b03e87a >> >> https://codereview.chromium.org/2626973004/ >> > -- You received this message because you are subscribed to the Google Groups "Chromium-reviews" group. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org. |