1. 27 Sep, 2013 14 commits
  2. 26 Sep, 2013 8 commits
  3. 25 Sep, 2013 11 commits
  4. 24 Sep, 2013 7 commits
    • Selim Gurun's avatar
    • enne@chromium.org's avatar
      Cherry-pick: cc: Set needs update draw properties during renderer creation · e591d623
      enne@chromium.org authored
      Cherry-pick of Chromium crrev.com/222796.
      
      BUG: 10460177
      
      Conflicts:
      	cc/layers/picture_layer_impl.cc
      	cc/layers/picture_layer_impl.h
      	cc/layers/picture_layer_impl_unittest.cc
      
      Original description:
      
      After releasing resources from the tree and recreating a renderer, it's
      required for trees to reupdate themselves.  This is because layers drop
      resources during DidLoseOutputSurface and PictureLayerImpl in particular
      needs an UpdateDrawProperties to figure out which tilings it needs and
      which one is high res.  (Without this, syncing a tiling from the twin
      layer and then calling UpdateTilePriorities will call
      MarkVisibleResourcesAsRequired, which may crash because there are
      tilings, but no high res ones.)
      
      This bug was missed in two places in LayerTreeHostImpl.
      InitializeRenderer properly called set_needs_update_draw_properties, but
      ReleaseGL and DeferredInitialize did not (although both recreate the
      renderer).
      
      As a sanity check, UpdateTilePriorities now CHECKs that
      CalculateContentsScale (aka UpdateDrawProperties) has been called on
      PictureLayerImpl between ctor/ResetRasterScale and UpdateTilePriorities.
      
      ReleaseGL path was caught by:
      LayerTreeHostTestDeferredInitialize.*
      
      DeferredInitialize path is tested by new:
      DeferredInitPictureLayerImplTest.PreventUpdateTilePrioritiesDuringLostContext
      
      Change-Id: Ib05a128499e9ce2d668f4d4b1a05953d641cc685
      e591d623
    • Jonathan Dixon's avatar
      Cherry-pick "Support URL fragment resolution againt non-hierarchical schemes" · 06797e42
      Jonathan Dixon authored
      Bug 10726773
      
      patched in from https://codereview.chromium.org/23835019/ PS1
      
      The workaround previously applied for Bug 10459904 left some cases
      unhandled, so taking this as part of the full upstream fix
      http://crrev.com/23835019
      
      Original description
      Support URL fragment resolution againt non-hierarchical schemes
      
      Support URL fragment resolution against non-hierarchical schemes
      As a result, data: about: etc now have 'query' and 'ref' components
      parsed; as a result a new GURL::GetContent() convenience is added to retrieve
      the spec with the scheme stripped off.
      
      BUG=291747
      
      Change-Id: Iae6f8cd77960b42956a1495c289fc074f3ae7e74
      06797e42
    • Jonathan Dixon's avatar
      Cherry-pick "Preparing to support fragment resolution against non-hierarchical schemes" · de1bd3eb
      Jonathan Dixon authored
      Bug 10726773
      
      patched in from https://codereview.chromium.org/23549039/ PS7
      
      The workaround previously applied for Bug 10459904 left some cases
      unhandled, so taking this as part of the full upstream fix
      http://crrev.com/23835019
      
      Original description
      Preparing to support fragment resolution against non-hierarchical schemes
      
      Doing the first part of https://codereview.chromium.org/23835019/
      in a preparation CL that should not make any tests fail.
      
      BUG=291747
      
      Change-Id: If4e1e7117d4153ee74f98b0f8ad0bab15e05ef10
      de1bd3eb
    • Jonathan Dixon's avatar
      Revert "Work-around for URL fragments resolving against about:blank" · e5b9a41b
      Jonathan Dixon authored
      Bug 10726773
      
      The workaround previously applied for Bug 10459904 left some cases
      unhandled, so reverting this to instead take the full fix from
      upstream http://crrev.com/23835019
      
      This reverts commit 69bf2d18.
      
      Change-Id: Iba4f83ca7bffd1470c8aac68f25791b7a9b9e093
      e5b9a41b
    • Torne (Richard Coles)'s avatar
      Extend WebView useragent to mention Chrome version. · 0f3c7e1f
      Torne (Richard Coles) authored
      Add "Chrome/30.0.0.0" to the WebView's useragent to hint to servers that
      the rendering engine is a modern Chromium and therefore it's okay to
      serve "good" content to it. We keep the existing "Version/4.0" token in
      case WebView-specific content is sniffing for it. The generic version
      30.0.0.0 is used as the version of Chromium in the WebView does not
      correspond to any exact Chromium branch at this time.
      
      Bug: 10659017
      Change-Id: I5c80509955ffb491f07b48cc5a0b0023ceb368a3
      0f3c7e1f
    • Ben Murdoch's avatar
      Merge [Android] Inflate Select Action Bar from XML. · 88a6b892
      Ben Murdoch authored
      Merge from upstream https://codereview.chromium.org/23672055/
      
      Bug: 10800319
      
      Original description:
      This gives us most flexibility in applying styles for content/
      embedders.
      
      No change in behavior.
      
      Change-Id: I32d7d7621a98bfc24e753d8f6a18a79fbd8a2c02
      88a6b892