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

Issue 2682593002: Refactor ContentViewClient (4/6) (Closed)

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

Description

Refactor ContentViewClient (4/6) Moved following interface methods to ViewAndroid: - onBackgroundColorChanged - onTopControlsChanged - onBottomControlsChanged - onStartContentIntent Remove following as they are not used: - getSystemWindowInsetTop - getSystemWindowInsetLeft - getSystemWindowInsetRight BUG=620172 Review-Url: https://codereview.chromium.org/2682593002 Cr-Commit-Position: refs/heads/master@{#449186} Committed: https://chromium.googlesource.com/chromium/src/+/d95ac3f4aad80e2102fd8cf957dc2e265c0f02f7

Patch Set 1 : . #

Total comments: 8

Patch Set 2 : comments #

Patch Set 3 : rebased & fix tests #

Total comments: 5

Patch Set 4 : shell vad #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -360 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java View 3 chunks +2 lines, -35 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwViewAndroidDelegate.java View 1 5 chunks +26 lines, -1 line 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 6 chunks +11 lines, -57 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/tab/TabViewAndroidDelegate.java View 1 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 chunks +0 lines, -5 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 chunks +0 lines, -23 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 6 chunks +30 lines, -6 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java View 3 chunks +5 lines, -116 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 7 chunks +1 line, -25 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/RenderCoordinates.java View 1 3 chunks +1 line, -10 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java View 1 2 3 5 chunks +54 lines, -5 lines 0 comments Download
M content/public/test/android/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java View 1 2 3 4 chunks +0 lines, -28 lines 0 comments Download
D content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClient.java View 1 2 1 chunk +0 lines, -41 lines 0 comments Download
M content/shell/android/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/android/java/src/org/chromium/content_shell/Shell.java View 1 2 3 4 chunks +7 lines, -3 lines 0 comments Download
A content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
M ui/android/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java View 1 2 3 chunks +61 lines, -0 lines 0 comments Download
M ui/android/view_android.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M ui/android/view_android.cc View 1 2 3 chunks +54 lines, -1 line 0 comments Download

Messages

Total messages: 28 (16 generated)
Jinsuk Kim
Notes: these are more of mechanical migration from ContentViewClient to ViewAndroidDelegate. |onBackgroundColorChanged| reviewed before: https://codereview.chromium.org/2536223003/#msg20 ...
3 years, 10 months ago (2017-02-07 06:40:00 UTC) #5
boliu
https://codereview.chromium.org/2682593002/diff/60001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/2682593002/diff/60001/content/browser/android/content_view_core_impl.cc#newcode414 content/browser/android/content_view_core_impl.cc:414: void ContentViewCoreImpl::UpdateFrameInfo( how much of this method can be ...
3 years, 10 months ago (2017-02-07 21:47:07 UTC) #7
Jinsuk Kim
dtrainor@: Please review changes in chrome/ https://codereview.chromium.org/2682593002/diff/60001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/2682593002/diff/60001/content/browser/android/content_view_core_impl.cc#newcode414 content/browser/android/content_view_core_impl.cc:414: void ContentViewCoreImpl::UpdateFrameInfo( On ...
3 years, 10 months ago (2017-02-07 23:51:04 UTC) #11
boliu
lgtm
3 years, 10 months ago (2017-02-07 23:54:32 UTC) #12
David Trainor- moved to gerrit
chrome/ lgtm
3 years, 10 months ago (2017-02-08 07:43:14 UTC) #13
Jinsuk Kim
boliu@: maybe you want to take a look again? Fixed a bunch of tests that ...
3 years, 10 months ago (2017-02-08 10:18:56 UTC) #18
boliu
as a general rule about rebase and code reviews: upload a patch set of just ...
3 years, 10 months ago (2017-02-08 18:51:51 UTC) #19
Jinsuk Kim
PTAL https://codereview.chromium.org/2682593002/diff/120001/content/public/android/BUILD.gn File content/public/android/BUILD.gn (right): https://codereview.chromium.org/2682593002/diff/120001/content/public/android/BUILD.gn#newcode128 content/public/android/BUILD.gn:128: "java/src/org/chromium/content/browser/ContentViewAndroidDelegate.java", On 2017/02/08 18:51:51, boliu wrote: > this ...
3 years, 10 months ago (2017-02-08 22:49:39 UTC) #20
boliu
lgtm https://codereview.chromium.org/2682593002/diff/120001/content/public/android/BUILD.gn File content/public/android/BUILD.gn (right): https://codereview.chromium.org/2682593002/diff/120001/content/public/android/BUILD.gn#newcode128 content/public/android/BUILD.gn:128: "java/src/org/chromium/content/browser/ContentViewAndroidDelegate.java", On 2017/02/08 22:49:39, Jinsuk Kim wrote: > ...
3 years, 10 months ago (2017-02-08 22:58:18 UTC) #21
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/2682593002/140001
3 years, 10 months ago (2017-02-08 23:01:20 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:140001) as https://chromium.googlesource.com/chromium/src/+/d95ac3f4aad80e2102fd8cf957dc2e265c0f02f7
3 years, 10 months ago (2017-02-09 01:58:01 UTC) #27
amineer
3 years, 10 months ago (2017-02-14 18:27:44 UTC) #28
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:140001) has been created in
https://codereview.chromium.org/2694273002/ by amineer@chromium.org.

The reason for reverting is: Causing major alignment issues for custom tabs

BUG=691718.

Powered by Google App Engine
This is Rietveld 408576698