1. 08 Oct, 2013 6 commits
  2. 07 Oct, 2013 3 commits
  3. 05 Oct, 2013 1 commit
    • Bo Liu's avatar
      Fork: Activation do not depend on BeginFrame · d3b04d94
      Bo Liu authored
      BUG: 11001058
      
      Webview does not use ProactiveBeginFrame, so cannot depend on BeginFrame
      for activation.
      
      Note that this patch as is cannot land in upstream Chromium since all
      other platforms do use ProactiveBeginFrame.
      
      Forking since Chromium trunk looks very different so fixes there cannot
      be cherry-picked now.
      
      Change-Id: I6a6e2e6f9dcfc7b29d0af2e0f04e2e042610380e
      d3b04d94
  4. 04 Oct, 2013 4 commits
    • Ben Murdoch's avatar
      Cherry pick [Android WebView] Disable WebRTC. · d6abb625
      Ben Murdoch authored
      Cherry pick of https://codereview.chromium.org/25453008/
      
      Bug: 7882891
      
      Original Description:
      [Android WebView] Disable WebRTC.
      
      Android WebView compiles out WebRTC, so we should disable runtime
      interfaces too.
      
      Change-Id: I72da32a95af8feb395a144a64a267061a6179fd0
      d6abb625
    • Ben Murdoch's avatar
      Cherry Pick [Android WebView] Add an API to control favicon loading. · ba6679d8
      Ben Murdoch authored
      Cherry pick of https://chromiumcodereview.appspot.com/25878003/
      
      Bug: 10825362
      
      Original Description:
      [Android WebView] Add an API to control favicon loading.
      
      Change-Id: If752842bbff8f5b07719d84d69cad8bb4642bd45
      ba6679d8
    • Torne (Richard Coles)'s avatar
      Allow CookieManager to be used without starting Chromium. · 20a183ad
      Torne (Richard Coles) authored
      Refactor the CookieManager to allow it to be used without starting
      Chromium. If Chromium has not been started when the cookie manager is
      first used, a temporary cookie monster will be created and used to
      service requests (with its own client/backend threads). If the app
      subsequently triggers regular Chromium startup (e.g. by creating a
      WebView) then the temporary one will be shut down cleanly before the
      real instance is created.
      
      Bug: 10969703
      Change-Id: I903630cbdbccc61958e5e8b9179c0a3d09594a8b
      20a183ad
    • boliu@chromium.org's avatar
      Cherry-pick: [Android WebView] Check AwContentsIoThreadClient usage · 1e62f0c0
      boliu@chromium.org authored
      Cherry-pick of Chromium crrev.com/r226947
      
      BUG: 11063091
      
      Original description:
      
      The instance of AwContentsIoThreadClient is uninstalled when AwContents
      (along with WebContents and RenderViewHost) is destroyed. But RenderView
      can still be alive and send more requests. It may also be possible for
      AwContentsIoThreadClient to be uninstalled after a request has started.
      So null check all usage of AwContentsIoThreadClient::FromID to make sure
      it returns a real object.
      
      Change-Id: I17e7b7a8cccb6e833a8a176a236437688891dd16
      1e62f0c0
  5. 03 Oct, 2013 9 commits
    • Bo Liu's avatar
      Merge "Cherry-pick: [Android] Prevent re-entrance into... · 00bdd09e
      Bo Liu authored
      Merge "Cherry-pick: [Android] Prevent re-entrance into ContentVideoView.exitFullscreen" into klp-dev
      00bdd09e
    • Bo Liu's avatar
    • boliu@chromium.org's avatar
      Cherry-pick: [Android] Prevent re-entrance into ContentVideoView.exitFullscreen · 09a5f9ad
      boliu@chromium.org authored
      Cherry-pick of Chromium crrev.com/r226859
      
      BUG: 11057493
      
      Original description:
      
      For Android WebView, if app decides to call exitFullscreen from
      onDestroyContentVideoView, then re-entering into exitFullscreen and
      causing an infinite recursion.
      
      Fix by moving the onDestroyContentVideoView to after removeSurfaceView.
      The next time destroyContentVideoView in, onDestroyContentVideoView will
      not be called since mVideoSurfaceView is already null.
      
      Change-Id: I5c4de70d1fe34a82e3393ed7d9164555040f5919
      09a5f9ad
    • boliu@chromium.org's avatar
      Cherry-pick: [Android WebView] Change default tile size to 512x512 · 0926835e
      boliu@chromium.org authored
      Cherry-pick of Chromium crrev.com/r226844
      
      BUG: 11048885
      
      Original description:
      
      This is to reduce the number of gpu memory buffer allocations which
      can consume multiple file descriptors.
      
      Change-Id: Ifa525d26a02dc4ba6af0821d8f4f911c2ab71c17
      0926835e
    • Jonathan Dixon's avatar
      Split AwSettings contruction out of AwContents · e61eb146
      Jonathan Dixon authored
      Bug 10932261
      
      This allows the AwSettings (java only) instance to be created in advance
      of AwContents, thereby allowing the AwSettings to be used early on when
      the chromium stack has not be fully started.
      As a result AwSettings is now able to live as a 'dumb' Java container of
      settings, prior to the chromium stack being initialized at all.
      
      Change-Id: I4059a93a7ad132043998fe2eab318a3b066c882e
      e61eb146
    • Ben Murdoch's avatar
      Android code should not assume main thread == UI thread. · c7bc4150
      Ben Murdoch authored
      Bug 10932261
      
      Originally from http://crrev.com/25092005/ PS9, but modified to land
      in klp-dev.
      
      Original Description:
      [Android] Android code should not assume main thread == UI thread.
      
      Although typically the case, the main thread of an android app is not
      necessarily the thread in which the View is hosted (the Android "UI"
      thread). Update base.ThreadUtils to be able to specify a non-main thread
      UI thread, and update places in the code that make this assumption to
      use the refactored ThreadUtils class.
      
      Change-Id: Ie2967fedafcece90f4e65b52a84bdd21f6b745cd
      c7bc4150
    • boliu@chromium.org's avatar
      Cherry-pick: [Android WebView] Fix invalidate corner case · d3df597f
      boliu@chromium.org authored
      Cherry-pick of Chromium crrev.com/r226676
      
      BUG: 10951963
      
      Original description:
      
      We can never assume that calling View invalidate will lead to a draw,
      since view can be invisible, off screen, clearView, etc so draw will
      be optimized out. Therefore must always ensure that the fallback tick
      matches what the compositor expects, ie if compositor expects a
      BeginFrame, then we must always have a pending tick.
      
      One case where this does not hold true is if a DrawGL clip does not
      cover the entire visible area, we call invalidate, set block_invalides
      to true, but does not schedule a fallback tick. Until the next draw
      comes, webview remains in a live lock situation that no more fallback or
      invalidates will be called.
      
      Fix by not setting block_invalidates in this case so subsequent fallback
      ticks can still be scheduled.
      
      Change-Id: I469ea26094e5e8f0c00f4c94663d776d59b6d266
      d3df597f
    • boliu@chromium.org's avatar
      Cherry-pick: [Android WebView] OnMemoryPressure to drop tile memory · 7211bb13
      boliu@chromium.org authored
      Cherry-pick of Chromium crrev.com/r226643
      
      Conflicts:
      	android_webview/browser/in_process_view_renderer.cc
      
      BUG: 10606165
      
      Original Description:
      
      In OnMemoryPressure, drop tiles on invisible browser views.
      
      Not reusing base::MemoryPressureListener because Android
      WebView requires onTrimMemory to be called synchronously.
      
      Change-Id: I5aaca024392ef964baac0bc53f554ea59b8dac41
      7211bb13
    • boliu@chromium.org's avatar
      Cherry-pick: [Android] Restore EGL Context after collecting GPU info · 83f0adcf
      boliu@chromium.org authored
      Cherry-pick of Chromium crrev.com/r226104
      
      BUG: 10932261
      
      Original description:
      
      In Android, a short lived EGL context is created on the UI thread during
      start up to collect GPU info. One side effect is that if there is an
      existing EGL context current, then it is released. This is a problem for
      Android WebView but may affect Chrome as well.
      
      This patch saves and restores the existing current context if there is
      one.
      
      Change-Id: I4efec482833a6e06e81d22711935ac2b937756ce
      83f0adcf
  6. 02 Oct, 2013 5 commits
  7. 01 Oct, 2013 2 commits
    • Selim Gurun's avatar
      Cherry-pick: Early out if contentviewcore native side is null. · 3f1a192d
      Selim Gurun authored
      Cherry-pick of chromium crrev.com/25505005
      
      Bug: 10911057
      
      Original decription:
      Early out if contentviewcore native side is null.
      
      BUG=b/10911057
      
      Early out before calling native getNavigatonHistory as it may be
      deleted before.
      
      Change-Id: I3efccaeafe2a1b56408742e907ba0e6afcfcabf5
      3f1a192d
    • boliu@chromium.org's avatar
      Cherry-pick: [Android WebView] Fix fallback tick corner cases · ecb8a827
      boliu@chromium.org authored
      Cherry-pick of Chromium crrev.com/r226254
      
      This is a speculative fix for b/10951963.
      
      BUG: 10951963
      
      Original description:
      
      Make sure all software composite (draws, capture picture,
      fallback tick) will reschedule fallback tick.
      
      Also make sure fallback tick is cancelled only after all
      early out code.
      
      Change-Id: I66625dc493e29f2a2687835ffb12a7d2a0d97eaa
      ecb8a827
  8. 30 Sep, 2013 1 commit
  9. 27 Sep, 2013 9 commits