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

Issue 2380743003: Refactor ContentViewClient (2/6) (Closed)

Created:
4 years, 2 months ago by Jinsuk Kim
Modified:
4 years ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, yusukes+watch_chromium.org, Peter Beverloo, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, agrieve+watch_chromium.org, James Su, android-webview-reviews_chromium.org, jochen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ContentViewClient (2/6) Moves method |onUpdateTitle| to WebContentsObserver See the description of https://crrev.com/2353063005 as well. BUG=620172 Committed: https://crrev.com/c0be5c33de65d51831e2b5b2c8eda65f589bf939 Cr-Commit-Position: refs/heads/master@{#434396}

Patch Set 1 : tests #

Total comments: 9

Patch Set 2 : onUpdateTitle #

Patch Set 3 : WebContentsObserver #

Total comments: 2

Patch Set 4 : // Do nothing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -34 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java View 1 1 chunk +0 lines, -5 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsObserver.java View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 chunks +0 lines, -11 lines 0 comments Download
M content/browser/android/web_contents_observer_proxy.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/web_contents_observer_proxy.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java View 1 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 1 chunk +0 lines, -6 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 65 (34 generated)
Jinsuk Kim
nyquist@chromium.org: Please review changes in chrome/ boliu@chromium.org: Please review changes in content/, android_webview/ dtrainor@chromium.org: Please ...
4 years, 2 months ago (2016-09-30 02:17:38 UTC) #11
boliu
Haven't looked at actual CL yet, but I studied a bit how all this ActionMode ...
4 years, 2 months ago (2016-09-30 20:37:30 UTC) #14
boliu
Ok so moving to per-Activity interface is not actually ok in some cases. And certainly ...
4 years, 2 months ago (2016-09-30 22:34:17 UTC) #15
boliu
So there's a few way to salvage this: option 1) pass a ViewAndroid for calls ...
4 years, 2 months ago (2016-09-30 22:47:16 UTC) #16
Jinsuk Kim
On 2016/09/30 22:47:16, boliu wrote: > So there's a few way to salvage this: > ...
4 years, 2 months ago (2016-10-04 01:46:39 UTC) #18
nyquist
jinsuk: If this ends up being put on hold, could you please ping me again ...
4 years, 2 months ago (2016-10-04 06:19:09 UTC) #19
Jinsuk Kim
On 2016/10/04 06:19:09, nyquist wrote: > jinsuk: If this ends up being put on hold, ...
4 years, 2 months ago (2016-10-04 06:24:05 UTC) #20
amaralp
> So it seems crbug.com/623783 needs to be handled first. > Pedro, is there anything ...
4 years, 2 months ago (2016-10-04 19:01:17 UTC) #21
Jinsuk Kim
On 2016/10/04 19:01:17, amaralp wrote: > > So it seems crbug.com/623783 needs to be handled ...
4 years, 2 months ago (2016-10-04 23:03:27 UTC) #22
Jinsuk Kim
> Thanks for the info. I didn't mean to say you need to work on ...
4 years, 2 months ago (2016-10-05 07:44:24 UTC) #23
boliu
On 2016/10/05 07:44:24, Jinsuk_OOO (- Oct 10) wrote: > > Thanks for the info. I ...
4 years, 2 months ago (2016-10-05 15:33:18 UTC) #24
David Trainor- moved to gerrit
nits on WindowAndroid.java, but ping me if you want/are ready for a full review. Thanks! ...
4 years, 2 months ago (2016-10-10 21:06:25 UTC) #25
Jinsuk Kim
On 2016/10/05 15:33:18, boliu wrote: > On 2016/10/05 07:44:24, Jinsuk_OOO (- Oct 10) wrote: > ...
4 years, 2 months ago (2016-10-10 23:10:52 UTC) #26
Jinsuk Kim
On 2016/10/10 23:10:52, Jinsuk Kim wrote: > On 2016/10/05 15:33:18, boliu wrote: > > On ...
4 years, 2 months ago (2016-10-14 11:38:55 UTC) #27
Jinsuk Kim
On 2016/10/14 11:38:55, Jinsuk Kim wrote: > On 2016/10/10 23:10:52, Jinsuk Kim wrote: > > ...
4 years, 1 month ago (2016-11-10 18:41:04 UTC) #28
boliu
On 2016/11/10 18:41:04, Jinsuk Kim wrote: > On 2016/10/14 11:38:55, Jinsuk Kim wrote: > > ...
4 years, 1 month ago (2016-11-11 06:14:20 UTC) #29
Jinsuk Kim
Now the scope of patch is diminished to moving onUpdateTitle only. Ended up handling it ...
4 years, 1 month ago (2016-11-22 03:54:03 UTC) #35
boliu
the native one lives on WebContentsObserver: https://cs.chromium.org/chromium/src/content/public/browser/web_contents_observer.h?q=title+file:%5Esrc/content/public/browser/&sq=package:chromium&l=377&dr=CSs so I think this can move to the ...
4 years, 1 month ago (2016-11-22 04:38:18 UTC) #36
Jinsuk Kim
On 2016/11/22 04:38:18, boliu wrote: > the native one lives on WebContentsObserver: > https://cs.chromium.org/chromium/src/content/public/browser/web_contents_observer.h?q=title+file:%5Esrc/content/public/browser/&sq=package:chromium&l=377&dr=CSs > ...
4 years, 1 month ago (2016-11-22 05:11:13 UTC) #37
boliu
On 2016/11/22 05:11:13, Jinsuk Kim wrote: > On 2016/11/22 04:38:18, boliu wrote: > > the ...
4 years, 1 month ago (2016-11-22 06:02:43 UTC) #38
Jinsuk Kim
> You can call WebContents::GetTitle to get the title That's good to know. But you ...
4 years, 1 month ago (2016-11-22 06:21:15 UTC) #39
boliu
On 2016/11/22 06:21:15, Jinsuk Kim wrote: > > You can call WebContents::GetTitle to get the ...
4 years, 1 month ago (2016-11-22 16:01:04 UTC) #40
Jinsuk Kim
> I don't understand what you mean there. What do you mean "job of setting ...
4 years, 1 month ago (2016-11-22 22:17:07 UTC) #41
boliu
lgtm % one comment https://codereview.chromium.org/2380743003/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/2380743003/diff/100001/content/browser/web_contents/web_contents_view_android.cc#newcode148 content/browser/web_contents/web_contents_view_android.cc:148: NOTIMPLEMENTED(); it's not "not implemented", ...
4 years, 1 month ago (2016-11-23 03:14:11 UTC) #43
Jinsuk Kim
nyquist@ would you review and change in chrome/? https://codereview.chromium.org/2380743003/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/2380743003/diff/100001/content/browser/web_contents/web_contents_view_android.cc#newcode148 content/browser/web_contents/web_contents_view_android.cc:148: NOTIMPLEMENTED(); ...
4 years, 1 month ago (2016-11-23 03:20:18 UTC) #44
nyquist
//chrome lgtm
4 years ago (2016-11-24 00:50:40 UTC) #45
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/2380743003/120001
4 years ago (2016-11-24 06:27:11 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 08:27:55 UTC) #58
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/2380743003/120001
4 years ago (2016-11-24 21:46:17 UTC) #60
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years ago (2016-11-24 21:53:07 UTC) #63
commit-bot: I haz the power
4 years ago (2016-11-24 21:56:36 UTC) #65
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c0be5c33de65d51831e2b5b2c8eda65f589bf939
Cr-Commit-Position: refs/heads/master@{#434396}

Powered by Google App Engine
This is Rietveld 408576698