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

Issue 2528823002: Separate SwipeRefreshHandler and ContentViewCore (Closed)

Created:
4 years ago by rlanday
Modified:
4 years ago
CC:
agrieve+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate SwipeRefreshHandler and ContentViewCore Currently Android's native ContentViewCore class implements ui::OverscrollRefreshHandler and handles swipe to refresh events. This change refactors this functionality out of ContentViewCore into a new native SwipeRefreshHandler class as part of a broader effort to eliminate ContentViewCore. BUG=627943 Committed: https://crrev.com/7f2ec7f88816aa89f872f068881d117047049cfe Cr-Commit-Position: refs/heads/master@{#438397}

Patch Set 1 #

Patch Set 2 : Fix compile error in test case #

Total comments: 28

Patch Set 3 : Move web_contents_view_android.h header in web_contents_android.h into cc file, modify CreateRefres… #

Total comments: 7

Patch Set 4 : Eliminate native SwipeRefreshHandler. Now we just pass around a Java reference in native code. Atta… #

Total comments: 4

Patch Set 5 : Remove test case that depends on native SwipeRefreshHandler #

Total comments: 1

Patch Set 6 : Remove unused SwipeRefreshHandler.mNativeSwipeRefreshHandler field #

Total comments: 11

Patch Set 7 : Refactor as discussed #

Patch Set 8 : Fix non-Android compile issue #

Total comments: 31

Patch Set 9 : Make boliu's requested changes #

Total comments: 16

Patch Set 10 : boliu's requested changes + some lint fixes #

Total comments: 13

Patch Set 11 : Respond to boliu's comments, refactor CreateOverscrollController() function #

Total comments: 15

Patch Set 12 : Respond to more comments, all test cases should pass now #

Total comments: 5

Patch Set 13 : Remove unnecessary null check, add CreateOverscrollControllerIfPossible() in SetCVC() #

Patch Set 14 : Re-add WindowAndroid null check #

Patch Set 15 : Rebase (hopefully correctly) #

Total comments: 12

Patch Set 16 : tedchoc's requested changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -186 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +11 lines, -15 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 3 chunks +0 lines, -8 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -30 lines 0 comments Download
M content/browser/android/overscroll_controller_android.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/android/overscroll_controller_android.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +10 lines, -0 lines 0 comments Download
A content/browser/renderer_host/render_view_host_delegate_view.cc View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +55 lines, -17 lines 0 comments Download
M content/browser/web_contents/web_contents_android.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_android.cc View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.h View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +26 lines, -0 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +1 line, -39 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/OverscrollRefreshHandler.java View 1 2 3 4 5 6 1 chunk +0 lines, -40 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java View 1 2 3 4 5 6 3 chunks +10 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/WebContents.java View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M ui/android/BUILD.gn View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/OverscrollRefreshHandler.java View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M ui/android/overscroll_refresh.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -21 lines 0 comments Download
M ui/android/overscroll_refresh.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A ui/android/overscroll_refresh_handler.h View 1 2 3 4 5 6 7 8 9 1 chunk +44 lines, -0 lines 0 comments Download
A ui/android/overscroll_refresh_handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
D ui/android/overscroll_refresh_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 130 (64 generated)
Jinsuk Kim
Nice! Left some initial thought - some will be not valid any more once you ...
4 years ago (2016-11-25 01:49:18 UTC) #10
rlanday
Publishing now since I got all the trybots passing. Jinsuk has written some comments I ...
4 years ago (2016-11-28 19:23:54 UTC) #11
rlanday
https://codereview.chromium.org/2528823002/diff/20001/chrome/browser/android/swipe_refresh_handler.cc File chrome/browser/android/swipe_refresh_handler.cc (right): https://codereview.chromium.org/2528823002/diff/20001/chrome/browser/android/swipe_refresh_handler.cc#newcode54 chrome/browser/android/swipe_refresh_handler.cc:54: return reinterpret_cast<intptr_t>(swipe_refresh_handler); On 2016/11/25 at 01:49:18, Jinsuk Kim wrote: ...
4 years ago (2016-11-28 19:42:01 UTC) #12
rlanday
https://codereview.chromium.org/2528823002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.h File content/browser/renderer_host/render_widget_host_view_android.h (right): https://codereview.chromium.org/2528823002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.h#newcode86 content/browser/renderer_host/render_widget_host_view_android.h:86: ui::OverscrollRefreshHandler* overscroll_refresh_handler); On 2016/11/25 at 01:49:18, Jinsuk Kim wrote: ...
4 years ago (2016-11-28 21:17:51 UTC) #13
rlanday
4 years ago (2016-11-28 21:34:08 UTC) #14
rlanday
https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java File chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java (right): https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java#newcode200 chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java:200: private void attachSwipeRefreshLayoutIfNecessary() { On 2016/11/28 at 19:23:54, rlanday ...
4 years ago (2016-11-28 22:03:47 UTC) #15
Jinsuk Kim
Please mark as 'done' at the comment you addressed. That will make it easier to ...
4 years ago (2016-11-28 23:06:41 UTC) #16
Ted C
+ianwen for the tab.getView discussion https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java File chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java (right): https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java#newcode200 chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java:200: private void attachSwipeRefreshLayoutIfNecessary() { ...
4 years ago (2016-11-29 00:06:08 UTC) #18
rlanday
https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java (right): https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java#newcode1785 chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java:1785: mContentViewCore.getWebContents().setOverscrollRefreshHandler(mSwipeRefreshHandler); On 2016/11/29 at 00:06:08, Ted C wrote: > ...
4 years ago (2016-11-29 00:46:25 UTC) #19
Ian Wen
https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java File chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java (right): https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java#newcode200 chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java:200: private void attachSwipeRefreshLayoutIfNecessary() { On 2016/11/29 00:06:08, Ted C ...
4 years ago (2016-11-29 22:34:18 UTC) #26
rlanday
Eliminate native SwipeRefreshHandler. Now we just pass around a Java reference in native code. Attach ...
4 years ago (2016-11-30 00:18:33 UTC) #29
rlanday
On 2016/11/29 at 22:34:18, ianwen wrote: > https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java > File chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java (right): > > https://codereview.chromium.org/2528823002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java#newcode200 ...
4 years ago (2016-11-30 00:22:55 UTC) #30
rlanday
4 years ago (2016-11-30 00:23:39 UTC) #31
Jinsuk Kim
Not sure what tedchoc@ intended to say but this doesn't look like a desirable change. ...
4 years ago (2016-11-30 01:59:21 UTC) #34
boliu
I didn't read through all the discussion, but I think the refactor is mostly fine. ...
4 years ago (2016-12-01 00:01:58 UTC) #35
rlanday
On 2016/12/01 at 00:01:58, boliu wrote: > I didn't read through all the discussion, but ...
4 years ago (2016-12-01 00:44:35 UTC) #36
rlanday
https://codereview.chromium.org/2528823002/diff/100001/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/100001/content/browser/web_contents/web_contents_view_android.cc#newcode227 content/browser/web_contents/web_contents_view_android.cc:227: return new RenderWidgetHostViewAndroid(rwhi, nullptr, nullptr); On 2016/12/01 at 00:01:57, ...
4 years ago (2016-12-01 00:44:51 UTC) #37
boliu
https://codereview.chromium.org/2528823002/diff/100001/content/browser/web_contents/web_contents_view_android.cc File content/browser/web_contents/web_contents_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/100001/content/browser/web_contents/web_contents_view_android.cc#newcode227 content/browser/web_contents/web_contents_view_android.cc:227: return new RenderWidgetHostViewAndroid(rwhi, nullptr, nullptr); On 2016/12/01 00:44:51, rlanday ...
4 years ago (2016-12-01 00:50:38 UTC) #38
Ted C
My comment about passing the java object was purely to avoid the incorrect dynamic cast ...
4 years ago (2016-12-01 00:53:56 UTC) #39
rlanday
On 2016/12/01 at 00:53:56, tedchoc wrote: > My comment about passing the java object was ...
4 years ago (2016-12-01 19:25:18 UTC) #40
Ted C
On 2016/12/01 19:25:18, rlanday wrote: > On 2016/12/01 at 00:53:56, tedchoc wrote: > > My ...
4 years ago (2016-12-01 20:07:53 UTC) #41
rlanday
On 2016/12/01 at 20:07:53, tedchoc wrote: > On 2016/12/01 19:25:18, rlanday wrote: > > On ...
4 years ago (2016-12-01 20:40:26 UTC) #42
boliu
On 2016/12/01 20:40:26, rlanday wrote: > I was just talking to boliu, he likes the ...
4 years ago (2016-12-01 20:45:03 UTC) #43
rlanday
Ok, I have it refactored as we discussed. ui::OverscrollRefreshHandler now wraps the Java OverscrollRefreshHandler.
4 years ago (2016-12-02 20:10:17 UTC) #52
boliu
https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc#newcode12 content/browser/android/overscroll_controller_android.cc:12: #include "content/browser/android/content_view_core_impl.h" don't need this include https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc#newcode90 content/browser/android/overscroll_controller_android.cc:90: if ...
4 years ago (2016-12-03 01:05:28 UTC) #53
rlanday
https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc#newcode12 content/browser/android/overscroll_controller_android.cc:12: #include "content/browser/android/content_view_core_impl.h" On 2016/12/03 at 01:05:28, boliu wrote: > ...
4 years ago (2016-12-05 19:53:57 UTC) #54
rlanday
Updated with boliu's requested changes https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc#newcode90 content/browser/android/overscroll_controller_android.cc:90: if (overscroll_refresh_handler == nullptr) ...
4 years ago (2016-12-05 23:01:33 UTC) #57
boliu
replying to comments only https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc#newcode12 content/browser/android/overscroll_controller_android.cc:12: #include "content/browser/android/content_view_core_impl.h" On 2016/12/05 19:53:56, ...
4 years ago (2016-12-06 00:46:34 UTC) #60
boliu
yay, much better https://codereview.chromium.org/2528823002/diff/160001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/160001/content/browser/android/overscroll_controller_android.cc#newcode19 content/browser/android/overscroll_controller_android.cc:19: #include "ui/android/overscroll_refresh_handler.h" actually this is just ...
4 years ago (2016-12-06 00:58:17 UTC) #61
rlanday
On 2016/12/06 at 00:46:34, boliu wrote: > replying to comments only > > https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc > ...
4 years ago (2016-12-06 03:19:21 UTC) #62
rlanday
There are unit test failures on some of the try bots, hopefully the changes I'm ...
4 years ago (2016-12-06 03:25:09 UTC) #63
rlanday
https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/140001/content/browser/android/overscroll_controller_android.cc#newcode12 content/browser/android/overscroll_controller_android.cc:12: #include "content/browser/android/content_view_core_impl.h" On 2016/12/06 at 00:46:34, boliu wrote: > ...
4 years ago (2016-12-06 03:25:26 UTC) #64
rlanday
Updated based on comments, hopefully the trybots all pass but there might be some more ...
4 years ago (2016-12-06 03:37:38 UTC) #67
boliu
https://codereview.chromium.org/2528823002/diff/180001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/180001/content/browser/android/overscroll_controller_android.cc#newcode108 content/browser/android/overscroll_controller_android.cc:108: DCHECK(compositor_); interesting, so looks like this DCHECK is failing ...
4 years ago (2016-12-06 16:06:45 UTC) #70
rlanday
https://codereview.chromium.org/2528823002/diff/180001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/180001/content/browser/android/overscroll_controller_android.cc#newcode108 content/browser/android/overscroll_controller_android.cc:108: DCHECK(compositor_); On 2016/12/06 at 16:06:45, boliu wrote: > interesting, ...
4 years ago (2016-12-06 19:01:16 UTC) #71
boliu
https://codereview.chromium.org/2528823002/diff/180001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/180001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode476 content/browser/renderer_host/render_widget_host_view_android.cc:476: host_->delegate()->GetDelegateView()->GetOverscrollRefreshHandler(); On 2016/12/06 19:01:16, rlanday wrote: > > also ...
4 years ago (2016-12-06 19:05:17 UTC) #72
rlanday
https://codereview.chromium.org/2528823002/diff/180001/content/browser/android/overscroll_controller_android.cc File content/browser/android/overscroll_controller_android.cc (right): https://codereview.chromium.org/2528823002/diff/180001/content/browser/android/overscroll_controller_android.cc#newcode108 content/browser/android/overscroll_controller_android.cc:108: DCHECK(compositor_); On 2016/12/06 at 19:01:16, rlanday wrote: > On ...
4 years ago (2016-12-06 21:26:29 UTC) #73
boliu
https://codereview.chromium.org/2528823002/diff/180001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/180001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1789 content/browser/renderer_host/render_widget_host_view_android.cc:1789: overscroll_controller_.reset(); On 2016/12/06 21:26:28, rlanday wrote: > On 2016/12/06 ...
4 years ago (2016-12-06 23:24:16 UTC) #76
boliu
https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2019 content/browser/renderer_host/render_widget_host_view_android.cc:2019: content_view_core_->GetWindowAndroid()->GetCompositor(), On 2016/12/06 23:24:16, boliu wrote: > also need ...
4 years ago (2016-12-06 23:26:57 UTC) #77
rlanday
It looks like there's one more test failure I need to debug
4 years ago (2016-12-07 00:07:23 UTC) #78
rlanday
https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1220 content/browser/renderer_host/render_widget_host_view_android.cc:1220: overscroll_controller_.reset(); On 2016/12/06 at 23:24:16, boliu wrote: > this ...
4 years ago (2016-12-07 00:07:48 UTC) #79
boliu
https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1220 content/browser/renderer_host/render_widget_host_view_android.cc:1220: overscroll_controller_.reset(); On 2016/12/07 00:07:48, rlanday wrote: > On 2016/12/06 ...
4 years ago (2016-12-07 00:33:15 UTC) #80
boliu
https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2019 content/browser/renderer_host/render_widget_host_view_android.cc:2019: content_view_core_->GetWindowAndroid()->GetCompositor(), On 2016/12/07 00:33:15, boliu wrote: > On 2016/12/07 ...
4 years ago (2016-12-07 00:35:46 UTC) #81
rlanday
https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2007 content/browser/renderer_host/render_widget_host_view_android.cc:2007: if (!delegate_view) { > Ok.. Do you have the ...
4 years ago (2016-12-07 00:46:00 UTC) #82
boliu
https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2007 content/browser/renderer_host/render_widget_host_view_android.cc:2007: if (!delegate_view) { meh, MockRenderWidgetHostDelegate doesn't have a DelegateView: ...
4 years ago (2016-12-07 00:50:19 UTC) #85
rlanday
On 2016/12/07 at 00:50:19, boliu wrote: > https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc > File content/browser/renderer_host/render_widget_host_view_android.cc (right): > > https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2007 ...
4 years ago (2016-12-07 01:25:53 UTC) #86
rlanday
On 2016/12/07 at 00:50:19, boliu wrote: > https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc > File content/browser/renderer_host/render_widget_host_view_android.cc (right): > > https://codereview.chromium.org/2528823002/diff/200001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2007 ...
4 years ago (2016-12-07 01:25:55 UTC) #87
rlanday
Updated agian, hopefully all the test cases pass now
4 years ago (2016-12-07 19:38:35 UTC) #89
boliu
https://codereview.chromium.org/2528823002/diff/220001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/220001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1996 content/browser/renderer_host/render_widget_host_view_android.cc:1996: void RenderWidgetHostViewAndroid::CreateOverscrollControllerIfPossible() { also should call this in SetCVC ...
4 years ago (2016-12-07 21:05:52 UTC) #93
rlanday
Updated with the latest requested changes https://codereview.chromium.org/2528823002/diff/220001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/220001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1996 content/browser/renderer_host/render_widget_host_view_android.cc:1996: void RenderWidgetHostViewAndroid::CreateOverscrollControllerIfPossible() { ...
4 years ago (2016-12-07 22:13:39 UTC) #94
boliu
ahh, forgot to publish... sorry https://codereview.chromium.org/2528823002/diff/220001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/220001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2020 content/browser/renderer_host/render_widget_host_view_android.cc:2020: if (!window_android) On 2016/12/07 ...
4 years ago (2016-12-08 01:05:01 UTC) #95
rlanday
Re-add WindowAndroid null check
4 years ago (2016-12-08 02:25:44 UTC) #98
boliu
lgtm
4 years ago (2016-12-08 05:12:45 UTC) #102
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2528823002/260001
4 years ago (2016-12-08 18:31:09 UTC) #104
boliu
you are gonna need other owners, I don't own everything..
4 years ago (2016-12-08 18:33:26 UTC) #105
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/321721)
4 years ago (2016-12-08 18:44:45 UTC) #107
rlanday
We now have a merge conflict with https://codereview.chromium.org/2524423002, I think I just need to add ...
4 years ago (2016-12-08 19:07:17 UTC) #108
rlanday
tedchoc, boliu said this looks good but I need your review for some files he ...
4 years ago (2016-12-08 19:29:14 UTC) #110
boliu
https://codereview.chromium.org/2528823002/diff/280001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2528823002/diff/280001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode2044 content/browser/renderer_host/render_widget_host_view_android.cc:2044: is_showing_overscroll_glow_ = true; On 2016/12/08 19:29:14, rlanday wrote: > ...
4 years ago (2016-12-08 19:32:29 UTC) #111
Ted C
lgtm .. some nits/questions but nothing blocking https://codereview.chromium.org/2528823002/diff/280001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java File chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java (left): https://codereview.chromium.org/2528823002/diff/280001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java#oldcode114 chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java:114: mContentViewCore.setOverscrollRefreshHandler(null); we ...
4 years ago (2016-12-13 21:09:48 UTC) #115
rlanday
https://codereview.chromium.org/2528823002/diff/280001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java File chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java (left): https://codereview.chromium.org/2528823002/diff/280001/chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java#oldcode114 chrome/android/java/src/org/chromium/chrome/browser/SwipeRefreshHandler.java:114: mContentViewCore.setOverscrollRefreshHandler(null); On 2016/12/13 at 21:09:48, Ted C wrote: > ...
4 years ago (2016-12-14 01:11:15 UTC) #116
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2528823002/300001
4 years ago (2016-12-14 01:14:13 UTC) #119
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No L-G-T-M from ...
4 years ago (2016-12-14 01:14:17 UTC) #121
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2528823002/300001
4 years ago (2016-12-14 01:21:40 UTC) #125
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years ago (2016-12-14 02:29:25 UTC) #128
commit-bot: I haz the power
4 years ago (2016-12-14 02:32:38 UTC) #130
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/7f2ec7f88816aa89f872f068881d117047049cfe
Cr-Commit-Position: refs/heads/master@{#438397}

Powered by Google App Engine
This is Rietveld 408576698