1. 06 Feb, 2015 15 commits
    • xhwang's avatar
      media: Support simultaneous permission requests from multiple WebContents in... · 473ff677
      xhwang authored
      media: Support simultaneous permission requests from multiple WebContents in ProtectedMediaIdentifierPermissionContext.
      
      ProtectedMediaIdentifierPermissionContext is shared by multiple WebContents.
      Even though we don't support multiple permission requests from the same page
      (WebContents), we should support permission requests from multiple WebContents.
      
      Test step:
      1. Make sure no allowed or blocked exception in content settings.
      2. Open a tab/extension, navigate to a page that requests permission. A prompt
      should appear. Don't do anything.
      3. Open another tab/extension, navigate to a page that requests permission. A
      prompt should also appear.
      4. Play with allow/block/dismiss and see whether permission status is as
      expected and whether content settings are updated correctly.
      
      BUG=446263
      TEST=See above.
      
      Review URL: https://codereview.chromium.org/903873002
      
      Cr-Commit-Position: refs/heads/master@{#314933}
      473ff677
    • miletus's avatar
      Experimenting delaying scroll start on wikipedia page in key_mobile_sites_smooth · 0d9d1bc4
      miletus authored
      Currently smoothness action (e.g. scrolling) starts when the
      document.readyState = interactive or complete. It is noticed that when
      the readyState = interactive, the page can still be loading resources
      so there would be contention on the main thread between resources loading
      and input handling, which could have impact on the smoothness metrics.
      
      It is to our interests in actually solving the contention issues so we
      don't want to artificially delay the action start just to avoid the
      contention. But I do see the benefit in running an experiment on just
      wikipedia with delayed action start so as to understand to which degree
      this contention is affecting our metrics.
      
      So this CL makes a duplicate of the Wikipedia page in the
      key_mobile_sites_smooth and running that particular page with
      starting scrolling on readyState = complete.
      
      BUG=455277
      
      Review URL: https://codereview.chromium.org/901563003
      
      Cr-Commit-Position: refs/heads/master@{#314932}
      0d9d1bc4
    • rsleevi's avatar
      Fix a memory leak in net::CertVerifyProcMac::VerifyInternal · a52857b5
      rsleevi authored
      BUG=455533
      
      Review URL: https://codereview.chromium.org/886933008
      
      Cr-Commit-Position: refs/heads/master@{#314931}
      a52857b5
    • morrita's avatar
      IPC: Add MojoHandleAttachment · 81b17e06
      morrita authored
      This CL introduces MojoHandleAttachment, a MessageAttachment subclass.
      With this and ChannelMojo, we are able to send Mojo MessagePipes
      over IPC.
      
      There is also MojoMessageHelper which provides some static member functions
      that reads and writes MessagePipes from/to a Message. In coming changes,
      we'll add ParamTraits for MessagePipe based on this.
      
      R=agl@chromium.org, viettrungluu@chromium.org
      TEST=IPCChannelMojoTest.SendMessagePipe, IPCChannelMojoTest.SendPlatformHandleAndPipe
      BUG=448190
      
      Review URL: https://codereview.chromium.org/866223005
      
      Cr-Commit-Position: refs/heads/master@{#314930}
      81b17e06
    • scottmg's avatar
      Fixes for two different HUD issues related to win32k lockdown · 616a8e65
      scottmg authored
      1. Using a GDI bitmap -- switch to SkSurface instead
      
      2. Lazily loading a font. This breaks for two different reasons.
      The first is a DCHECK for doing IO on the Compositor thread. This
      could have been just ignored in general since it's only for debug
      usage, the drawbacks of minor jank are limited.
      
      However, once lockdown is on, the font load hard fails from the
      renderer. So, load the typeface before lockdown and pass it into
      CC and the hud via LayerTreeSettings.
      
      R=danakj@chromium.org
      BUG=453731,455104
      TEST=run chrome with --enable-win32k-renderer-lockdown --show-fps-counter --ui-show-fps-counter on Win8
      
      Review URL: https://codereview.chromium.org/900063002
      
      Cr-Commit-Position: refs/heads/master@{#314929}
      616a8e65
    • skia-deps-roller's avatar
      Roll src/third_party/skia f71b4c1:27f398f · 3ea07aad
      skia-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/skia/+log/f71b4c1..27f398f
      
      CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
      TBR=stephana@google.com
      
      Review URL: https://codereview.chromium.org/899893003
      
      Cr-Commit-Position: refs/heads/master@{#314928}
      3ea07aad
    • jdduke's avatar
      Assert RendererScheduler thread usage · 8e64d364
      jdduke authored
      Use DCHECK to validate the ThreadChecker results in RendererScheduler.
      
      Also add a WARN_UNUSED_RESULT modifier to
      ThreadChecker::CalledOnValidThread.
      
      Review URL: https://codereview.chromium.org/904593002
      
      Cr-Commit-Position: refs/heads/master@{#314927}
      8e64d364
    • danakj's avatar
      cc: Remove UseSkiaGpuBackend and ExpandedViewport from pixel tests. · 8f137431
      danakj authored
      The UseSkiaGpuBackend is false always and not queried anywhere. I
      left this behind when I removed the Ganesh-in-GLRenderer thing we
      had before.
      
      The ExpandedViewport is slightly more mysterious but also not queried
      anywhere, so I guess leftover from refactorings.
      
      R=enne, vmpstr
      
      Review URL: https://codereview.chromium.org/883353009
      
      Cr-Commit-Position: refs/heads/master@{#314926}
      8f137431
    • ccameron's avatar
      Remove pinch zoom handling from the browser process · 4907e061
      ccameron authored
      Pinch zoom is done by the renderer process now. Note that this leaves
      the PreHandleGestureEvent in place, as most if not all instances of it
      preventing gesture events are still desirable with the new pinch zoom
      behavior.
      
      BUG=451559
      
      Review URL: https://codereview.chromium.org/899283004
      
      Cr-Commit-Position: refs/heads/master@{#314925}
      4907e061
    • xhwang's avatar
      media: Invoke PlatformVerificationDialog from ProtectedMediaIdentifierPermissionContext. · 0d919436
      xhwang authored
      This is a follow-up CL of r314351.
      
      Currently this is invoked from PermissionContextBase. Since this is for
      protected media identifier only, it's better to put it in
      ProtectedMediaIdentifierPermissionContext.
      
      Also included in this fix:
      - Pass |requesting_origin| to PlatformVerificationDialog::ShowDialog().
        Currently we are using the origin of the GetLastCommittedURL(), which is
        wrong.
      - Add ProtectedMediaIdentifierPermissionContext::CancelPermissionRequest() so
        that we can cancel the prompt and drop the callback properly. Otherwise, this
        will cause a DCHECK in PermissionServiceImp when closing the browser while the
        prompt is shown.
      
      BUG=446263
      TEST=Manually tested various cases.
      
      Review URL: https://codereview.chromium.org/881983003
      
      Cr-Commit-Position: refs/heads/master@{#314924}
      0d919436
    • jbauman's avatar
      Enumerate all display adapters to detect AMD switchable graphics. · dd5bf63e
      jbauman authored
      Keying off of the driver manufacturer name doesn't work on some systems, so use SetupAPI to enumerate all installed display adapters to check if both an AMD and Intel display adapter are installed.
      
      BUG=455046,451420
      NOPRESUBMIT=true
      
      Review URL: https://codereview.chromium.org/893993006
      
      Cr-Commit-Position: refs/heads/master@{#314923}
      dd5bf63e
    • torne's avatar
      Add more OWNERs to content/public/android · 97cce3d8
      torne authored
      Also fix WebView resource config to not try to include OWNERS files from
      resource directories in its APK, as the regular Android build does.
      
      BUG=None
      
      Review URL: https://codereview.chromium.org/894153004
      
      Cr-Commit-Position: refs/heads/master@{#314922}
      97cce3d8
    • erikchen's avatar
      Make Telemetry tests check the configuration of the OSX Keychain. · 0e07c2d7
      erikchen authored
      Historically, the OSX Keychain has been misconfigured on some perf bots, which
      has caused Telemtry tests to stall. This CL adds checks to emit warnings if the
      Keychain is misconfigured.
      
      I added checks for three common misconfigurations:
        - Is the default Keychain locked.
        - Is the default Keychain configured to automatically lock after a period of
        time.
        - Are the ACLs of a commonly accessed key in the default keychain
        misconfigured for the perf bots.
      
      The first and third checks are performed by short C programs since the
      information is easily available through the Security framework, but not from
      the security CLI.
      
      BUG=443340
      
      Review URL: https://codereview.chromium.org/809473004
      
      Cr-Commit-Position: refs/heads/master@{#314921}
      0e07c2d7
    • blink-deps-roller's avatar
      Roll src/third_party/WebKit d953d07:dc9973e (svn 189584:189586) · 89876b5e
      blink-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/chromium/blink/+log/d953d07..dc9973e
      
      TBR=dcheng@chromium.org,apavlov@chromium.org
      
      Review URL: https://codereview.chromium.org/886643004
      
      Cr-Commit-Position: refs/heads/master@{#314920}
      89876b5e
    • spang's avatar
      content: Make ui/events dependency unconditional · 60d02cca
      spang authored
      It is not used only when toolkit_views is enabled. This fixes some
      unresolved reference errors that will break the linux_ecs_ozone trybot
      once we enable -Wl,-z,defs.
      
      This dependency is already unconditional in the GN build.
      
      BUG=445627
      TEST=linux_ecs_ozone tryjob
      
      Review URL: https://codereview.chromium.org/874163004
      
      Cr-Commit-Position: refs/heads/master@{#314919}
      60d02cca
  2. 05 Feb, 2015 25 commits