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

Issue 2724533002: Deduplicating code |WebContentsDelegateAndroid::ShowContextMenu()| (Closed)

Created:
3 years, 9 months ago by amaralp
Modified:
3 years, 9 months ago
CC:
android-webview-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Deduplicating code |WebContentsDelegateAndroid::ShowContextMenu()| Clank, webview, and content shell had duplicate code for showing the paste popup menu in |ShowContextMenu()|. This CL de-duped it. BUG=627234 Review-Url: https://codereview.chromium.org/2724533002 Cr-Commit-Position: refs/heads/master@{#453810} Committed: https://chromium.googlesource.com/chromium/src/+/06806262e39e0adb4ab6744df62c33c4abedf8c8

Patch Set 1 #

Patch Set 2 : forgot two lines #

Patch Set 3 : forgot namespace #

Total comments: 2

Patch Set 4 : used forward declaration #

Patch Set 5 : ContextMenuParams is a struct #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -37 lines) Patch
M android_webview/native/aw_web_contents_view_delegate.cc View 1 2 1 chunk +4 lines, -13 lines 0 comments Download
M chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.cc View 1 chunk +3 lines, -9 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 chunk +10 lines, -5 lines 0 comments Download
M content/public/browser/android/content_view_core.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/shell/browser/shell_web_contents_view_delegate_android.cc View 1 1 chunk +4 lines, -8 lines 0 comments Download

Messages

Total messages: 29 (22 generated)
amaralp
PTAL
3 years, 9 months ago (2017-02-28 03:43:25 UTC) #4
aelias_OOO_until_Jul13
lgtm
3 years, 9 months ago (2017-02-28 21:33:59 UTC) #15
amaralp
Adding boliu@ and tedchoc@ for OWNERS
3 years, 9 months ago (2017-02-28 21:40:31 UTC) #17
boliu
lgtm % comments https://codereview.chromium.org/2724533002/diff/40001/content/browser/android/content_view_core_impl.h File content/browser/android/content_view_core_impl.h (right): https://codereview.chromium.org/2724533002/diff/40001/content/browser/android/content_view_core_impl.h#newcode25 content/browser/android/content_view_core_impl.h:25: #include "content/public/common/context_menu_params.h" forward declare should be ...
3 years, 9 months ago (2017-02-28 22:10:48 UTC) #18
Ted C
lgtm
3 years, 9 months ago (2017-02-28 22:25:39 UTC) #19
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/2724533002/80001
3 years, 9 months ago (2017-03-01 02:13:03 UTC) #26
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 03:09:19 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/06806262e39e0adb4ab6744df62c...

Powered by Google App Engine
This is Rietveld 408576698