1. 14 Feb, 2015 13 commits
  2. 13 Feb, 2015 27 commits
    • rdevlin.cronin's avatar
      [Extensions] Add new infobars.html article to docserver · 84df0652
      rdevlin.cronin authored
      Was supposed to be added in https://codereview.chromium.org/923463003/, but
      missed it.
      
      BUG=458325
      TBR=kalman@chromium.org
      
      Review URL: https://codereview.chromium.org/924143003
      
      Cr-Commit-Position: refs/heads/master@{#316332}
      84df0652
    • nednguyen's avatar
      [Telemetry] Make sure all page_test use 'action_name_to_run' except RasterizeAndMicro measurement. · 244e956b
      nednguyen authored
      Replace the expensive operation options.CreateParser() with
      parser = optparse.OptionParser()
      
      BUG=418375
      
      Review URL: https://codereview.chromium.org/928573003
      
      Cr-Commit-Position: refs/heads/master@{#316331}
      244e956b
    • megjablon's avatar
      Data Reduction Proxy Interstitials · 5effca2e
      megjablon authored
      A resource throttle and ui manager for the Data Reduction Proxy
      bypass interstitials. The intersitial is shown when the user
      loads a resource that returns a data reduction proxy bypass on http.
      The user can choose to continue loading the page or go back to the
      previous page. If the user accepts loading the page, the intertitial
      will not be shown again for another 5 minutes.
      
      BUG=428408
      
      Review URL: https://codereview.chromium.org/684223003
      
      Cr-Commit-Position: refs/heads/master@{#316330}
      5effca2e
    • rpaquay's avatar
      Disable ClearBrowserDataBrowserTest.CommitButtonDisabledWhileDeletionInProgress · 9750c6d7
      rpaquay authored
      BUG=458684
      TBR=estade@chromium.org
      
      Review URL: https://codereview.chromium.org/930463002
      
      Cr-Commit-Position: refs/heads/master@{#316329}
      9750c6d7
    • fsamuel's avatar
      GuestViewManager mapped <owner WebContents, element instance ID> => guest... · 833ee7ce
      fsamuel authored
      GuestViewManager mapped <owner WebContents, element instance ID> => guest instance ID on attachment. This routed IPCs from a given BrowserPlugin to the appropriate guest.
      
      Element instance IDs are unique per process. This mapping is fine in Chrome Apps where the embedder doesn't navigate but not for when the embedder is capable of cross-process navigation. In that case, element instance IDs of two BrowserPlugins in two different embedder processes of the same WebContents have the same key, and would thus route to the same guest.
      
      This is an issue because the lifetime of the exiting document overlaps with the lifetime of the entering document. Thus, racy behavior can occur. In particular, when navigating from one PDF to another, IPCs for tear down destined for the exiting BrowserPlugin can occasionally get routed to the entering BrowserPlugin. In bug 436339's case, the first step of tear down is to hide the guest content. That IPC ends up going to the entering guest, and so the new PDF is not displayed on screen.
      
      This CL fixes the issue by using <embedder process id, element instance ID> as the key to map to a guest instead of the embedder WebContents as the first component.
      
      BUG=436339
      
      Review URL: https://codereview.chromium.org/921473006
      
      Cr-Commit-Position: refs/heads/master@{#316328}
      833ee7ce
    • danakj's avatar
      cc: Fix bug in generating picture layer pairs from 2 lists. · 7e094504
      danakj authored
      When splitting the picture pile list on LayerTreeHostImpl up into a
      list on each LayerTreeImpl, a bug was introduced in the pair gathering
      code.
      
      If a layer is not in the RSLL on the active tree, we need to still
      generate a pair for the pending twin if it is in the RSLL, so that we
      will raster the layer and block activation on it.
      
      R=enne, vmpstr
      BUG=458411
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/926023003
      
      Cr-Commit-Position: refs/heads/master@{#316327}
      7e094504
    • sergeyu's avatar
      Disable tests broken on valgrind · 3a102500
      sergeyu authored
      TBR=wez@chromium.org
      BUG=458691
      
      Review URL: https://codereview.chromium.org/923923003
      
      Cr-Commit-Position: refs/heads/master@{#316326}
      3a102500
    • nasko's avatar
      Remove CHECK from createChildFrame · 000da13e
      nasko authored
      The CHECK helped narrow down the reasons for the failure and we know now
      that the sync IPC is failing. It needs more investigation why it happens,
      but the check can be removed now.
      
      BUG=397744
      
      Review URL: https://codereview.chromium.org/922373004
      
      Cr-Commit-Position: refs/heads/master@{#316325}
      000da13e
    • thakis's avatar
      Revert of Roll ANGLE 592ab9dd91e..4085347266. (patchset #1 id:1 of... · 277a8589
      thakis authored
      Revert of Roll ANGLE 592ab9dd91e..4085347266. (patchset #1 id:1 of https://codereview.chromium.org/925693002/)
      
      Reason for revert:
      Caused all kinds of build issues on the clang/win bots (try/catch are used, a few DISALLOW_COPY_AND_ASSSIGNs are qualified, and something about const params):
      
      http://build.chromium.org/p/chromium.fyi/builders/CrWinClang64%28dbg%29/builds/968/steps/compile/logs/stdio
      
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(94,5) :  error: expected member name or ';' after declaration specifiers
          DISALLOW_COPY_AND_ASSIGN(Buffer11::BufferStorage);
          ^                        ~~~~~~~~~~~~~~~~~~~~~~~
      ..\..\third_party\angle\src\common/angleutils.h(25,14) :  note: expanded from macro 'DISALLOW_COPY_AND_ASSIGN'
          TypeName(const TypeName&) = delete;       \
                   ^
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(94,5) :  error: expected ')'
      
      (Probable fix: Drop the qualifier, and move it into the inner class if it's not there already)
      
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(124,40) :  error: non-friend class member 'NativeStorage' cannot have a qualified name
          DISALLOW_COPY_AND_ASSIGN(Buffer11::NativeStorage);
                                   ~~~~~~~~~~^
      
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(124,40) :  error: non-friend class member 'NativeStorage' cannot have a qualified name
          DISALLOW_COPY_AND_ASSIGN(Buffer11::NativeStorage);
                                   ~~~~~~~~~~^
      
      Then a few of these:
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(211,9) :  error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage'
          if (stagingBuffer->getDataRevision() > mResolvedDataRevision)
              ^~~~~~~~~~~~~
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(213,13) :  error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage'
              if (stagingBuffer->getSize() > mResolvedData.size())
                  ^~~~~~~~~~~~~
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(215,39) :  error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage'
                  if (!mResolvedData.resize(stagingBuffer->getSize()))
                                            ^~~~~~~~~~~~~
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(230,60) :  error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage'
              memcpy(mResolvedData.data(), mappedResource.pData, stagingBuffer->getSize());
                                                                 ^~~~~~~~~~~~~
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(234,33) :  error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage'
              mResolvedDataRevision = stagingBuffer->getDataRevision();
                                      ^~~~~~~~~~~~~
      ..\..\third_party\angle\src\libANGLE\renderer\d3d\d3d11\Buffer11.cpp(269,13) :  error: cannot initialize object parameter of type 'const rx::Buffer11::BufferStorage' with an expression of type 'rx::Buffer11::NativeStorage'
              if (stagingBuffer->getSize() < requiredSize)
                  ^~~~~~~~~~~~~
      
      And a bunch of these:
      In file included from ..\..\third_party\angle\src\libANGLE\renderer\d3d\ProgramD3D.cpp:14:
      In file included from C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\future:11:
      In file included from C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\functional:6:
      In file included from C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\xfunctional:7:
      C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\xstring(2214,3) :  error: cannot compile this try statement yet
                      _TRY_BEGIN
                      ^~~~~~~~~~
      C:\b\depot_tools\win_toolchain\vs2013_files\win8sdk\bin\..\..\VC\include\xstddef(30,21) :  note: expanded from macro '_TRY_BEGIN'
       #define _TRY_BEGIN     try {
                              ^
      
      Sorry about reverting something for an FYI bot, but the bot's been red all day for various reasons, and I'd like it to be green over the long weekend. I'll try a local build with the roll patched in and I'll send you fixes for the issues, to make up for it a bit.
      
      Original issue's description:
      > Roll ANGLE 592ab9dd91e..4085347266.
      >
      > https://chromium.googlesource.com/angle/angle/+log/592ab9dd91e..4085347266
      >
      > BUG=391957,436191,450257,447419,452587,453543
      > R=zmo@chromium.org,bajones@chromium.org
      >
      > Committed: https://crrev.com/8e556e6de2c40fbf7379056facb6c9fa5f508f3e
      > Cr-Commit-Position: refs/heads/master@{#316292}
      
      TBR=bajones@chromium.org,zmo@chromium.org,jmadill@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=391957,436191,450257,447419,452587,453543
      
      Review URL: https://codereview.chromium.org/927753002
      
      Cr-Commit-Position: refs/heads/master@{#316324}
      277a8589
    • dbeam's avatar
      options: fix guest mode showing advanced settings bug. · a49a521c
      dbeam authored
      R=mlerman@chromium.org
      BUG=457255
      
      Review URL: https://codereview.chromium.org/924783002
      
      Cr-Commit-Position: refs/heads/master@{#316323}
      a49a521c
    • estark's avatar
      Before this change, fullscreen and mouse lock were allowed on file:// URLs... · 6eca4fd0
      estark authored
      Before this change, fullscreen and mouse lock were allowed on file:// URLs without giving the user a chance to Allow or Deny them and without showing any persistent UI. This change makes it so that users are always prompted with persistent UI on file:// URLs. There is no way to remember the preference to show or hide the persistent permission bubble because file:// URLs lack a clear origin concept.
      
      BUG=455953,455882
      TEST=Download http://adrifelt.github.io/demos/all-permissions (right click, Save As). Open the downloaded file in Chrome. Click "Fullscreen": a permissions bubble should have "Dismiss" and "Exit full screen" buttons, where "Dismiss" just dismisses the bubble. If you click Dismiss, the bubble should again show up when you enter fullscreen a second time. For Pointer Lock, the bubble should show Allow and Deny buttons, and the mouse should not be locked until you click Allow. Clicking Allow or Deny should not affect the behavior of the bubble if you press Pointer Lock again.
      
      Review URL: https://codereview.chromium.org/903683005
      
      Cr-Commit-Position: refs/heads/master@{#316322}
      6eca4fd0
    • orenb's avatar
      Update paper-checkbox to 0.5.4. · 85a2fa2a
      orenb authored
      The latest <paper-checkbox> matches the Material Design spec. The
      MD-Settings page will make use of this button in a follow-up CL.
      
      Since paper-checkbox isn't currently used in Chromium there shouldn't
      be any side effects for this change.
      
      BUG=457513
      NOPRESUBMIT=true
      
      Review URL: https://codereview.chromium.org/913353002
      
      Cr-Commit-Position: refs/heads/master@{#316321}
      85a2fa2a
    • rtenneti's avatar
      Change the QuicEncrypter to accept a pre-allocated buffer instead of · eb50361c
      rtenneti authored
      allocating it's own buffer.  No functional change.
      
      Merge internal change: 85952670
      
      R=rch@chromium.org
      
      Review URL: https://codereview.chromium.org/912163002
      
      Cr-Commit-Position: refs/heads/master@{#316320}
      eb50361c
    • sbc's avatar
      Add libssl1.0.0:i386 to install-build-deps.sh for naclports · 6ab44c36
      sbc authored
      Previously we were installing and using libssl0.9.8:i386
      which was actually a miss-match with the 1.0.0 headers
      installed by libssl-dev.
      
      TEST=local (remove links and run install-build-deps.sh)
      
      Review URL: https://codereview.chromium.org/913183004
      
      Cr-Commit-Position: refs/heads/master@{#316319}
      6ab44c36
    • fsamuel's avatar
      <webview> + <extensionview>: Generalize setValueIgnoreMutation · cf84e6ee
      fsamuel authored
      setValueIgnoreMutation should call setValue so that derived attribute objects
      only need to modify setValue to get the desired behavior.
      
      BUG=none
      TBR=lazyboy@chromium.org
      
      Review URL: https://codereview.chromium.org/928623002
      
      Cr-Commit-Position: refs/heads/master@{#316318}
      cf84e6ee
    • jsbell's avatar
      IndexedDB: Fix typo in test mock class names · fef215b9
      jsbell authored
      Tansaction => Transaction - apparently we were running low on 'R's at
      the time.
      
      R=cmumford@chromium.org
      
      Review URL: https://codereview.chromium.org/919343003
      
      Cr-Commit-Position: refs/heads/master@{#316317}
      fef215b9
    • hans's avatar
      Clang update script: disable --with-android with LLVM_FORCE_HEAD_REVISION · d4f84447
      hans authored
      Unless we're targeting Android, Linux builders don't have the NDK checked
      out.
      
      BUG=452726
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/927703002
      
      Cr-Commit-Position: refs/heads/master@{#316316}
      d4f84447
    • nednguyen's avatar
      [Telemetry] Add run_no_page_interactions options to key_silk_cases page. · 76b7ef99
      nednguyen authored
      This is to prepare for switching rasterize_and_micro_record's
      action_name_to_run from empty string to 'RunPageInteractions'.
      
      BUG=418375
      
      Review URL: https://codereview.chromium.org/924133002
      
      Cr-Commit-Position: refs/heads/master@{#316315}
      76b7ef99
    • dcastagna's avatar
      gpu: Add a class MeasurementTimers that measures wall, cpu and gpu time. · b27d8d3f
      dcastagna authored
      The perf test texture_upload_perftest has been updated to use these new measurements.
      
      BUG=423481
      
      Review URL: https://codereview.chromium.org/893673002
      
      Cr-Commit-Position: refs/heads/master@{#316314}
      b27d8d3f
    • thakis's avatar
      valgrind: Widen a suppression. · 99ed184a
      thakis authored
      The Mac valgrind bot started reporting the following after
      https://codereview.chromium.org/918533005/ landed:
      
      UninitCondition
      Conditional jump or move depends on uninitialised value(s)
      x_zone_size
      find_registered_purgeable_zone
      malloc_make_nonpurgeable
      imageio_make_nonpurgeable
      cache_get_and_retain
      CGImageReadSessionGetCachedImageBlockData
      copyImageBlockSetPNG
      ImageProviderCopyImageBlockSetCallback
      img_blocks_create
      img_blocks_extent
      img_data_lock
      CGSImageDataLock
      ripc_AcquireImage
      ripc_DrawImage
      CGContextDrawImage
      __-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_1
      -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]
      __-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_1
      -[NSImage _usingBestRepresentationForRect:context:hints:body:]
      -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]
      -[NSImage hitTestRect:withImageDestinationRect:context:hints:flipped:]
      ui::ThreePartImage::HitTestImage(CGPoint, NSImage*, CGRect) const
      ui::ThreePartImage::HitTest(CGPoint, CGRect) const
      ui::test::ThreePartImageTest_HitTest_Test::TestBody()
      
      I can't see anything wrong, and a very similar stack is already suppressed,
      so just suppress the report.
      
      BUG=453996,173779
      TBR=andresantoso@chromium.org
      
      Review URL: https://codereview.chromium.org/927733002
      
      Cr-Commit-Position: refs/heads/master@{#316313}
      99ed184a
    • rockot's avatar
      Clean up app_shell GN build. · 466cf20f
      rockot authored
      This unifies sources lists between GYP and GN
      builds and gets app_shell_unittests building
      on GN in most environments.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/922093002
      
      Cr-Commit-Position: refs/heads/master@{#316312}
      466cf20f
    • nednguyen's avatar
      [Telemetry] Add comment to page_set_smoke_test. Noop change · 82bfff9f
      nednguyen authored
      Review URL: https://codereview.chromium.org/921283002
      
      Cr-Commit-Position: refs/heads/master@{#316311}
      82bfff9f
    • Michael Giuffrida's avatar
      Replace CRLFs in Polymer source files with LFs. · f42e0614
      Michael Giuffrida authored
      BUG=458315
      R=dzhioev@chromium.org
      
      Review URL: https://codereview.chromium.org/920223002
      
      Cr-Commit-Position: refs/heads/master@{#316310}
      f42e0614
    • erikchen's avatar
      mac: Add profiling for VideoCaptureDeviceFactoryMac::EnumerateDeviceNames · ebdced2d
      erikchen authored
      BUG=458397
      
      Review URL: https://codereview.chromium.org/921983004
      
      Cr-Commit-Position: refs/heads/master@{#316309}
      ebdced2d
    • newt's avatar
      Rename website_settings_preferences.xml. · 4329515b
      newt authored
      Review URL: https://codereview.chromium.org/922383004
      
      Cr-Commit-Position: refs/heads/master@{#316308}
      4329515b
    • wjmaclean's avatar
      Enable pinch-zoom on the new login page. · 6dbeccbb
      wjmaclean authored
      This CL enables webview tags with allowsscaling="on" to respond to
      pinch touch gestures.
      
      BUG=453785
      
      Review URL: https://codereview.chromium.org/916363003
      
      Cr-Commit-Position: refs/heads/master@{#316307}
      6dbeccbb
    • danakj's avatar
      cc: Make occlusion a draw property. · 4902c30c
      danakj authored
      We were computing occlusion twice, once in UpdateDrawProperties
      and once in CalculateRenderPasses. Now just do it once in
      UpdateDrawProperties, which means we don't have to do that work
      at all if we draw again without dirtying the render surface layer
      list.
      
      This moves the call to UpdateTiles out of the loop for occlusion,
      instead calling it directly on each of the picture layers on the
      tree, meaning it does not have to be virtual anymore.
      
      This makes it possible for us to call UpdateTiles on picture layers
      that were not part of the RenderSurfaceLayerList. Though for now
      I left the behaviour as is with a TODO.
      
      Also removed all the old LayerTreeHostOcclusionTests. Added a few
      new ones to ensure occlusion gets saved correctly in layers and
      surfaces. The test cases that would be missing, I moved to be
      OcclusionTrackerTests.
      
      R=enne, vmpstr
      BUG=446751
      
      Review URL: https://codereview.chromium.org/915083004
      
      Cr-Commit-Position: refs/heads/master@{#316306}
      4902c30c