Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Issue 20990009: Handle root layer fling Java-side in android_webview. (Closed)

Created:
7 years, 4 months ago by mkosiba (inactive)
Modified:
7 years, 4 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, James Su, android-webview-reviews_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Handle root layer fling Java-side in android_webview. The android_webview implementation needs to handle root layer fling Java-side. This is required for proper integration with the android view system which requires the fling scroll offset update to be performed as a result of the computeScroll method. BUG=None TEST=AndroidWebViewTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215339

Patch Set 1 #

Total comments: 16

Patch Set 2 : address feedback, change the fling is canceled #

Patch Set 3 : less content:: switches == good #

Patch Set 4 : pesky whitespace #

Patch Set 5 : fix aura build break #

Patch Set 6 : fix findbugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -38 lines) Patch
M android_webview/browser/in_process_view_renderer.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 10 chunks +39 lines, -8 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java View 1 6 chunks +91 lines, -2 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwScrollOffsetManagerTest.java View 1 12 chunks +44 lines, -7 lines 0 comments Download
M android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 1 chunk +10 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 5 chunks +43 lines, -9 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mkosiba (inactive)
Alex - PTAL @ cc/ and setting plumbing. Joth - PTAL at the rest. I'll ...
7 years, 4 months ago (2013-07-31 17:30:14 UTC) #1
aelias_OOO_until_Jul13
cc/ lgtm
7 years, 4 months ago (2013-07-31 17:43:06 UTC) #2
joth
aw/ bits look good, only minor (non-function) suggestions. https://codereview.chromium.org/20990009/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/20990009/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode404 android_webview/java/src/org/chromium/android_webview/AwContents.java:404: public ...
7 years, 4 months ago (2013-07-31 17:45:28 UTC) #3
mkosiba (inactive)
Thanks! Joth, I refactored AwScrollOffsetManager a bit and have it cancel the fling whenever the ...
7 years, 4 months ago (2013-08-01 15:59:59 UTC) #4
mkosiba (inactive)
+ joi@ for the content API modification + jochen@ for content/browser/web_contents rubber-stamp + kbr@ for ...
7 years, 4 months ago (2013-08-01 16:05:05 UTC) #5
mkosiba (inactive)
+ avi@ for the content API modification + kbr@ for content/renderer/gpu rubber-stamp
7 years, 4 months ago (2013-08-01 16:05:58 UTC) #6
Ken Russell (switch to Gerrit)
content/renderer/gpu LGTM
7 years, 4 months ago (2013-08-01 18:00:10 UTC) #7
jochen (gone - plz use gerrit)
content/browser/web_contents lgtm
7 years, 4 months ago (2013-08-01 20:32:56 UTC) #8
Avi (use Gerrit)
LGTM
7 years, 4 months ago (2013-08-01 20:37:35 UTC) #9
joth
lgtm
7 years, 4 months ago (2013-08-01 21:21:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/20990009/16001
7 years, 4 months ago (2013-08-02 10:38:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/20990009/34001
7 years, 4 months ago (2013-08-02 16:27:23 UTC) #12
commit-bot: I haz the power
7 years, 4 months ago (2013-08-02 19:11:50 UTC) #13
Message was sent while issue was closed.
Change committed as 215339

Powered by Google App Engine
This is Rietveld 408576698