Update media controls time formatting to use hours [chromium/src : master]

0 views
Skip to first unread message

Tommy Steimel (Gerrit)

unread,
Aug 11, 2017, 8:14:41 PM8/11/17
to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Mounir Lamouri, chromium...@chromium.org, Kentaro Hara

PTAL

Patch set 3:Commit-Queue +1

View Change

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 3
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Sat, 12 Aug 2017 00:14:35 +0000
    Gerrit-HasComments: No
    Gerrit-HasLabels: Yes

    Tommy Steimel (Gerrit)

    unread,
    Aug 14, 2017, 12:43:16 PM8/14/17
    to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, CJ DiMeglio, apacible, Mounir Lamouri

    Tommy Steimel has uploaded this change for review.

    View Change

    Update media controls time formatting to use hours

    This CL changes the formatting rules of the media controls as follows:
    [0-10) minutes => m:ss
    [10-60) minutes => mm:ss
    [1-10) hours => h:mm:ss
    [10-100) hours => hh:mm:ss
    [100-1000) hours => hhh:mm:ss
    etc.

    The current time format will no longer be affected by the duration. For
    example, if we're 1 minute and 51 seconds into a 12 minute video, we
    would show "1:51 / 12:00" (not zero-padding the minutes).


    Bug: 739152
    Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    ---
    M third_party/WebKit/Source/core/layout/LayoutTheme.cpp
    M third_party/WebKit/Source/core/layout/LayoutTheme.h
    M third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp
    M third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
    4 files changed, 26 insertions(+), 34 deletions(-)


    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: newchange
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 3
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: apacible <apac...@chromium.org>

    Mounir Lamouri (Gerrit)

    unread,
    Aug 15, 2017, 12:16:31 PM8/15/17
    to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, apacible, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    sgtm, left two comments to improve this further.

    View Change

    2 comments:

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 3
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: apacible <apac...@chromium.org>
    Gerrit-Comment-Date: Tue, 15 Aug 2017 16:16:22 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: No

    CJ DiMeglio (Gerrit)

    unread,
    Aug 15, 2017, 2:06:53 PM8/15/17
    to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Mounir Lamouri, apacible, Commit Bot, chromium...@chromium.org, Kentaro Hara

    View Change

    1 comment:

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 3
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: apacible <apac...@chromium.org>
    Gerrit-Comment-Date: Tue, 15 Aug 2017 18:06:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: No

    Tommy Steimel (Gerrit)

    unread,
    Aug 16, 2017, 6:53:33 PM8/16/17
    to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Mounir Lamouri, apacible, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    PTAL :)

    Patch set 4:Commit-Queue +1

    View Change

    3 comments:

      • Add a test that is both negative and has hours? […]

        With the big change to move into media_controls module, I also added a quick check that the duration time has the "/ ". Added negative hour test

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 4
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: apacible <apac...@chromium.org>
    Gerrit-Comment-Date: Wed, 16 Aug 2017 22:53:26 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: Yes

    apacible (Gerrit)

    unread,
    Aug 16, 2017, 9:25:16 PM8/16/17
    to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    View Change

    2 comments:

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 5
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: apacible <apac...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Thu, 17 Aug 2017 01:25:07 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: No

    Mounir Lamouri (Gerrit)

    unread,
    Aug 17, 2017, 8:37:03 AM8/17/17
    to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, apacible, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    lgtm with comments applied. We should wait for rachelis@ before landing though.

    Patch set 5:Code-Review +1

    View Change

    3 comments:

      • Patch Set #5, Line 947:

        Since the format of the current time no longer depends on
        // the duration, do we still need this?

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 5
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: apacible <apac...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Thu, 17 Aug 2017 12:36:51 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: Yes

    Tommy Steimel (Gerrit)

    unread,
    Aug 17, 2017, 10:16:08 PM8/17/17
    to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Mounir Lamouri, apacible, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    Patch set 6:Commit-Queue +1

    View Change

    4 comments:

      • 756698): Determine if this is still needed since the format
        // of the current time no longer depend

      • Maybe worth filing a bug and link it here.

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 6
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: apacible <apac...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Fri, 18 Aug 2017 02:16:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: Yes

    Mounir Lamouri (Gerrit)

    unread,
    Aug 18, 2017, 7:45:48 AM8/18/17
    to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, apacible, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    View Change

    1 comment:

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 6
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: apacible <apac...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Fri, 18 Aug 2017 11:45:43 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: No

    Tommy Steimel (Gerrit)

    unread,
    Aug 18, 2017, 1:07:12 PM8/18/17
    to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Emil A Eklund, Mounir Lamouri, apacible, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    +eae@ for OWNERs review of third_party/WebKit/Source/core/layout

    View Change

    1 comment:

      • I don't think it's needed.

        Sounds good

    To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
    Gerrit-Change-Number: 611703
    Gerrit-PatchSet: 6
    Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: Emil A Eklund <e...@chromium.org>
    Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
    Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
    Gerrit-Reviewer: apacible <apac...@chromium.org>
    Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
    Gerrit-CC: Commit Bot <commi...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Comment-Date: Fri, 18 Aug 2017 17:07:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-HasLabels: No

    apacible (Gerrit)

    unread,
    Aug 18, 2017, 1:09:10 PM8/18/17
    to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Emil A Eklund, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

    Patch set 6:Code-Review +1

    View Change

      To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-MessageType: comment
      Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
      Gerrit-Change-Number: 611703
      Gerrit-PatchSet: 6
      Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
      Gerrit-Reviewer: Emil A Eklund <e...@chromium.org>
      Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
      Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
      Gerrit-Reviewer: apacible <apac...@chromium.org>
      Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
      Gerrit-CC: Commit Bot <commi...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-Comment-Date: Fri, 18 Aug 2017 17:09:02 +0000
      Gerrit-HasComments: No
      Gerrit-HasLabels: Yes

      Tommy Steimel (Gerrit)

      unread,
      Aug 23, 2017, 5:00:54 PM8/23/17
      to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, apacible, Emil A Eklund, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

      eae@ friendly ping :)

      View Change

        To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
        Gerrit-Change-Number: 611703
        Gerrit-PatchSet: 6
        Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
        Gerrit-Reviewer: Emil A Eklund <e...@chromium.org>
        Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
        Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
        Gerrit-Reviewer: apacible <apac...@chromium.org>
        Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-Comment-Date: Wed, 23 Aug 2017 21:00:46 +0000
        Gerrit-HasComments: No
        Gerrit-HasLabels: No

        Tommy Steimel (Gerrit)

        unread,
        Aug 24, 2017, 11:54:15 AM8/24/17
        to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Emil A Eklund, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

        +f...@opera.com OWNERs review of third_party/WebKit/Source/core/layout

        View Change

          To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
          Gerrit-Change-Number: 611703
          Gerrit-PatchSet: 6
          Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: Emil A Eklund <e...@chromium.org>
          Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
          Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
          Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: apacible <apac...@chromium.org>
          Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>
          Gerrit-Comment-Date: Thu, 24 Aug 2017 15:53:59 +0000
          Gerrit-HasComments: No
          Gerrit-HasLabels: No

          Tommy Steimel (Gerrit)

          unread,
          Aug 24, 2017, 11:54:21 AM8/24/17
          to Emil A Eklund, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

          Tommy Steimel removed Emil A Eklund from this change.

          View Change

          To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: deleteReviewer
          Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
          Gerrit-Change-Number: 611703
          Gerrit-PatchSet: 6
          Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
          Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
          Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: apacible <apac...@chromium.org>
          Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>

          Fredrik Söderquist (Gerrit)

          unread,
          Aug 24, 2017, 1:42:19 PM8/24/17
          to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, apacible, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

          Patch set 6:Code-Review +1

          View Change

          1 comment:

          To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
          Gerrit-Change-Number: 611703
          Gerrit-PatchSet: 6
          Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
          Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
          Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: apacible <apac...@chromium.org>
          Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>
          Gerrit-Comment-Date: Thu, 24 Aug 2017 17:42:12 +0000
          Gerrit-HasComments: Yes
          Gerrit-HasLabels: Yes

          Tommy Steimel (Gerrit)

          unread,
          Aug 24, 2017, 2:33:24 PM8/24/17
          to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, feature-me...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

          Patch set 7:Commit-Queue +2

          View Change

          1 comment:

            • return "/ " + MediaControlTimeDisplayElement::FormatTime();
              }

              I believe you could write this as just: […]

              Much cleaner. Thanks!

          To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
          Gerrit-Change-Number: 611703
          Gerrit-PatchSet: 7
          Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
          Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
          Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
          Gerrit-Reviewer: apacible <apac...@chromium.org>
          Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>
          Gerrit-Comment-Date: Thu, 24 Aug 2017 18:33:17 +0000
          Gerrit-HasComments: Yes
          Gerrit-HasLabels: Yes

          Commit Bot (Gerrit)

          unread,
          Aug 24, 2017, 2:33:54 PM8/24/17
          to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, feature-me...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Mounir Lamouri, CJ DiMeglio, chromium...@chromium.org, Kentaro Hara

          CQ is trying da patch.

          Note: The patchset sent to CQ was uploaded after this CL was approved.
          "rebase and cleaner formattime" https://chromium-review.googlesource.com/c/611703/7

          Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/611703/7

          Bot data: {"action": "start", "triggered_at": "2017-08-24T18:33:17.0Z", "cq_cfg_revision": "81f1a3f0cb07446abeff7dd01ff1b8bae94ffe0d", "revision": "f5312d75b1a938be5b3f0502db1376cd70486de7"}

          View Change

            To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-MessageType: comment
            Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
            Gerrit-Change-Number: 611703
            Gerrit-PatchSet: 7
            Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
            Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
            Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
            Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
            Gerrit-Reviewer: apacible <apac...@chromium.org>
            Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
            Gerrit-CC: Commit Bot <commi...@chromium.org>
            Gerrit-CC: Kentaro Hara <har...@chromium.org>
            Gerrit-Comment-Date: Thu, 24 Aug 2017 18:33:46 +0000
            Gerrit-HasComments: No
            Gerrit-HasLabels: No

            Commit Bot (Gerrit)

            unread,
            Aug 24, 2017, 4:34:50 PM8/24/17
            to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, feature-me...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Mounir Lamouri, CJ DiMeglio, chromium...@chromium.org, Kentaro Hara
            Try jobs failed on following builders:
            android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/249529)

            View Change

              To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-MessageType: comment
              Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
              Gerrit-Change-Number: 611703
              Gerrit-PatchSet: 7
              Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
              Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
              Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
              Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
              Gerrit-Reviewer: apacible <apac...@chromium.org>
              Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
              Gerrit-CC: Commit Bot <commi...@chromium.org>
              Gerrit-CC: Kentaro Hara <har...@chromium.org>
              Gerrit-Comment-Date: Thu, 24 Aug 2017 20:34:47 +0000
              Gerrit-HasComments: No
              Gerrit-HasLabels: No

              Tommy Steimel (Gerrit)

              unread,
              Aug 24, 2017, 6:25:59 PM8/24/17
              to blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, feature-me...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Mounir Lamouri, CJ DiMeglio, Commit Bot, chromium...@chromium.org, Kentaro Hara

              Patch set 7:Commit-Queue +2

              View Change

                To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

                Gerrit-Project: chromium/src
                Gerrit-Branch: master
                Gerrit-MessageType: comment
                Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
                Gerrit-Change-Number: 611703
                Gerrit-PatchSet: 7
                Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
                Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
                Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
                Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
                Gerrit-Reviewer: apacible <apac...@chromium.org>
                Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
                Gerrit-CC: Commit Bot <commi...@chromium.org>
                Gerrit-CC: Kentaro Hara <har...@chromium.org>
                Gerrit-Comment-Date: Thu, 24 Aug 2017 22:25:55 +0000
                Gerrit-HasComments: No
                Gerrit-HasLabels: Yes

                Commit Bot (Gerrit)

                unread,
                Aug 24, 2017, 6:26:45 PM8/24/17
                to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, feature-me...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Mounir Lamouri, CJ DiMeglio, chromium...@chromium.org, Kentaro Hara

                CQ is trying da patch.

                Note: The patchset sent to CQ was uploaded after this CL was approved.
                "rebase and cleaner formattime" https://chromium-review.googlesource.com/c/611703/7

                Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/611703/7

                Bot data: {"action": "start", "triggered_at": "2017-08-24T22:25:55.0Z", "cq_cfg_revision": "81f1a3f0cb07446abeff7dd01ff1b8bae94ffe0d", "revision": "f5312d75b1a938be5b3f0502db1376cd70486de7"}

                View Change

                  To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

                  Gerrit-Project: chromium/src
                  Gerrit-Branch: master
                  Gerrit-MessageType: comment
                  Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
                  Gerrit-Change-Number: 611703
                  Gerrit-PatchSet: 7
                  Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
                  Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
                  Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
                  Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
                  Gerrit-Reviewer: apacible <apac...@chromium.org>
                  Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
                  Gerrit-CC: Commit Bot <commi...@chromium.org>
                  Gerrit-CC: Kentaro Hara <har...@chromium.org>
                  Gerrit-Comment-Date: Thu, 24 Aug 2017 22:26:40 +0000
                  Gerrit-HasComments: No
                  Gerrit-HasLabels: No

                  Commit Bot (Gerrit)

                  unread,
                  Aug 24, 2017, 8:35:46 PM8/24/17
                  to Tommy Steimel, blink-revi...@chromium.org, blink-...@chromium.org, eae+bli...@chromium.org, feature-me...@chromium.org, jchaffraix...@chromium.org, leviw+re...@chromium.org, pdr+renderi...@chromium.org, szager+la...@chromium.org, zol...@webkit.org, Fredrik Söderquist, apacible, Mounir Lamouri, CJ DiMeglio, chromium...@chromium.org, Kentaro Hara

                  Commit Bot merged this change.

                  View Change

                  Approvals: Fredrik Söderquist: Looks good to me Mounir Lamouri: Looks good to me apacible: Looks good to me Tommy Steimel: Commit
                  Update media controls time formatting to use hours

                  This CL changes the formatting rules of the media controls as follows:
                  [0-10) minutes => m:ss
                  [10-60) minutes => mm:ss
                  [1-10) hours => h:mm:ss
                  [10-100) hours => hh:mm:ss
                  [100-1000) hours => hhh:mm:ss
                  etc.

                  The current time format will no longer be affected by the duration. For
                  example, if we're 1 minute and 51 seconds into a 12 minute video, we
                  would show "1:51 / 12:00" (not zero-padding the minutes).


                  Bug: 739152
                  Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
                  Reviewed-on: https://chromium-review.googlesource.com/611703
                  Commit-Queue: Tommy Steimel <ste...@chromium.org>
                  Reviewed-by: apacible <apac...@chromium.org>
                  Reviewed-by: Fredrik Söderquist <f...@opera.com>
                  Reviewed-by: Mounir Lamouri <mlam...@chromium.org>
                  Cr-Commit-Position: refs/heads/master@{#497265}

                  ---
                  M third_party/WebKit/Source/core/layout/LayoutTheme.cpp
                  M third_party/WebKit/Source/core/layout/LayoutTheme.h
                  M third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp
                  M third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
                  M third_party/WebKit/Source/modules/media_controls/MediaControlsImplTest.cpp
                  M third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.cpp
                  M third_party/WebKit/Source/modules/media_controls/elements/MediaControlRemainingTimeDisplayElement.h
                  M third_party/WebKit/Source/modules/media_controls/elements/MediaControlTimeDisplayElement.cpp
                  M third_party/WebKit/Source/modules/media_controls/elements/MediaControlTimeDisplayElement.h
                  9 files changed, 89 insertions(+), 81 deletions(-)


                  To view, visit change 611703. To unsubscribe, or for help writing mail filters, visit settings.

                  Gerrit-Project: chromium/src
                  Gerrit-Branch: master
                  Gerrit-MessageType: merged
                  Gerrit-Change-Id: Ibed50426593dff0c5541a3a9c88a0b6229a896b3
                  Gerrit-Change-Number: 611703
                  Gerrit-PatchSet: 8
                  Gerrit-Owner: Tommy Steimel <ste...@chromium.org>
                  Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
                  Gerrit-Reviewer: Fredrik Söderquist <f...@opera.com>
                  Gerrit-Reviewer: Mounir Lamouri <mlam...@chromium.org>
                  Gerrit-Reviewer: Tommy Steimel <ste...@chromium.org>
                  Gerrit-Reviewer: apacible <apac...@chromium.org>
                  Gerrit-CC: CJ DiMeglio <lethala...@chromium.org>
                  Reply all
                  Reply to author
                  Forward
                  0 new messages