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

Issue 1907703002: Fix a nasty scroll bug for Chrome Now-on-tap feature. Also combine the (Closed)

Created:
4 years, 8 months ago by sgurun-gerrit only
Modified:
4 years, 8 months ago
Reviewers:
Ted C, michaelbai, dmazzoni
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a nasty scroll bug for Chrome Now-on-tap feature. Also combine the code paths for Android Webview and Chrome. Until now webview and chrome were using separate code paths for copying the snapshot tree. We are now combining both to use the same code. Further moving the tests from android webview to content layer to add coverage for both chrome and webview. BUG=603746 Committed: https://crrev.com/98495a3d4de6f2be14a71f675212552b63c71def Cr-Commit-Position: refs/heads/master@{#389374}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : further cleanup #

Total comments: 4

Patch Set 4 : address dmazzoni review #

Patch Set 5 : add hint back #

Total comments: 2

Patch Set 6 : fix file order #

Total comments: 4

Patch Set 7 : address ted's review #

Patch Set 8 : fix findbug issue (remove unused variable) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+407 lines, -448 lines) Patch
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java View 1 2 3 4 3 chunks +1 line, -47 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java View 1 2 chunks +0 lines, -304 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeVersionInfo.java View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_android.h View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_android.cc View 1 2 3 4 5 6 6 chunks +27 lines, -36 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentView.java View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 2 chunks +32 lines, -23 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java View 1 4 chunks +8 lines, -10 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java View 3 chunks +11 lines, -10 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/WebContents.java View 1 chunk +1 line, -4 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/webcontents/AccessibilitySnapshotTest.java View 1 2 3 4 5 6 7 1 chunk +290 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
sgurun-gerrit only
On 2016/04/20 22:52:40, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:dmazzoni@chromium.org Dmazzoni, PTAL. (this ...
4 years, 8 months ago (2016-04-20 22:53:24 UTC) #3
dmazzoni
Refactoring so they use the same logic sounds great! Are there any specific changes to ...
4 years, 8 months ago (2016-04-21 16:23:21 UTC) #4
sgurun-gerrit only
On 2016/04/21 16:23:21, dmazzoni wrote: > Refactoring so they use the same logic sounds great! ...
4 years, 8 months ago (2016-04-21 17:08:46 UTC) #5
dmazzoni
lgtm Thanks for clarifying! Just a couple of suggestions. https://codereview.chromium.org/1907703002/diff/40001/content/browser/web_contents/web_contents_android.cc File content/browser/web_contents/web_contents_android.cc (right): https://codereview.chromium.org/1907703002/diff/40001/content/browser/web_contents/web_contents_android.cc#newcode113 content/browser/web_contents/web_contents_android.cc:113: ...
4 years, 8 months ago (2016-04-21 17:35:32 UTC) #6
sgurun-gerrit only
https://codereview.chromium.org/1907703002/diff/40001/content/browser/web_contents/web_contents_android.cc File content/browser/web_contents/web_contents_android.cc (right): https://codereview.chromium.org/1907703002/diff/40001/content/browser/web_contents/web_contents_android.cc#newcode113 content/browser/web_contents/web_contents_android.cc:113: gfx::Rect parent_rect = node->GetParent()->GetLocalBoundsRect(); On 2016/04/21 17:35:31, dmazzoni wrote: ...
4 years, 8 months ago (2016-04-21 21:02:58 UTC) #7
sgurun-gerrit only
On 2016/04/21 21:02:58, sgurun wrote: > https://codereview.chromium.org/1907703002/diff/40001/content/browser/web_contents/web_contents_android.cc > File content/browser/web_contents/web_contents_android.cc (right): > > https://codereview.chromium.org/1907703002/diff/40001/content/browser/web_contents/web_contents_android.cc#newcode113 > ...
4 years, 8 months ago (2016-04-22 19:02:31 UTC) #10
michaelbai
android_webview LGTM https://codereview.chromium.org/1907703002/diff/80001/content/public/android/BUILD.gn File content/public/android/BUILD.gn (right): https://codereview.chromium.org/1907703002/diff/80001/content/public/android/BUILD.gn#newcode394 content/public/android/BUILD.gn:394: "javatests/src/org/chromium/content/browser/webcontents/AccessibilitySnapshotTest.java", Wrong order, did you get warning?
4 years, 8 months ago (2016-04-22 20:53:51 UTC) #12
sgurun-gerrit only
https://codereview.chromium.org/1907703002/diff/80001/content/public/android/BUILD.gn File content/public/android/BUILD.gn (right): https://codereview.chromium.org/1907703002/diff/80001/content/public/android/BUILD.gn#newcode394 content/public/android/BUILD.gn:394: "javatests/src/org/chromium/content/browser/webcontents/AccessibilitySnapshotTest.java", On 2016/04/22 20:53:51, michaelbai wrote: > Wrong order, ...
4 years, 8 months ago (2016-04-22 21:11:13 UTC) #13
sgurun-gerrit only
On 2016/04/22 21:11:13, sgurun wrote: > https://codereview.chromium.org/1907703002/diff/80001/content/public/android/BUILD.gn > File content/public/android/BUILD.gn (right): > > https://codereview.chromium.org/1907703002/diff/80001/content/public/android/BUILD.gn#newcode394 > ...
4 years, 8 months ago (2016-04-22 21:11:45 UTC) #14
Ted C
lgtm https://codereview.chromium.org/1907703002/diff/100001/content/browser/web_contents/web_contents_android.cc File content/browser/web_contents/web_contents_android.cc (right): https://codereview.chromium.org/1907703002/diff/100001/content/browser/web_contents/web_contents_android.cc#newcode71 content/browser/web_contents/web_contents_android.cc:71: struct AccessibilitySnapshotParams { we should really pull this ...
4 years, 8 months ago (2016-04-22 23:07:14 UTC) #16
sgurun-gerrit only
https://codereview.chromium.org/1907703002/diff/100001/content/browser/web_contents/web_contents_android.cc File content/browser/web_contents/web_contents_android.cc (right): https://codereview.chromium.org/1907703002/diff/100001/content/browser/web_contents/web_contents_android.cc#newcode71 content/browser/web_contents/web_contents_android.cc:71: struct AccessibilitySnapshotParams { On 2016/04/22 23:07:13, Ted C wrote: ...
4 years, 8 months ago (2016-04-23 00:41:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907703002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907703002/120001
4 years, 8 months ago (2016-04-23 01:05:43 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/55615)
4 years, 8 months ago (2016-04-23 02:02:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907703002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907703002/140001
4 years, 8 months ago (2016-04-23 06:45:44 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-23 07:46:36 UTC) #27
commit-bot: I haz the power
4 years, 8 months ago (2016-04-23 07:48:13 UTC) #29
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/98495a3d4de6f2be14a71f675212552b63c71def
Cr-Commit-Position: refs/heads/master@{#389374}

Powered by Google App Engine
This is Rietveld 408576698