1. 12 May, 2015 36 commits
  2. 11 May, 2015 4 commits
    • dzhioev's avatar
      Unified icon-buttons used in the new GAIA flow. · 38e0418e
      dzhioev authored
      This CL introduces the 'gaia-icon-button' decorator, which can be applied to any
      <button>.
      All icon buttons introduced recently are <button is="gaia-icon-button">s now.
      
      BUG=478545,472671
      TEST=manual
      
      Review URL: https://codereview.chromium.org/1133733003
      
      Cr-Commit-Position: refs/heads/master@{#329284}
      38e0418e
    • jdduke's avatar
      Reland "[Android] Preserve the front buffer when the activity is paused" · 61c7526b
      jdduke authored
      This change was reverted in r322170 due to WebView breakage. The
      ApplicationStatus dependency has been made optional, allowing
      WebView to opt-out of its use. It was speculatively reverted
      again in r327092, but that turned out to be a false alarm.
      
      Original description: ----------------------------
      
      Currently, when an activity is stopped, we explicitly hide the
      foreground Tab. This is problematic, as current hiding semantics
      might clear the visual front buffer before the window is hidden.
      This in turn causes an unpleasant flickering during activity
      transitions, e.g., when backgrounding Chrome or locking the screen.
      
      Wire Activity onPause/onResume notifications to WindowAndroidObservers,
      allowing the foreground tab to preserve its front buffer while hiding
      its web content. If the tab is explicitly hidden, or the root window
      is lost, the front buffer will be cleared as usual.
      
      BUG=481450,434401
      
      Review URL: https://codereview.chromium.org/1001573003
      
      Cr-Commit-Position: refs/heads/master@{#329283}
      61c7526b
    • blink-deps-roller's avatar
      Roll src/third_party/WebKit ff93a86:38a0fb8 (svn 195201:195205) · 7fd7d99a
      blink-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/chromium/blink/+log/ff93a86..38a0fb8
      
      TBR=yosin@chromium.org,dpranke@chromium.org
      
      Review URL: https://codereview.chromium.org/1128003004
      
      Cr-Commit-Position: refs/heads/master@{#329282}
      7fd7d99a
    • dalecurtis's avatar
      Partially revert change to not post AttemptRead() every Render(). · 95a43e33
      dalecurtis authored
      http://crrev.com/328649 changed VideoRendererImpl so that it only
      posted AttemptRead() when there was space in the queue.  Unfortunately
      this causes more dropped frames for demanding content (H.264 4K in
      particular) than always posting since the AttemptRead() call may be
      delayed for some time:
      
      AttemptRead() TimeFromPostUntilExecuted: 0.076 ms
      AttemptRead() TimeFromPostUntilExecuted: 4.613 ms
      AttemptRead() TimeFromPostUntilExecuted: 56.158 ms
      AttemptRead() TimeFromPostUntilExecuted: 56.197 ms
      AttemptRead() TimeFromPostUntilExecuted: 52.214 ms
      AttemptRead() TimeFromPostUntilExecuted: 35.555 ms
      AttemptRead() TimeFromPostUntilExecuted: 18.917 ms
      
      At the same time, the performance improvements I saw locally on my
      MacBook are not reflected by the performance bots.  I further see the
      dropped frame regression locally on Windows, so let's revert.
      
      I considered a couple other solutions to avoid always posting, but
      none were very glamorous:
      - Release lock before calling AttemptRead(), fixes cases where Render()
      was blocked on the lock in FrameReady().
      - Checking the end time / ideal render count for the current frame and
      posting on when we're almost expired...
      
      In both cases, neither resolved all problem cases and both add more
      complexity than just posting.  The task will abort trivially if there
      is no work to do, so just revert.
      
      BUG=439548
      TEST=telemetry dropped frame count is lower.
      
      Review URL: https://codereview.chromium.org/1135143002
      
      Cr-Commit-Position: refs/heads/master@{#329281}
      95a43e33