- 13 Nov, 2014 8 commits
-
-
jdduke authored
Clean cherry-pick of chromium crrev.com/d51117a99a4e023e791134185c6db12b28028a1d BUG: 18283959 Original description: Chromium shares a message loop with Android on the browser UI thread. This can cause problems when the associated Looper has a sync barrier, preventing posted Chromium tasks from being dispatched until the barrier is removed. Make this sharing more fair by marking all Chromium Message tasks as asynchronous, avoiding stalls when there is a sync barrier. Note: This change was originally landed in crrev.com/512333002, but was reverted to gather more data about sync barrier impact and investigate alternative solutions. The investigation determiend that this approach is fine for the near future, though it will likely evolve in time. Change-Id: I9879a9c1bdad0dcec12c2bbee62356a5b12d9596
-
jdduke authored
Cherry-pick: Revert of [Android] Experimental sync barrier detection for tracing (patchset #6 id:100001 of https://codereview.chromium.org/575103002/) Cherry-pick of chromium crrev.com/adefc40cb9652a2ea046bbdbef223d881f4a7463 Conflicts: base/android/java/src/org/chromium/base/SystemMessageHandler.java BUG: 18283959 Original description: Reason for revert: Barrier detection is no longer necessary, see crrev.com/512333002. Original issue's description: > [Android] Experimental sync barrier detection for tracing > > When an Android View is invalidated outside of frame dispatch > (animation/input/draw), a sync barrier may be inserted into the shared > UI thread message loop. This effectively blocks dispatch of all Chrome > tasks posted to the browser UI thread for an entire frame (or more if > the View is continually invalidated). > > There are currently no easy or even automated ways to avoid this > untimely invalidation, and judicious coding can only take us so far. As > an intermediate assist in debugging the issue, use reflection and a > crude form of MessageQueue inspection to trace known cases where the > MessageQueue is blocked by a sync barrier. > > Note that this detection is not perfect, neither is it exact, but it's a > solid proxy for informing traces about such pipeline stalls. > > BUG=407133 > > Committed: https://crrev.com/85bceaa6e05ee1bf42ac220ddcbb50ca268c1ea4 > Cr-Commit-Position: refs/heads/master@{#296249} Change-Id: Ie92ab895b864bf466ac092a1a1b7fdc80a8fd3ce
-
Selim Gurun authored
-
Ben Murdoch authored
-
Selim Gurun authored
Bug: 18200283 Cherry-pick https://codereview.chromium.org/713493003. Clear the selected text when hiding the handles and the desired behavior is to "unselect all on dismiss". BUG=430859 internal b/18200283 Review URL: https://codereview.chromium.org/713493003 Change-Id: Ie8d751774c6341054f0c1b8d4cca91ba6877e373 Cr-Commit-Position: refs/heads/master@{#303946}
-
enne authored
Cherry-pick of chromium crrev.com/2c8b61a4db617427448947ff740ba002da1a9644 Conflicts: cc/resources/picture_pile_unittest.cc BUG: 17965814 Original description: Previously, there was a hack/optimization where when shrinking a pile, there would be no invalidations. Unfortunately, this hack's time has come due. When zooming out, recorded pixels outside of the pile's newly shrunken bounds can get used, causing pixels from old frames to get incorrectly sampled, causing bogus hairlines. To fix this, issue invalidations for previously exposed content in the same way that invalidations are currently issues for newly exposed content. Change-Id: I3287e7e2261328a37781bf58da97ac4b7e60cb73
-
Ben Murdoch authored
-
Ben Murdoch authored
-
- 12 Nov, 2014 7 commits
-
-
Ignacio Solla authored
-
Ben Murdoch authored
Bug: 18066784 Original change description: Previously, selection handles would be hidden when the content view became unfocused. This approach worked fine in Chrome, where the focus model is predictable, but led to undesirable consequences in WebView, e.g., the handles never being shown. For now, avoid making any kind of visibility changes to the handles when the focus changes, ensuring handle visibility is consistent with the selection. Also ensure timely cleanup of the PopupTouchHandleDrawable Java object after its native counterpart has been destroyed. BUG=430859 (internal b/18066784) Change-Id: I1741f81c5a12f71c053796cde37989366d2fcf10 Committed: https://crrev.com/1ba4ec56cb8f8e76f5d0cd37db09ebe41129c9c8 Cr-Commit-Position: refs/heads/master@{#303728}
-
Ben Murdoch authored
Bug: 18066784 Original change description: If the ContentViewCore container view is not focusable (which can happen when it's emebedded in an app via android webview), we were clearing the RWHVA notion of focus when the RenderView was swapped out. As the view is never focusable again, chromium never considers this view focused and as such, text selection did not function. We support this type of container view by always treating it focused from Chromium's point of view. BUG=430859 (internal b/18066784) Change-Id: If08372c93ff0c87b483f0b408f04247764db2c56 Committed: https://crrev.com/9074d9fc9119ef4d2223f6c993d1a1b67a0bea7c Cr-Commit-Position: refs/heads/master@{#303071}
-
Marcin Kosiba authored
The size update races with the page load creating the opportunity for the page to observe the initial (0,0) renderer size. This patch addresses the issue by sending the initial size together with the RenderView creation request. BUG=424205 Review URL: https://codereview.chromium.org/659093002 Cr-Commit-Position: refs/heads/master@{#303775} Conflicts: chrome/test/data/extensions/platform_apps/web_view/shim/main.js content/browser/renderer_host/render_widget_host_unittest.cc BUG: 17892238 Change-Id: I11dca7e962421d46734d2122ec79bc501a2db09d
-
Ben Murdoch authored
Bug: 18222974 Change-Id: I42e787b6205ec3c3764ec5076e2391e4ec4e4deb Conflicts: android_webview/java/src/org/chromium/android_webview/AwContents.java
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: Icdd8bd8652dd63d1358a2022e1567051d48f760e
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: If9c0c09d8c3a3121b5e75ae9c4c446e4e4baaae6
-
- 10 Nov, 2014 2 commits
-
-
Selim Gurun authored
Bug: 18312952 Cherry pick upstream change https://codereview.chromium.org/421493002/ to fix the proxy bypass bug. Without this fix chrome net stack will ignore proxy bypass settings. Change-Id: I1d3ed05bc737cc49fe0e6a1c249b65525f418506
-
Ignacio Solla authored
BUG:18152150 Change-Id: I5a9a0fe864dab563294b24b56c10270ba5a111fe
-
- 06 Nov, 2014 2 commits
-
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I4b26e60378f2202d40ad5be1aeeb0b7bddbed05f
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: Id583a0dc312e50e455eb8bd04f75c74304738c9d
-
- 29 Oct, 2014 2 commits
-
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I53fbbaf1ba74060dfa4fa73485b38963f126edf0
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I12ecf158017b8be5f9a1d33f4152e5a3c812cb7f
-
- 27 Oct, 2014 2 commits
-
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I4fdad05123645e7c0a79b8d7beae32ad1df6ab67
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: Id34e308a78a8e250aa0f0b60fcb9f882fc35382e
-
- 22 Oct, 2014 3 commits
-
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I34273f27ed9588fc03ec2898362e9e9a0c2a6ef2
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I4ca18a1d6d089e98b0511ad83f49e89d62401760
-
Marcin Kosiba authored
BUG: 18067099 Change-Id: Ia2fab595694aa62578f3f771a322c2938662ba94 (cherry picked from commit c1b5f474) (cherry picked from commit 7e059cd3)
-
- 21 Oct, 2014 1 commit
-
-
Ben Murdoch authored
Change-Id: I4c63f997fb3075cb659ea89401a1556208b26d7d
-
- 14 Oct, 2014 3 commits
-
-
mkosiba authored
The WebView will use a fixed default value for the text encoding instead of getting it from the platform. This is in attempt to unify behavior between devices. BUG=422366 Review URL: https://codereview.chromium.org/639113004 Cr-Commit-Position: refs/heads/master@{#299287} Conflicts: DEPS android_webview/buildbot/aosp_manifest.xml android_webview/renderer/aw_content_renderer_client.h chrome/renderer/chrome_content_renderer_client.h Change-Id: I0b4f507e6e439561bf89e3a0e668910cbf0c9e08
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: Ia7f57ea144ededd865d556a38370a09d3d349a2e
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: I7e2a210cf0e24a4fbfd446a03aab3b29edbdd13a
-
- 30 Sep, 2014 2 commits
-
-
Primiano Tucci authored
This commit was generated by merge_to_master.py. Change-Id: Id061c24b6e79e34afde83e5fe7a9d2982e2fc79c
-
Primiano Tucci authored
This commit was generated by merge_to_master.py. Change-Id: Id3aac9713b301fae64408cdaee0888724eeb7c0e
-
- 28 Aug, 2014 2 commits
-
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: I17a1727b61dd9c95df2cbd4e5b79121bd79da08d
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: Ic58269055810d51286b4109e59b90b6856887a30
-
- 19 Aug, 2014 2 commits
-
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: I1de34a97f16c6affee8050fe1a7496f1a0d2cf78
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: I694ec52d1e0b553f163c2faf4373d63270ab1aac
-
- 12 Aug, 2014 2 commits
-
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: I69c1c98fd1de188e46d4a787df25cbb57e27bce7
-
Torne (Richard Coles) authored
This commit was generated by merge_to_master.py. Change-Id: I583602ff16d735199f1810565c9296e970ce2854
-
- 21 Jul, 2014 2 commits
-
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I0623b8c250d66d05d70d1cc78c33efad8966c450
-
Ben Murdoch authored
This commit was generated by merge_to_master.py. Change-Id: I9a279485b02fe7ceddcd32d992a714ff132e99ae
-