1. 25 Apr, 2015 7 commits
    • wychen's avatar
      Changing font size with pinch gesture in Reader Mode · 6349c066
      wychen authored
      When users pinch in Reader Mode, the page would zoom in or out as if it
      is a normal web page allowing user-zoom. At the end of pinch gesture, the
      page would do text reflow. These pinch-to-zoom and text reflow effects
      are not native, but are emulated using CSS and JavaScript.
      
      In order to achieve near-native zooming and panning frame rate, fake 3D
      transform is used so that the layer doesn't repaint for each frame.
      
      After the text reflow, the web content shown in the viewport should
      roughly be the same paragraph before zooming.
      
      The control point of font size is the html element, so that both "em" and
      "rem" are adjusted. Accordingly, font size of body is no longer specified
      in CSS in unit of pixel.
      
      Some CSS styles and animations are updated to fix issues specific to
      resizing.
      
      BUG=445632
      
      Review URL: https://codereview.chromium.org/1009703002
      
      Cr-Commit-Position: refs/heads/master@{#326945}
      6349c066
    • dfalcantara's avatar
      [Document mode] Don't ignore tabs that don't have an initial URL · 73dfc1c5
      dfalcantara authored
      Tasks without initial URLs weren't being counted as legitimate Tabs,
      preventing them from being restored properly.
      
      BUG=481109
      
      Review URL: https://codereview.chromium.org/1109543003
      
      Cr-Commit-Position: refs/heads/master@{#326944}
      73dfc1c5
    • shrikant's avatar
      Try NtDuplicateObject instead of DuplicateHandle on Windows 8/8.1 for... · f7d692ca
      shrikant authored
      Try NtDuplicateObject instead of DuplicateHandle on Windows 8/8.1 for debugging AppContainer related failures.
      This patch should be reverted as soon as we get some confirmation that NtDuplicateObject is working better compared to DuplicateHandle.
      Theory behind this patch is that it might be possible that on machines which reporting this find of failure have some software like AV which might be intercepting calls to DuplciateHandle and may be failing somewhere in intercepted code path due to AppContainer.
      Looking in IDA error code that we are receiving 0xC0000023 (Which translates INSUFFICIENT_BUFFER (0x7a) in win32 language) doesn't seem to be in NtDuplicateObject code path (At least not found easily.).
      
      BUG=468922
      R=jschuh@chromium.org,cpu@chromium.org
      
      Review URL: https://codereview.chromium.org/1101913002
      
      Cr-Commit-Position: refs/heads/master@{#326943}
      f7d692ca
    • dpranke's avatar
      GN: Generate phony rules for unique executables. · ab689a4f
      dpranke authored
      Prior to this CL, if there were multiple targets ina GN build
      with the name 'unit_tests', we would not generate a top-level
      phony ninja target for them; you would have to specify either
      the full path to the output or the label name.
      
      This is confusing for things like 'browser_tests' and 'unit_tests',
      where in Chromium we might have multiple targets with that name,
      but only one of those is an executable (at least in the default
      toolchain).
      
      This CL adds logic to handle that case (so that 'unit_tests' does work).
      
      R=brettw@chromium.org
      BUG=480042
      
      Review URL: https://codereview.chromium.org/1101323005
      
      Cr-Commit-Position: refs/heads/master@{#326942}
      ab689a4f
    • vmpstr's avatar
      cc: Initialize test code tree variable in fake tiling client. · 47466950
      vmpstr authored
      This patch initializes one of the variables that is used in the fake
      tiling client.
      
      R=danakj
      
      Review URL: https://codereview.chromium.org/1102133002
      
      Cr-Commit-Position: refs/heads/master@{#326941}
      47466950
    • sergeyu's avatar
      Use base::ResetAndReturn() in remoting. · d9bdcb6c
      sergeyu authored
      base::ResetAndReturn() makes code shorter and simpler. Also in several
      places callbacks were Reset() after Run(), which is dangerous for
      callback that are allowed to delete the caller. base::ResetAndReturn()
      helps to avoid this issue.
      
      Review URL: https://codereview.chromium.org/1064863004
      
      Cr-Commit-Position: refs/heads/master@{#326940}
      d9bdcb6c
    • v8-autoroll's avatar
      Update V8 to version 4.4.35. · f79a51f8
      v8-autoroll authored
      Summary of changes available at:
      https://chromium.googlesource.com/v8/v8/+log/d8992d97..9432a893
      
      Please follow these instructions for assigning/CC'ing issues:
      https://code.google.com/p/v8-wiki/wiki/TriagingIssues
      
      TBR=hablich@chromium.org,machenbach@chromium.org,yangguo@chromium.org,vogelheim@chromium.org
      
      Review URL: https://codereview.chromium.org/1095203009
      
      Cr-Commit-Position: refs/heads/master@{#326939}
      f79a51f8
  2. 24 Apr, 2015 33 commits