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

Issue 256303006: Make LayerScrollOffsetDelegate updates consistent. (Closed)

Created:
6 years, 7 months ago by mkosiba (inactive)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam, android-webview-reviews_chromium.org, enne (OOO)
Visibility:
Public.

Description

Make LayerScrollOffsetDelegate updates consistent. Looks like the inner+outer viewport changes had made the scroll size/range depend on the pageScale. BUG=340646 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270686

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : less jni #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : make the traces instant #

Patch Set 8 : add missing trace scope #

Total comments: 2

Patch Set 9 : remove SetTotalScrollOffset #

Patch Set 10 : rebase #

Patch Set 11 : fix build break #

Total comments: 2

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -257 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -8 lines 0 comments Download
M android_webview/browser/browser_view_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +78 lines, -47 lines 0 comments Download
M android_webview/browser/browser_view_renderer_client.h View 1 2 3 1 chunk +9 lines, -10 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 11 3 chunks +28 lines, -29 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java View 1 2 3 6 chunks +85 lines, -2 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -7 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +14 lines, -29 lines 0 comments Download
M cc/input/layer_scroll_offset_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -19 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +11 lines, -3 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +2 lines, -17 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +22 lines, -17 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +21 lines, -27 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -8 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -25 lines 0 comments Download
M content/public/browser/android/synchronous_compositor_client.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -8 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
mkosiba (inactive)
enne@ for cc/* boliu@ for android_webview/* and synchronous compositor (I'll ask Marcus to rubber-stamp later).
6 years, 7 months ago (2014-04-29 12:24:16 UTC) #1
mkosiba (inactive)
some (hopefully useful) context. This CL is trying to address 2 issues: 1) The code ...
6 years, 7 months ago (2014-04-29 13:33:43 UTC) #2
boliu
https://codereview.chromium.org/256303006/diff/40001/android_webview/browser/browser_view_renderer.cc File android_webview/browser/browser_view_renderer.cc (right): https://codereview.chromium.org/256303006/diff/40001/android_webview/browser/browser_view_renderer.cc#newcode460 android_webview/browser/browser_view_renderer.cc:460: scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue); Isn't this gonna be slow in ...
6 years, 7 months ago (2014-04-30 05:48:41 UTC) #3
mkosiba (inactive)
https://codereview.chromium.org/256303006/diff/40001/android_webview/browser/browser_view_renderer.cc File android_webview/browser/browser_view_renderer.cc (right): https://codereview.chromium.org/256303006/diff/40001/android_webview/browser/browser_view_renderer.cc#newcode460 android_webview/browser/browser_view_renderer.cc:460: scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue); On 2014/04/30 05:48:42, boliu wrote: > ...
6 years, 7 months ago (2014-05-01 11:13:24 UTC) #4
boliu
android_webview and sync compositor lgtm https://codereview.chromium.org/256303006/diff/100001/android_webview/browser/browser_view_renderer.cc File android_webview/browser/browser_view_renderer.cc (right): https://codereview.chromium.org/256303006/diff/100001/android_webview/browser/browser_view_renderer.cc#newcode356 android_webview/browser/browser_view_renderer.cc:356: TRACE_EVENT2("android_webview", I'm nit picking ...
6 years, 7 months ago (2014-05-01 16:31:49 UTC) #5
mkosiba (inactive)
https://codereview.chromium.org/256303006/diff/100001/android_webview/browser/browser_view_renderer.cc File android_webview/browser/browser_view_renderer.cc (right): https://codereview.chromium.org/256303006/diff/100001/android_webview/browser/browser_view_renderer.cc#newcode356 android_webview/browser/browser_view_renderer.cc:356: TRACE_EVENT2("android_webview", On 2014/05/01 16:31:50, boliu wrote: > I'm nit ...
6 years, 7 months ago (2014-05-01 16:42:22 UTC) #6
mkosiba (inactive)
I guess this is more of a gestures/scrolling-related CL. Re-routing to aelias@
6 years, 7 months ago (2014-05-02 09:55:39 UTC) #7
aelias_OOO_until_Jul13
https://codereview.chromium.org/256303006/diff/130001/cc/input/layer_scroll_offset_delegate.h File cc/input/layer_scroll_offset_delegate.h (right): https://codereview.chromium.org/256303006/diff/130001/cc/input/layer_scroll_offset_delegate.h#newcode47 cc/input/layer_scroll_offset_delegate.h:47: // SetTotalScrollOffset method for efficiency. I don't really believe ...
6 years, 7 months ago (2014-05-03 01:19:29 UTC) #8
mkosiba (inactive)
https://codereview.chromium.org/256303006/diff/130001/cc/input/layer_scroll_offset_delegate.h File cc/input/layer_scroll_offset_delegate.h (right): https://codereview.chromium.org/256303006/diff/130001/cc/input/layer_scroll_offset_delegate.h#newcode47 cc/input/layer_scroll_offset_delegate.h:47: // SetTotalScrollOffset method for efficiency. On 2014/05/03 01:19:30, aelias ...
6 years, 7 months ago (2014-05-06 14:04:48 UTC) #9
chromium-reviews
Ping? On May 6, 2014 3:04 PM, <mkosiba@chromium.org> wrote: > > https://codereview.chromium.org/256303006/diff/130001/cc/ > input/layer_scroll_offset_delegate.h > ...
6 years, 7 months ago (2014-05-08 23:04:11 UTC) #10
aelias_OOO_until_Jul13
Sorry, I missed your last update. One more comment (which I should've noticed before, sorry ...
6 years, 7 months ago (2014-05-09 01:00:01 UTC) #11
mkosiba (inactive)
https://codereview.chromium.org/256303006/diff/190001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/256303006/diff/190001/cc/trees/layer_tree_host_impl.cc#newcode2691 cc/trees/layer_tree_host_impl.cc:2691: active_tree_->SetRootLayerScrollOffsetDelegate(NULL); On 2014/05/09 01:00:01, aelias wrote: > Is there ...
6 years, 7 months ago (2014-05-09 17:05:33 UTC) #12
aelias_OOO_until_Jul13
OK, I still don't really understand the exact sequence of events, particularly as the outer ...
6 years, 7 months ago (2014-05-09 19:05:28 UTC) #13
mkosiba (inactive)
On 2014/05/09 19:05:28, aelias wrote: > OK, I still don't really understand the exact sequence ...
6 years, 7 months ago (2014-05-14 10:43:17 UTC) #14
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 7 months ago (2014-05-14 10:50:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/256303006/210001
6 years, 7 months ago (2014-05-14 10:51:30 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 13:48:43 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 14:06:33 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/26508)
6 years, 7 months ago (2014-05-14 14:06:34 UTC) #19
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 7 months ago (2014-05-14 14:11:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/256303006/210001
6 years, 7 months ago (2014-05-14 14:11:30 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 14:32:19 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 14:51:43 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/26523)
6 years, 7 months ago (2014-05-14 14:51:44 UTC) #24
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 7 months ago (2014-05-15 08:55:40 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/256303006/210001
6 years, 7 months ago (2014-05-15 08:56:21 UTC) #26
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 16:32:08 UTC) #27
Message was sent while issue was closed.
Change committed as 270686

Powered by Google App Engine
This is Rietveld 408576698