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

Issue 16255010: Hookup android_webview scroll offset delegation to Java side. (Closed)

Created:
7 years, 6 months ago by mkosiba (inactive)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org, msw
Visibility:
Public.

Description

Hookup android_webview scroll offset delegation to Java side. This connects the scroll offset that is delegated from the CC all the way up to the Java android.view.View class. BUG=b/6029133 TEST=AndroidWebViewTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207614

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase on top of Jared's rebase #

Patch Set 4 : \ #

Patch Set 5 : rebase on top of http://crrev.com/15002007 #

Total comments: 1

Patch Set 6 : add tests #

Patch Set 7 : nit #

Total comments: 22

Patch Set 8 : tests now pass #

Total comments: 9

Patch Set 9 : #

Patch Set 10 : whitespace change #

Patch Set 11 : #

Total comments: 1

Patch Set 12 : vector2d_f nit #

Patch Set 13 : fix compile break #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -63 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -5 lines 0 comments Download
M android_webview/browser/in_process_view_renderer.h View 1 2 3 4 5 6 7 8 6 chunks +10 lines, -4 lines 0 comments Download
M android_webview/browser/in_process_view_renderer.cc View 1 2 3 4 5 6 7 8 4 chunks +42 lines, -5 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 9 10 8 chunks +49 lines, -0 lines 0 comments Download
A android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
A android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java View 1 2 3 4 5 6 7 8 1 chunk +349 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java View 1 2 3 4 5 3 chunks +10 lines, -9 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java View 1 2 3 4 5 6 7 3 chunks +11 lines, -16 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 8 2 chunks +19 lines, -1 line 0 comments Download
M android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +16 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentView.java View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 2 chunks +0 lines, -13 lines 0 comments Download
M content/renderer/gpu/input_handler_manager_client.h View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M ui/gfx/vector2d_f.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
joth
moving discussion from https://chromiumcodereview.appspot.com/15002007/ over here, as it's far more relevant to this patch. ISTM ...
7 years, 6 months ago (2013-06-08 00:16:49 UTC) #1
mkosiba (inactive)
> moving discussion from https://chromiumcodereview.appspot.com/15002007/ over > here, as it's far more relevant to this ...
7 years, 6 months ago (2013-06-11 15:31:38 UTC) #2
mkosiba (inactive)
This is an updated version of the scrolling CL. Unfortunately BeginFrame results in a pending->active ...
7 years, 6 months ago (2013-06-14 18:06:43 UTC) #3
joth
https://codereview.chromium.org/16255010/diff/17001/android_webview/browser/browser_view_renderer.h File android_webview/browser/browser_view_renderer.h (right): https://codereview.chromium.org/16255010/diff/17001/android_webview/browser/browser_view_renderer.h#newcode94 android_webview/browser/browser_view_renderer.h:94: const gfx::Vector2d& scroll_pix, is _pix a standard convention? If ...
7 years, 6 months ago (2013-06-18 03:19:50 UTC) #4
mkosiba (inactive)
ok, new version up, PTAL https://codereview.chromium.org/16255010/diff/17001/android_webview/browser/browser_view_renderer.h File android_webview/browser/browser_view_renderer.h (right): https://codereview.chromium.org/16255010/diff/17001/android_webview/browser/browser_view_renderer.h#newcode94 android_webview/browser/browser_view_renderer.h:94: const gfx::Vector2d& scroll_pix, On ...
7 years, 6 months ago (2013-06-18 18:09:24 UTC) #5
joth
basically lgtm, thanks! https://codereview.chromium.org/16255010/diff/17001/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/16255010/diff/17001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode415 android_webview/java/src/org/chromium/android_webview/AwContents.java:415: mScrollOffsetManager = new AwScrollOffsetManager(new AwScrollOffsetManagerDelegate(), On ...
7 years, 6 months ago (2013-06-19 05:34:45 UTC) #6
mkosiba (inactive)
https://codereview.chromium.org/16255010/diff/26001/android_webview/browser/browser_view_renderer.h File android_webview/browser/browser_view_renderer.h (right): https://codereview.chromium.org/16255010/diff/26001/android_webview/browser/browser_view_renderer.h#newcode111 android_webview/browser/browser_view_renderer.h:111: virtual void ScrollTo(gfx::Vector2d new_value_pix) = 0; On 2013/06/19 05:34:45, ...
7 years, 6 months ago (2013-06-19 11:12:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/16255010/49001
7 years, 6 months ago (2013-06-19 14:32:50 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=10398
7 years, 6 months ago (2013-06-19 14:42:46 UTC) #9
mkosiba (inactive)
7 years, 6 months ago (2013-06-19 16:18:21 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/16255010/56001
7 years, 6 months ago (2013-06-19 16:19:31 UTC) #11
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-06-19 16:25:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/16255010/56001
7 years, 6 months ago (2013-06-19 16:45:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/16255010/56001
7 years, 6 months ago (2013-06-19 16:59:13 UTC) #14
mkosiba (inactive)
@msw, @kbr - OWNERS rubber stamp please?
7 years, 6 months ago (2013-06-19 17:03:35 UTC) #15
msw
See ui/gfx/OWNERS, my ownership is for RenderText files. danakj is probably the correct OWNER for ...
7 years, 6 months ago (2013-06-19 17:14:30 UTC) #16
danakj
ui/gfx/vector2df LGTM w/ nit https://codereview.chromium.org/16255010/diff/56001/ui/gfx/vector2d_f.h File ui/gfx/vector2d_f.h (right): https://codereview.chromium.org/16255010/diff/56001/ui/gfx/vector2d_f.h#newcode74 ui/gfx/vector2d_f.h:74: return !(operator==(lhs, rhs)); nit: return ...
7 years, 6 months ago (2013-06-19 17:18:59 UTC) #17
mkosiba (inactive)
On 2013/06/19 17:14:30, msw wrote: > See ui/gfx/OWNERS, my ownership is for RenderText files. > ...
7 years, 6 months ago (2013-06-19 17:32:30 UTC) #18
Ken Russell (switch to Gerrit)
ui/gfx LGTM FWIW
7 years, 6 months ago (2013-06-19 19:45:24 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/16255010/74001
7 years, 6 months ago (2013-06-20 01:43:12 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-20 03:25:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/16255010/80001
7 years, 6 months ago (2013-06-20 13:18:22 UTC) #22
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-06-20 14:44:22 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/16255010/80001
7 years, 6 months ago (2013-06-20 14:51:14 UTC) #24
commit-bot: I haz the power
7 years, 6 months ago (2013-06-20 22:40:32 UTC) #25
Message was sent while issue was closed.
Change committed as 207614

Powered by Google App Engine
This is Rietveld 408576698