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

Issue 2756813002: Refactor ContentViewClient (5/6) (Closed)

Created:
3 years, 9 months ago by Jinsuk Kim
Modified:
3 years, 9 months ago
Reviewers:
boliu, scottmg
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
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ContentViewClient (5/6) |shouldPropagetKeyEvent| was removed from the interface, replaced with a static utility method. BUG=620172 Review-Url: https://codereview.chromium.org/2756813002 Cr-Commit-Position: refs/heads/master@{#459385} Committed: https://chromium.googlesource.com/chromium/src/+/219a962acb6807d9c694e16659d9388772eae457

Patch Set 1 #

Patch Set 2 : fix build #

Patch Set 3 : shouldOverrideKeyEvent #

Total comments: 2

Patch Set 4 : shouldOverrideKeyEvent only #

Total comments: 4

Patch Set 5 : rebase #

Patch Set 6 : package-private KeyUtils #

Patch Set 7 : removed KeyUtils #

Patch Set 8 : fix bug/tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -87 lines) Patch
M android_webview/BUILD.gn View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M android_webview/java/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
D android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 7 chunks +15 lines, -9 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java View 1 2 3 2 chunks +0 lines, -37 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 2 chunks +25 lines, -1 line 0 comments Download

Messages

Total messages: 37 (25 generated)
Jinsuk Kim
nyquist@chromium.org: Please review changes in chrome/ boliu@chromium.org: Please review changes in content/ ui/
3 years, 9 months ago (2017-03-22 00:49:18 UTC) #10
boliu
this CL is two independent refactors afaict split them up https://codereview.chromium.org/2756813002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2756813002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3145 ...
3 years, 9 months ago (2017-03-22 15:50:41 UTC) #11
Jinsuk Kim
PTAL https://codereview.chromium.org/2756813002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2756813002/diff/60001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3145 android_webview/java/src/org/chromium/android_webview/AwContents.java:3145: boolean shouldOverride = KeyUtils.shouldOverrideKeyEvent(event); On 2017/03/22 15:50:41, boliu ...
3 years, 9 months ago (2017-03-23 01:47:32 UTC) #14
boliu
https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3148 android_webview/java/src/org/chromium/android_webview/AwContents.java:3148: return KeyUtils.shouldOverrideKeyEvent(event) you don't need to call KeyUtils here ...
3 years, 9 months ago (2017-03-23 03:59:37 UTC) #15
Jinsuk Kim
https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3148 android_webview/java/src/org/chromium/android_webview/AwContents.java:3148: return KeyUtils.shouldOverrideKeyEvent(event) On 2017/03/23 03:59:37, boliu wrote: > you ...
3 years, 9 months ago (2017-03-23 04:30:17 UTC) #16
boliu
https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3148 android_webview/java/src/org/chromium/android_webview/AwContents.java:3148: return KeyUtils.shouldOverrideKeyEvent(event) On 2017/03/23 04:30:17, Jinsuk Kim wrote: > ...
3 years, 9 months ago (2017-03-23 04:34:44 UTC) #17
Jinsuk Kim
https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2756813002/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3148 android_webview/java/src/org/chromium/android_webview/AwContents.java:3148: return KeyUtils.shouldOverrideKeyEvent(event) On 2017/03/23 04:34:43, boliu wrote: > On ...
3 years, 9 months ago (2017-03-23 05:00:25 UTC) #18
boliu
lgtm
3 years, 9 months ago (2017-03-23 05:09:56 UTC) #19
Jinsuk Kim
scottmg@ could you give lgtm for the DEPS file with the new dependency on +device/gamepad/android/java?
3 years, 9 months ago (2017-03-23 07:30:19 UTC) #21
scottmg
deps lgtm
3 years, 9 months ago (2017-03-23 15:00:10 UTC) #22
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/2756813002/180001
3 years, 9 months ago (2017-03-24 10:11:23 UTC) #34
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 11:01:52 UTC) #37
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/219a962acb6807d9c694e16659d9...

Powered by Google App Engine
This is Rietveld 408576698