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

Issue 73173002: Add ContextMenu support upstream for Android (Closed)

Created:
7 years, 1 month ago by David Trainor- moved to gerrit
Modified:
7 years ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, pedrosimonetti+watch_chromium.org
Visibility:
Public.

Description

Add ContextMenu support upstream for Android Move and rework the ContextMenu files upstream so they are built and reside in TabBase. BUG=277135 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239076

Patch Set 1 #

Patch Set 2 : Fix bug in clipboard #

Total comments: 28

Patch Set 3 : Addressed comments, moved download #

Patch Set 4 : Added tests, addressed comments #

Total comments: 8

Patch Set 5 : Fixed test support package #

Patch Set 6 : Addressed comments, rebased #

Patch Set 7 : Exposed downloading to delegate #

Patch Set 8 : Rebased #

Patch Set 9 : Rebase attempt 2 #

Patch Set 10 : Fix findbugs #

Patch Set 11 : updated extract_actions.py #

Patch Set 12 : Fixed findbugs warnings #

Patch Set 13 : Update resource map #

Patch Set 14 : Fixed metrics service #

Patch Set 15 : Fixed template tests #

Patch Set 16 : Rebased #

Patch Set 17 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1498 lines, -122 lines) Patch
chrome/android/java/res/menu/chrome_context_menu.xml View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/EmptyTabObserver.java View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
chrome/android/java/src/org/chromium/chrome/browser/TabBase.java View 1 2 3 4 5 8 chunks +64 lines, -3 lines 0 comments Download
chrome/android/java/src/org/chromium/chrome/browser/TabObserver.java View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +124 lines, -0 lines 0 comments Download
chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java View 1 2 3 1 chunk +129 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java View 1 2 1 chunk +176 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuPopulator.java View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuPopulatorWrapper.java View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/contextmenu/EmptyChromeContextMenuItemDelegate.java View 1 2 3 4 5 6 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +215 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/test/ModalDialogTest.java View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -1 line 0 comments Download
M chrome/android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellTestBase.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download
D chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/TabShellTabUtils.java View 1 2 3 1 chunk +0 lines, -58 lines 0 comments Download
M chrome/android/testshell/testshell_tab.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/android/testshell/testshell_tab.cc View 1 2 3 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +6 lines, -1 line 0 comments Download
A chrome/browser/ui/android/context_menu_helper.h View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/context_menu_helper.cc View 1 2 1 chunk +114 lines, -0 lines 0 comments Download
M chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/ntp/android/context_menu_handler.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
A + chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabBaseTabUtils.java View 1 2 3 4 3 chunks +35 lines, -6 lines 0 comments Download
A chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java View 1 2 3 4 5 1 chunk +127 lines, -0 lines 0 comments Download
A chrome/test/data/android/contextmenu/context_menu_test.html View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/test/data/android/contextmenu/test_link.html View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M tools/metrics/actions/chromeactions.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -0 lines 0 comments Download
M tools/metrics/actions/extract_actions.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -0 lines 0 comments Download
M ui/android/java/resource_map/org/chromium/ui/R.java View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/base/Clipboard.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +45 lines, -9 lines 0 comments Download
M ui/android/java/strings/android_ui_strings.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
David Trainor- moved to gerrit
ptal
7 years, 1 month ago (2013-11-15 19:10:11 UTC) #1
Ted C
https://codereview.chromium.org/73173002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java File chrome/android/java/src/org/chromium/chrome/browser/TabBase.java (right): https://codereview.chromium.org/73173002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java#newcode824 chrome/android/java/src/org/chromium/chrome/browser/TabBase.java:824: there isn't any blank lines between the other native ...
7 years, 1 month ago (2013-11-19 02:44:00 UTC) #2
David Trainor- moved to gerrit
Addressed comments. Still need to add download tests/infrastructure but rest should be good to go. ...
7 years ago (2013-11-25 19:42:49 UTC) #3
Ted C
lgtm with a few final comments https://codereview.chromium.org/73173002/diff/210001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://codereview.chromium.org/73173002/diff/210001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode114 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:114: } else { ...
7 years ago (2013-11-26 01:50:08 UTC) #4
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/73173002/diff/210001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://chromiumcodereview.appspot.com/73173002/diff/210001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode114 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:114: } On 2013/11/26 01:50:09, Ted C wrote: > else ...
7 years ago (2013-11-26 23:51:07 UTC) #5
David Trainor- moved to gerrit
ptal: boliu@: Can you do an OWNERS review for ui/android/java/resource_map/org/chromium/ui/R.java? isherman@: Can you do an ...
7 years ago (2013-12-03 01:32:12 UTC) #6
Ilya Sherman
//tools/metrics/actions lgtm
7 years ago (2013-12-03 03:48:11 UTC) #7
boliu
On 2013/12/03 01:32:12, David Trainor wrote: > ptal: > > boliu@: Can you do an ...
7 years ago (2013-12-03 09:08:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/73173002/400001
7 years ago (2013-12-04 18:50:20 UTC) #9
commit-bot: I haz the power
Failed to apply patch for ui/android/java/src/org/chromium/ui/base/Clipboard.java: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-04 18:50:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/73173002/420001
7 years ago (2013-12-04 21:05:38 UTC) #11
commit-bot: I haz the power
Failed to apply patch for ui/android/java/src/org/chromium/ui/base/Clipboard.java: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-04 21:05:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/73173002/440001
7 years ago (2013-12-05 18:39:10 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=39709
7 years ago (2013-12-05 19:01:04 UTC) #14
David Trainor- moved to gerrit
owners resource_map ptal!
7 years ago (2013-12-05 19:06:45 UTC) #15
michaelbai
LGTM on behavior of Bo, I didn't check the patch, since Bo already LGTM
7 years ago (2013-12-05 19:32:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/73173002/440001
7 years ago (2013-12-05 19:41:17 UTC) #17
commit-bot: I haz the power
7 years ago (2013-12-06 00:02:39 UTC) #18
Message was sent while issue was closed.
Change committed as 239076

Powered by Google App Engine
This is Rietveld 408576698